Description Usage Arguments Value Author(s)
Estimate the highest "velocity" to stop a car for a given distance for different road (with different friction coefficient)
1 | safe_speed(v, mu, safe_distance, g = 9.8, d = 0)
|
v |
The starting speed for calculation. After each attempt, the velocity will increase 0.1 unit. (m/s) |
mu |
The friction coefficient, need to identify for different roads. |
safe_distance |
The goal of braking distance. (m) |
g |
The acceleration of gravity, a constant. (9.8 m/s) |
d |
The technical braking distance to be calculate in the loop, the initial default is 0. (m) |
The highest speed estimate until the target braking distance is reached. Numeric.
Ruoyu Wang
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.