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
your manager asks you to set up a secure network connection at a remote site to move over some backups which protocol would you
nlexa [21]

The protocol that should be used for establishing a secure network connection is SSH.  

The following information is to be considered:  

  • SFTP is secure also it is a protocol for file transferring that applied SSH.
  • IP, FTP, and DHCP should not be for safety purposes as they are not secure.
  • SSH is a secured connection for the remote sites so here the SSH protocol should be used.

Therefore we can conclude that The protocol that should be used for establishing a secure network connection is SSH.

4 0
2 years ago
I've this assignment due before 7 am. Please help, me.
Alenkasestr [34]

Answer:

An observation: Java does not support true multi-dimensional arrays; rather, it supports 1-dimensional arrays, where each element can itself be another 1-dimensional array. The difference is the way memory is allocated, where a[i][j] differs from a[i,j].

Explanation:

5 0
3 years ago
Giving out 15 points to whoever answers early!
Lemur [1.5K]

Answer:

No

It just let us see moving but actually they doesn't move

7 0
3 years ago
Read 2 more answers
Briefly describe the client/server model.
Lesechka [4]
<span>a distributed application structure that partitions tasks or workloads between the providers of a resource or service, called servers, and service requester, called clients</span>
6 0
3 years ago
Give reasons why you care for your sense organs​
Cerrena [4.2K]

HI!the resaon why should you care for you sense organs is that they help us to contact with our surroundings.

8 0
2 years ago
Read 2 more answers
Other questions:
  • Which is a good technique for effectively proofreading your presentation?
    7·1 answer
  • Programmers insert documentation called facts into the program code.? <br> a. True <br> b. False
    9·1 answer
  • Explain each kind of pointer and for what it is appropriate.
    8·2 answers
  • This type of software works with end users, application software, and computer hardware to handle the majority of technical deta
    12·1 answer
  • For the function definition int SomeFunc( /* in */ int alpha, /* in */ int beta ) { int gamma; alpha = alpha + beta; gamma = 2 *
    6·2 answers
  • Who plays Rblx?? What do yall play?
    9·2 answers
  • A network administrator needs 10 prevent users from accessing the accounting department records. All users are connected to the
    10·2 answers
  • Which statement about broadcasting a slideshow online is true?
    14·2 answers
  • Please help me answering this question
    14·1 answer
  • Question 1
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!