Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Problem: Given the final velocity for two cars, calculate the time it takes for each car to finish the race, the average of their constant

Problem: Given the final velocity for two cars, calculate the time it takes for each car to finish the race, the average of their constant accelerations, and the time difference between the two cars ( Car1- Car 2).
All variables must be of the float data type.
The race distance should be define as a constant of a value 500ft.
The output of your program needs to match EXACTLY with the provided example exceutions.
Example Execution #1:
Enter Inal velocity for car 176
Enter final velocity for car281
Ine for Car 1 to finish the race: 13.16 seconds
Time for Car2to finish the race: 12.35 seconds
Average acceleration: ,6.17fts22
Time difference (Car1-Car2):,0.81 seconds
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Spomenik Monument Database

Authors: Donald Niebyl, FUEL, Damon Murray, Stephen Sorrell

1st Edition

0995745536, 978-0995745537

More Books

Students also viewed these Databases questions