Assignment 6: Building Height
Description
As part of their job, a surveyor may be asked to determine the height of a building. The surveyor can not realistically take a tape measure to find the height. Using the ground distance and the angle to the top of the building, the surveyor can determine the height of the building. Hint: Think tangent.
Task
Create a program that accepts the distance to the building and the angle to the top of the building. Display the height of the building.
Side Note: Trigonometric functions such as Math.Tan(...) accept angles in radians not degrees but the user will most likely provide a degree. You the programmer must convert the degree to radian before using Math.Tan(...).
Post a screen capture of your program being executed.
Post a screen capture of the code.
Question
Is there another way the surveyor could determine the height of the building?
Get creative but keep your answer realistic.
You can count the bricks