A farmer wishes to enclose the maximum possible area with 100 meters of fence. The pasture is bordered by a straight cliff, which may be used as part of the fence. What is the maximum area that can be enclosed?
(In reply to
re: Where did my math go wrong? by Charlie)
Thanks, Charlie. My calculator uses degrees for the sine function (due to the current settings) I just expected Basic to behave the same way.
After modifying the program appropriately I get 180° returning a maximum area of 1591.5494... (5000/Pi), same as the rest of you.
I also updated my previous post to reflect the changes you asked for and the correct entry for the sine function.

Posted by Erik O.
on 20040618 13:28:54 