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, 21.06.2019 17:20
The liang book has an example called which is a javafx application that reads the javabook database using a preparedstatement object. using it as a guide, create a similar application called findbooks. it will read a list of authors from the bookdb created in problem 1 and display them in a listview. if the user selects an author, it should display the author's book titles in a textarea.
Answers: 2
question
Computers and Technology, 22.06.2019 07:00
Our primary purpouse as electricians is to do wich of the following core concepts? a: install electrical components in a way they can be upgraded b: install electrical equiptment in a way that reduces heat c: install electrical systems in a safe manner d: only b and c
Answers: 1
question
Computers and Technology, 22.06.2019 21:00
Describir textbook icon_person mira los dibujos y describe lo que está pasando. usa los verbos de la lista.
Answers: 1
question
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
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
History, 19.12.2019 21:31
question
Computers and Technology, 19.12.2019 21:31
Questions on the website: 13722363