Annie W.

asked • 11/01/20

python geometry help

Simple geometry can compute the height of an object from the object's shadow length and shadow angle using the formula: tan(angleElevation) = treeHeight / shadowLength. Given the shadow length and angle of elevation, compute the tree height. 


Sample output with inputs: 0.4 17.5

Tree height: 7.398881327917831


Patrick B.

Source code and screen shot of CORRECT output have been uploaded to RESROUCES section under this link. You must rename the source code text file to python file with *.py extension
Report

11/03/20

1 Expert Answer

By:

Patrick B. answered • 11/03/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.