Problem 121. surface of a spherical planet
Solution Stats
Problem Comments
-
1 Comment
I think the problem should be called 'surface AREA' of a spherical planet.
Solution Comments
-
1 Comment
:P
-
3 Comments
I need to remember that using 0.31830988618379067154 is less expensive (size 14) than using 1/pi (size 15) ;)
Yeah. But this is useful only within Cody. For real work it would be crazy to program it this way.
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 Solvers876
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
4535 Solvers
-
1346 Solvers
-
How to find the position of an element in a vector without using the find function
2563 Solvers
-
Back to basics 6 - Column Vector
976 Solvers
-
Create a vector whose elements depend on the previous element
487 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!