Ask Question
1 October, 01:33

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.

+4
Answers (1)
  1. 1 October, 03:32
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers