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
Inessa [10]
3 years ago
13

Simple geometry can compute the height of an object from the object's shadow length and shadow angle using the formula: tan(angl

eElevation) = treeHeight / shadowLength. 1. Using simple algebra, rearrange that equation to solve for treeHeight. (Note: Don't forget tangent). 2. Complete the below code to compute treeHeight. For tangent, use the tan() function, described in the "math functions" link above.
Computers and Technology
1 answer:
KatRina [158]3 years ago
6 0

Answer:

1. Modified formulae for calculating tree height.

treeHeight = tan(angleElevation)\times shadowLength.

2. C++ program to calculate tree height.

#include<iostream>

#include<math.h>

using namespace std;

int

main ()

{

 double treeHeight, shadowLenghth, angleElevation;

 cout << "Please enter angle of elevation and shadow length" << endl;

 cin >> angleElevation;

 cin >> shadowLenghth;

 

 //Modified formulae to calculate tree height.

 treeHeight = tan (angleElevation) * shadowLenghth;

 cout << "Height of tree is:" << treeHeight;

}

Output:

Please enter angle of elevation and shadow length

45

12

Height of tree is:19.4373

Explanation:

Since no programming language is mentioned, so solution is provided using C++.

In the above C++ program, first angle of elevation and length of shadow provided by user will be stored in variables angleElevation and shadowLength.

Then using  the modified formalue height of tree will be  calculated and stored in variable treeHeight. Final result is displayed to user.

You might be interested in
Select the correct answer from each drop-down menu.
evablogger [386]
Update and measure those are the only understand answers
6 0
3 years ago
Read 2 more answers
What should you commit to your family members?
olganol [36]

Answer:

Find some time to do an activity that everyone in the family will love. Maybe share a movie night, trip to the park, or play your favorite game. Don't forget that old saying, “the family that plays together, stays together.” Doing fun things as a family can help to keep everyone's spirits up and strengthen ties.

Explanation:

HOPE IT'S HELP

PLEASE MARK AS BRAINLEST ANSWER

7 0
3 years ago
What kind of advertising is used in Saunders's story when a man and his grandson walk down the street? O A. An individualized au
omeli [17]

Answer: An individualized audio device.

Explanation:

Advertising simply refers to an attempt which is made by an individual or company in order to influence the buying behavior of the customer by convincing them to buy a product.

The kind of advertising that is used in Saunders's story when a man and his grandson walk down the street is an individualized audio device. Therefore, the correct option is A.

8 0
3 years ago
Which does a traditional camera need in order to capture images?
pashok25 [27]

Answer:

I think secure digital is needed

3 0
3 years ago
Which Application program saves data automatically as it is entered?
Andrei [34K]
The application program that saves data automatically as it is entered is the MS Access.
4 0
2 years ago
Other questions:
  • What does Adsl stand for?
    7·2 answers
  • Sam and Ella are arguing in the cafeteria. Sam says that if he throws a chicken tender with a greater speed, it will have a grea
    7·2 answers
  • Microsoft word's spell checker?
    10·1 answer
  • Which one of the following statements is true regarding the fetch-execute cycle? Each step of the fetch-execute cycle is perform
    15·1 answer
  • What is Human Dignity
    12·1 answer
  • Why bootable installer preparation is important? explain
    9·1 answer
  • Ania has written this SimpleStopwatch class. In which line is she measuring the elapsed time?
    13·1 answer
  • What is a good range for CPU usage to be considered running well?
    15·1 answer
  • You can resize a row in a table by dragging the ____.
    13·1 answer
  • I need help with humans need not apply for codeing
    15·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!