Question

When an object is falling because of gravity, the following formula can be used to determine...

When an object is falling because of gravity, the following formula can be used to determine the distance the object falls in a specific time period: d = ½ gt2 The variables in the formula are as follows: d is the distance in meters, g is 9.8 m/s^2 , and t is the amount of time, in seconds, that the object has been falling. Write a program named falling Distance that accepts an object’s falling time (in seconds starting from 0, 1, 3, …, 10) as an argument using c++ programming

Homework Answers

Answer #1

Explanation:

Here is the code which takes the object's falling time as the user input.

Then, it finds the distance travelled while falling using (1/2) * g * t * t

Code:


#include <iostream>

using namespace std;

int main()
{   
float t;
cout<<"Enter object's falling time: ";
cin>>t;
  
float d = (9.8*t*t)/2.0;
  
cout<<"Distance travelled: "<<d;
  
return 0;
}

Output:

PLEASE UPVOTE IF YOU FOUND THIS HELPFUL!

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
8 through 10 done please!! 3.13.6 Question 110 pts A 319 kg motorcycle is parked in...
8 through 10 done please!! 3.13.6 Question 110 pts A 319 kg motorcycle is parked in a parking garage. If the car has 35,494 J of potential energy, how many meters above ground is the car? Report your answer to 1 decimal place. Please do not include units or the answer will be marked incorrect. Flag this Question Question 210 pts A box sitting on the top of a hill has 252 J of potential energy. If the hill is...
just do questions 5 through 10 3.13.6 Question 110 pts A 319 kg motorcycle is parked...
just do questions 5 through 10 3.13.6 Question 110 pts A 319 kg motorcycle is parked in a parking garage. If the car has 35,494 J of potential energy, how many meters above ground is the car? Report your answer to 1 decimal place. Please do not include units or the answer will be marked incorrect. Flag this Question Question 210 pts A box sitting on the top of a hill has 252 J of potential energy. If the hill...
answer all questions 3.13.6 Question 110 pts A 319 kg motorcycle is parked in a parking...
answer all questions 3.13.6 Question 110 pts A 319 kg motorcycle is parked in a parking garage. If the car has 35,494 J of potential energy, how many meters above ground is the car? Report your answer to 1 decimal place. Please do not include units or the answer will be marked incorrect. Flag this Question Question 210 pts A box sitting on the top of a hill has 252 J of potential energy. If the hill is 279 meters...
do all five questions Question 1 20 pts Ignoring the effects of air resistance, if a...
do all five questions Question 1 20 pts Ignoring the effects of air resistance, if a ball falls freely toward the ground, its total mechanical energy Group of answer choices increases remains the same not enough information decreases Flag this Question Question 2 20 pts A child jumps off a wall from an initial height of 16.4 m and lands on a trampoline. Before the child springs back up into the air the trampoline compresses 1.8 meters. The spring constant...
I did already posted this question before, I did get the answer but i am not...
I did already posted this question before, I did get the answer but i am not satisfied with the answer i did the code as a solution not the description as my solution, so i am reposting this question again. Please send me the code as my solution not the description In this project, build a simple Unix shell. The shell is the heart of the command-line interface, and thus is central to the Unix/C programming environment. Mastering use of...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT