Dynamics·kinematics-particle-motion
Kinematics Particle Motion
Determine the deceleration and position of a particle given its velocity function and time, and calculate the total distance traveled and average speed over that time interval.
Math animationDynamics · kinematics-particle-motion
✓ 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.
| # | Inputs | Expected | Got | Status |
|---|---|---|---|---|
| 1 | {"velocity_function":"6t - 3t^2","time":3} | 8 | 7.999999999992014 | ✓ |
| 2 | {"velocity_function":"6t - 3t^2","time":2} | 4 | 3.999999999999994 | ✓ |
APIDeveloper APICall this calculator from codeexpand ↓
Endpoint
POST
/api/calculators/dynamics/kinematics-particle-motion/computeInputs (2)
velocity_functionexpressiondefault"6t - 3t^2"timenumberdefault3
Example
curl -sX POST http://localhost:3001/api/calculators/dynamics/kinematics-particle-motion/compute \
-H "Content-Type: application/json" \
-d '{"inputs":{"velocity_function":"6t - 3t^2","time":3}}'Try it live
Edit the body below, then click Call API.Request body
Response
(click Call API to see the response)Source: Pattern from: Russell C. Hibbeler - Engineering Mechanics_ Dynamics (14th Edition) Instructor's Solutions Manual-Prentice Hall (2015).pdf. Reproduces a standard kinematics-particle-motion computation; problem text paraphrased.
AI disclosure: Calculator code generated by openai/gpt-4o-mini-2024-07-18; verified by 2 test cases.