d1 is the distance a vehicle will go from the point when it brakes to when it comes to a complete stop. It depends on the original speed
v and on the coefficient of friction
mu between the tires and the road surface.
Braking distance is just one of two principal components of the total stopping distance. The other component is the reaction distance, which is the product of the speed and the perception-reaction time of the driver. We can just assume that the reaction time is constant and equal to 1 second.
The kinetic energy
E can be found using the formula
0.5*m*v**2, the work
W given by braking is
W gives the braking distance:
d1 = v*v / 2*mu*g where
g is the gravity of Earth and
m the vehicle's mass.
So, to complete this challenge, there are two tasks you need to complete.
Calculate the total stopping distance in meters given
mu(and the reaction time
t = 1).
dist(v, mu) -> d= total stopping distance
kmper hour knowing
din meters and
mu. The reaction time is still
t = 1.
speed(d, mu) -> v such that dist(v, mu) = d
dist(100, 0.7) -> 83.9598760937531
speed(83.9598760937531, 0.7) -> 100.0
Want to propose a challenge idea for a future post? Email firstname.lastname@example.org with your suggestions!