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
shepuryov [24]
3 years ago
14

Write a statement that assigns treeHeight with the height of a tree given the distance from the tree (in feet) and angle of elev

ation (in degrees).
Use the following formula: tangent of angleElevation treeHeight/ treeDistance treeHeight
Computers and Technology
1 answer:
Nina [5.8K]3 years ago
6 0

Answer:

treeHeight = tangent of angleElevation * treeDistance

In java, we could write it as:

double treeHeight = (Math.tan(angleElevation) * treeDistance);

Math.tan(angleElevation) is an inbuilt java mathematical function used to calculate the tangent of a value and the return value is always double.

Explanation:

formula:

tangent of angleElevation = treeHeight/treeDistance

We want to assign treeHeight, so we cross-multiply and we get:

treeHeight = tangent of angleElevation * treeDistance

Off course, the treeHeight will be in feet also.

You might be interested in
Is Apple a consumer or luxury brand? Give examples.
Alexus [3.1K]

Answer:

Apple is a luxury brand due to it stable products, expensive products, and its releasing phones costing $1,000 or more and moving its services to the higher end

Explanation:

6 0
3 years ago
Imagine you were going to use a dedicated workstation for an animation job rather than a personal PC or the all-purpose PCs you
xeze [42]

Answer:

Explanation:

The three most notable differences that any user will notice between these two would be the following

  1. High-Resolution Display
  2. Specific Hardware (graphics tablet, camera, etc)
  3. Increased Speed

An individual that is working in a career in Animation needs a workstation that is capable of rendering animations which take lots of processing power. Therefore, the workstation would have to be high-end meaning that it will be much faster than a normal personal PC. Animation and Digital Design require a very High-Resolution display and specific hardware to allow you to bring your creations to life and make sure they look as beautiful as possible. All of this is not found in a normal personal PC either.

7 0
3 years ago
The Scientific Method is a/an
ser-zykov [4K]

Answer:

It's a method used in science to ask questions, research, observe, hypothesize, experiment, analyze data, and make conclusions.

Explanation:

5 0
3 years ago
Read 2 more answers
If your network consists of all connected devices connecting to one central device, such as a switch, what type of topology is b
3241004551 [841]

Answer:

The correct answer to the given question is " Star Topology ".

Explanation

In the star topology, all the devices are connected to one central device in the network. It means every individual device is connected individually with the central device in the network.

The main drawback of star topology is that if the central device fails then all the device which are connected with them is also failed. The second drawback of star topology is to connect with the central device it requires more cabling.

8 0
3 years ago
PLS HELP IM SO DESPERATE!! 40 points
Hunter-Best [27]
You would reboot the computer install a VPN and a virus detector
8 0
3 years ago
Other questions:
  • The highly advanced decision support feature integrated within an electronic information system would support which activity?
    9·1 answer
  • What does CPC stand for?
    6·2 answers
  • Consider a multiprocessor CPU scheduling policy. There are 2 options: 1) a singlecommon ready queue of jobs; when a CPU becomes
    8·1 answer
  • A viral video is one that can infect your computer with malware. <br> a. True <br> b. False
    6·1 answer
  • I want to know all part of computer system?
    9·2 answers
  • Write a class called Counter that represents a simple tally counter, which might be used to count people as they enter a room. T
    9·1 answer
  • What is the post condition of an expression or variable
    11·1 answer
  • Why did Simon bring Michael home?​
    9·2 answers
  • In what way , if any, can your social media presence affect your chances of getting a job in social media?
    8·1 answer
  • Hello,
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!