225k views
3 votes
Assuming there are no accidents or delays, the distance that a car travels down the interstate

can be calculated with the following formula:
Distance = Speed x Time
A car is traveling at 70 miles per hour. Write a program that displays the following: ∙ The distance the car will travel in 6 hours
∙ The distance the car will travel in 10 hours
∙ The distance the car will travel in 15 hours

1 Answer

5 votes

Step-by-step explanation:

The distance that a car travels down the interstate can be calculated with the following formula:

Distance = Speed x Time

(A) Speed of the car, v = 70 miles per hour = 31.29 m/s

Time, d = 6 hours = 21600 s

Distance = Speed x Time

D = 31.29 m/s × 21600 s

D = 675864 meters

or


D=6.75* 10^5\ m

(b) Time, d = 10 hours = 36000 s

Distance = Speed x Time

D = 31.29 m/s × 36000 s

D = 1126440 meters

or


D=1.12* 10^6\ m

(c) Time, d = 15 hours = 54000 s

Distance = Speed x Time

D = 31.29 m/s × 54000 s

D = 1689660 meters

or


D=1.68* 10^6\ m

Hence, this is the required solution.

User Arry
by
3.4k points