Out of the Shade

Adapted from http://cemc.uwaterloo.ca/resources/potw/2014-15/POTWD-14-MT-NA-02-P.pdf,  used with permission.

Using the information in the graphic below, write a program that outputs the area to the nearest 100th cm2. Don't worry about the answer that involves pi.

Note: see http://stackoverflow.com/questions/3221654/specifying-number-of-decimal-places-in-python for information about printing to two decimal places.

https://lh5.googleusercontent.com/-Q2EBs4A8Jd0/VCR4aGKYfCI/AAAAAAABAUs/jxGemUxcF64/s1600/2014-09-25%25252016_17_24-%25255B9-10%25255D%252520Problem%252520D%252520Out%252520of%252520the%252520Shade%252520September%25252025%2525202014%252520-%252520pbeens%252540gmail.com%252520-%252520Gmail.png
(Click to enlarge)

Comments