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
-
1355 Solvers
-
466 Solvers
-
Make a random, non-repeating vector.
6702 Solvers
-
07 - Common functions and indexing 2
383 Solvers
-
4521 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!