• We need your support!

    We are currently struggling to cover the operational costs of Xtremepapers, as a result we might have to shut this website down. Please donate if we have helped you and help make a difference in other students' lives!
    Click here to Donate Now (View Announcement)

Help Needed

Messages
38
Reaction score
1
Points
16
Question
Speed cameras read the time a vehicle passes a point (A) on the road and
then reads the time it passes a second point (B) on the same road (points A
and B are 100 metres apart). The speed of the vehicle is calculated using:
100
speed = (metres/sec)
(time at point B – time at point A)
The maximum allowed speed is 100 kilometres per hour. 500 vehicles were
monitored using these cameras over a 1 hour period.
Write an algorithm, using a flowchart, which:
• inputs the start time and end time for the 500 vehicles that were
monitored
• calculate the speed for each vehicle using the formula above
• outputs the speed for each vehicle and also a message if the speed
exceeded 100 km/hour
• output the highest speed of all the 500 vehicles monitored

The answer but why speed = speed * 3.6 ?????
 
Messages
62
Reaction score
3
Points
16
the speed that u find is in m/s
to convert m/s in km/h u need to do this (60*60)/100 = 3.6
got it?
 
Top