BL2.ru

Point dynamics: integrating the equation of motion, a body on an incline with resistance

A particle of mass m moves along the x axis under a constant force (weight, friction, an applied force), drag and, possibly, a periodic force H·sin(pt). The calculator writes the differential equation, solves it in closed form where possible, checks the solution with the Runge–Kutta method and plots x(t) and v(t).

The x axis points along the motion, down the incline. The angle α = 0 is a horizontal plane, 90 is vertical fall. The force F is a constant force along the x axis (positive along the motion). Sliding friction is μN for forward motion. The point is assumed not to turn back: when it stops the calculation ends and says so.
Calculate

The main problem of point dynamics

Problems of this kind give the forces acting on a particle and ask for the law of motion. Newton second law along the x axis gives the differential equation m·ẍ = ΣFₓ. The forces may depend on time, position and speed, so the equation is integrated and the constants are found from the initial conditions x(0), v(0).

A body on an inclined plane

The x axis points along the motion, down the plane. The weight gives the component mg·sin α, the normal reaction is mg·cos α and the sliding friction is μmg·cos α against the motion. The constant forces are collected into A = F + mg·sin α − μmg·cos α.

Drag

With linear drag R = kv the equation m·v̇ = A − kv gives v(t) = v∞ + (v₀ − v∞)·e^(−kt/m), the terminal speed is v∞ = A/k. For quadratic drag R = cv² the solution uses hyperbolic functions, v∞ = √(A/c). A periodic force H·sin(pt) adds a forced oscillation of the speed.

How to check the solution

Substitute v(t) into the original equation, check the initial conditions and the limit. The calculator also integrates the equation with the Runge–Kutta method and shows the difference, and for a given path L it finds the time and speed at the end of the path.

Using the calculator

The example: a 2 kg body on a 30° plane with friction μ = 0.1, initial speed 1 m/s, linear drag 0.4 N·s/m, the instant t₁ = 5 s and the path 20 m. Press Example and look at the speed graph approaching the terminal speed.

FAQ

How do I write the differential equation of motion?
Draw all the forces on the point, choose the x axis along the motion and write m·ẍ = the sum of the projections. Constant forces give A, drag gives −k·ẋ or −c·ẋ², a periodic force gives H·sin(pt).
What is the terminal speed?
The speed at which the drag balances the constant force and the acceleration is zero: A = k·v∞ for linear drag and A = c·v∞² for quadratic drag.
Why does the calculation stop?
If the net force opposes the motion the speed falls to zero. The calculator assumes the point does not turn back and stops the calculation, showing the stopping time and the path covered.
How do I find the speed at the end of a given path?
Enter the path L. The calculator solves x(t) = L, finds the time and substitutes it in v(t). If the point stops earlier or never reaches L it says so.
Can the problem be solved without a closed formula?
Yes. For quadratic drag together with a periodic force there is no exact solution and the calculator applies the fourth-order Runge–Kutta method. The graph and values come from the numerical solution.