Ask Question
16 October, 13:11

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. 1. Using simple algebra, rearrange that equation to solve for treeHeight. 2. Write a statement to assign treeHeight with the height calculated from an expression using angleElevation and shadowLength.

+3
Answers (1)
  1. 16 October, 16:11
    0
    1) treeHeight = tan (angleElevation) * shadowLength;

    2)

    #include

    int main () {

    float treeHeight;

    float shadowLength = 3.5;

    float angleElevation = pi/6;

    treeHeight = tan (angleElevation) * shadowLength;

    return 0;

    }

    Explanation:

    Initially, we have that:

    tan (angleElevation) = treeHeight/shadowLength.

    1)

    To isolate treeHeight, we have that shadowLength is being divided on the right side of the equality, so we pass it multiplying to the right side of the equality.

    So

    tan (angleElevation) * shadowLength = treeHeight

    treeHeight = tan (angleElevation) * shadowLength;

    2. Write a statement to assign treeHeight with the height calculated from an expression using angleElevation and shadowLength.

    I am going to write a c code for this:

    #include

    int main () {

    float treeHeight;

    float shadowLength = 3.5;

    float angleElevation = pi/6;

    treeHeight = tan (angleElevation) * shadowLength;

    return 0;

    }
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Simple geometry can compute the height of an object from the object's shadow length and shadow angle using the formula: tan ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers