Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

How are training and development similar? How are they different?

Answered: 1 week ago

Question

Which team solution is more likely to be pursued and why?

Answered: 1 week ago

Question

Did the team members feel that their work mattered

Answered: 1 week ago