Question: i need to answer this code in python. this needs to work with other numbers too CHALLENGE ACTIVITY 3.9.2: Tree height Simple geometry can compute

i need to answer this code in python. this needs to work with other numbers too i need to answer this code in python. this needs to work

CHALLENGE ACTIVITY 3.9.2: Tree height 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 import math 3 tree_height = 0.0 lalia 5 ongle_elev - float(input) 6 shadow.len - float(input) 8 print('Tree height:', tree_height) Run X Testing with inputs: 0.417.5

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!