Mrs. Ruiz-Houston

 

Home
Up
AP_Phy
H_Phy
Regular_Physics

 

Broward Schools

UPDATED Calendar - Graphic

UPDATED Calendar - Text

 

Computer Competition

Level 2

Question #2.1

2.0        When investigating a traffic accident, police officers often need to estimate how fast a car was traveling by measuring the length of the skid marks.  The formula can be used to estimate the speed on a dry, concrete road.  In the formula, s is the speed in miles per hour, and d is the distance in feet the car skidded after its brakes were applied. 

 

            Prompt the user for the length of the skid mark.  The output should indicate the approximate speed of a car that left skid marks, rounded to the nearest whole number.  (Input values will be 1 foot or greater.

 

           Format:

                        Length of the skid marks (in feet) = ?

                        Approximate Speed (in miles per hour) = ?

 

           Example:

                        Length of the skid marks (in feet) =111

                        Approximate Speed (in miles per hour) = 52

 

 

RUN / OUTPUT:

            Length of the skid marks (in feet) =40

            Approximate Speed (in miles per hour) = 31

 

 

            Length of the skid marks (in feet) =10

            Approximate Speed (in miles per hour) = 15

 

 

            Length of the skid marks (in feet) =157

            Approximate Speed (in miles per hour) =61

 

 

RE-TRY:

            Length of the skid marks (in feet) =157

            Approximate Speed (in miles per hour) = 61

 

 

            Length of the skid marks (in feet) =75.7

            Approximate Speed (in miles per hour) = 43

 

 

            Length of the skid marks (in feet) =1

            Approximate Speed (in miles per hour) =5

 

 

Home