1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
dimaraw [331]
3 years ago
8

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;}
Computers and Technology
1 answer:
agasfer [191]3 years ago
7 0

Answer:

The program to this question can be given as:

Program:

#include <stdio.h>  //include header files

#include<math.h>

int main()    //main method  

{        

   double treeHeight = 0.0;         //declare variables

and assign value

   double shadowLength = 0.0;  

   double angleElevation =  0.11693706;

   // (0.11693706 radians = 6.7 degrees) convert number into angle.      

   shadowLength = 17.5;  

treeHeight = shadowLength * tan(angleElevation);   //convert number into angle

   printf("Tree height: %lf\n", treeHeight);   //print value.

   return 0;  

}

Output:

Tree height: 2.055778

Explanation:

In the above C language program firstly we include the headers. In this header file, we include a (math.h) header file this file helps to use the math function. Then we declare the main method in the main method we declare the variable that is given in the question that are treeHeight, shadowLength , angleElevation. All the variable datatype is double because it stores the floating-point value. Then we apply the formula that is  treeHeight = shadowLength * tan(angleElevation). In this formula, the treeHeight variable holds the value. Then we print the variable value for print the double value we use the lf(that is long float).

You might be interested in
What is the definition of physical fitness?
Bond [772]
The answer is A:the body’s ability to be efficient during movement.
5 0
4 years ago
Read 2 more answers
Select a correct statement regarding a hashing process.
kogti [31]

Answer:

a) It is used for authentication.

Explanation:

Hashing is a process of transforming a single key into another value. It generates the values using a mathematical algorithm. the outcome of this process is a hash value or a hash.

The hashing process is used for authentication.

The hashing process is not reversible.

The hashing process is used to create the digital signature.

The outcome of the hashing process is the hash value, not a message.

4 0
3 years ago
Difference between desktop, web and mobile apps
Lyrx [107]

there are many differences, but the most prominent are that they have different apis (aplication programing interface) and different architecture

also mobile apps tend to use less system resources and are more regulated by services like the google play store, opposed to the fairly unregulated uwp platform used by most windows machines.  


4 0
3 years ago
A DNS Server can function in several roles. Which role does the DNS server have authority over its domian and maintain the domia
drek231 [11]

Answer:

The DNS server has authority over the routing of the domain

Explanation:

3 0
3 years ago
Which is missing in most areas that do not have Karst topography?
ikadub [295]
A) Limestone is the correct answer

5 0
4 years ago
Read 2 more answers
Other questions:
  • What does "Forward" in emails do?​
    7·1 answer
  • What are the reasons why is it necessary to evaluate online sources and content?
    6·1 answer
  • In order to use an object in a program, its class must be defined.
    9·1 answer
  • The size of the board is one of the differences between Elevens and Thirteens. Why is size not an abstract method?
    13·1 answer
  • What is the job title of someone who works with video and/or film?
    9·1 answer
  • Which of the following are valid calls to Math.max? 1. Math.max(1,4) 2. Math.max(2.3, 5) 3. Math.max(1, 3, 5, 7) 4. Math.max(-1.
    9·1 answer
  • An organization's Finance Director is convinced special malware is responsible for targeting and infecting the finance departmen
    13·1 answer
  • 1) "Information systems are revolutionizing the way businesses function in the 21st century," Do you agree or disagree with this
    5·1 answer
  • What are the specifications of mine shaft head gear​
    11·2 answers
  • Helppppppppppppppp me please Can i have help for a ggogle class room
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!