ResearchForge / Calculators
Dynamics·stopping-distance

Stopping Distance

Determine the stopping distance for a driver based on their reaction time and deceleration rate when approaching a stop.

Math animationDynamics · stopping-distance
✓ All 2 test cases pass.

Inputs

Test cases

These cases run live in your browser every time the page loads. If any fail, the calculator is broken — file an issue.

#InputsExpectedGotStatus
1{"reaction_time":0.75,"deceleration":2,"initial_speed":44}517517
2{"reaction_time":1,"deceleration":3,"initial_speed":60}660660
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST/api/calculators/dynamics/stopping-distance/compute
Inputs (3)
  • reaction_timenumberdefault 0.75
  • decelerationnumberdefault 2
  • initial_speednumberdefault 44
Example
curl -sX POST http://localhost:3001/api/calculators/dynamics/stopping-distance/compute \
  -H "Content-Type: application/json" \
  -d '{"inputs":{"reaction_time":0.75,"deceleration":2,"initial_speed":44}}'
Try it live
Edit the body below, then click Call API.
Request body
Response
(click Call API to see the response)
full API docs →

Source: Pattern from: Russell C. Hibbeler - Engineering Mechanics_ Dynamics (14th Edition) Instructor's Solutions Manual-Prentice Hall (2015).pdf. Reproduces a standard stopping-distance computation; problem text paraphrased.

AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.