subject

Simple geometry can compute the height of an object from the 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 program:

#include
#include

int main(void) {
double treeheight = 0.0;
double shadowlength = 0.0;
double angleelevation = 0.0;

angleelevation = 0.11693706; // 0.11693706 radians = 6.7 degrees
shadowlength = 17.5;

printf("tree height: %lf\n", treeheight);

return 0;
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:00
Atool that matches persoal skills qualities interests and talets to a career is called a
Answers: 1
question
Computers and Technology, 23.06.2019 03:00
State 7 common key's for every keyboard
Answers: 1
question
Computers and Technology, 23.06.2019 05:20
What did creator markus β€œnotch" persson initially call his game
Answers: 1
question
Computers and Technology, 23.06.2019 07:00
Why is investing in a mutual fund less risky than investing in a particular company's stock? a. mutual funds only invest in blue-chip stocks. b. investments in mutual funds are more liquid. c. mutual funds hold a diversified portfolio of stocks. d. investments in mutual funds offer a higher rate of return.
Answers: 2
You know the right answer?
Simple geometry can compute the height of an object from the the object's shadow length and shadow a...
Questions