I think the problem should be called 'surface AREA' of a spherical planet.
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...
Longest Divisor Run
Program an exclusive OR operation with logical operators
Set the array elements whose value is 13 to 0
03 - Matrix Variables 4
Square the input
Create One Large Eye of size N x N Quickly?
A Simple Tide Gauge with MATLAB
Predicting life and death of a memory-less light bulb
Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
swap sign sum & multiply castles
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office