Ask Question

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.

+1
Answers (1)
  1. 26 May, 12:49
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers