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, 24.06.2019 15:50
Andy would like to create a bulleted list. how should he do this? andy should click on the bullet icon or select the bullet option from the menu and then type the list. andy should press the shift key and the 8 key at the beginning of each line of text. andy should type the text and then click on the bullet command. andy should press return and the bullets will automatically
Answers: 2
question
Computers and Technology, 24.06.2019 18:00
Explain the circumstances for which the interquartile range is the preferred measure of dispersion. what is an advantage that the standard deviation has over the interquartile range? choose the correct answer below. a. the interquartile range is preferred when the distribution is symmetric. an advantage of the standard deviation is that it increases as the dispersion of the data increases. b. the interquartile range is preferred when the data are not skewed or no have outliers. an advantage of the standard deviation is that it uses all the observations in its computation. c. the interquartile range is preferred when the distribution is symmetric. an advantage of the standard deviation is that it is resistant to extreme values. d. the interquartile range is preferred when the data are bell shaped. an advantage of the standard deviation is that it is resistant to extreme values. e. the interquartile range is preferred when the data are skewed or have outliers. an advantage of the standard deviation is that it uses all the observations in its computation. f. the interquartile range is preferred when the data are bell shaped. an advantage of the standard deviation is that it increases as the dispersion of the data increases.
Answers: 2
question
Computers and Technology, 25.06.2019 05:10
What is the disadvantage of a mesh topology?
Answers: 1
question
Computers and Technology, 25.06.2019 08:20
Which of the following statements is true of offshore outsourcing? a. improved telecommunication systems have increased its attractiveness.b. the limited availability of the internet has reduced its effectiveness.c. reduced bandwidth has increased its efficiency to perform with low latency.d. the increased cost of communication has reduced its popularity.
Answers: 1
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
question
Mathematics, 24.02.2020 22:36
question
Mathematics, 24.02.2020 22:36
Questions on the website: 13722361