Problem 121. surface of a spherical planet
Solution Stats
Problem Comments
-
1 Comment
William Smith
on 25 Sep 2012
I think the problem should be called 'surface AREA' of a spherical planet.
Solution Comments
-
1 Comment
Sam
on 23 May 2012
:P
-
3 Comments
Aurelien Queffurust
on 13 Feb 2012
I need to remember that using 0.31830988618379067154 is less expensive (size 14) than using 1/pi (size 15) ;)
Yvan Lengwiler
on 1 Mar 2012
Yeah. But this is useful only within Cody. For real work it would be crazy to program it this way.
William Smith
on 25 Sep 2012
Only if you are writing for a low solution size. There's on penalty for writing for clarity, and it's preferred in the real world...
Problem Recent Solvers917
Suggested Problems
-
1795 Solvers
-
Determine Whether an array is empty
731 Solvers
-
596 Solvers
-
572 Solvers
-
Test Problem; Create a 5x5 array containing all ones
359 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!