iLabs Forces

Forces / Mechanics playground

Mechanics

Mechanics playground

Projectile motion, free fall, simple harmonic motion (pendulum, springs, circular motion), and collisions in one sandbox. Drag the sliders, hit play, and watch the live position and velocity graphs update as the simulation runs.

t = 0.00 s

Position · s–t

Velocity · v–t

The physics behind it
Formulas used in this lab

Projectile motion Class 11

Launch components
ux = u cosθ,  uy = u sinθ
Velocity at time t
vx = u cosθ,  vy = u sinθ − gt
Position at time t
x = (u cosθ)t,  y = h + (u sinθ)t − ½gt²
Time of flight (from the ground)
T = 2u sinθ / g
Maximum height
H = u² sin²θ / 2g
Range
R = u² sin 2θ / g  (maximum at θ = 45°)
Complementary angles
θ and (90° − θ) give the same range

Free fall Class 9

Equations of motion
v = u + gt,  s = ut + ½gt²,  v² = u² + 2gs
Dropped from height h
t = √(2h/g),  v = √(2gh)
With air resistance
m dv/dt = mg − drag;  at terminal velocity drag = mg, so a = 0

Pendulum and SHM Class 11

Restoring force
F = −mg sinθ ≈ −mgθ  (small θ)
Equation of motion
θ″ = −(g/L) sinθ ≈ −(g/L)θ
Angular frequency and period
ω = √(g/L),  T = 2π√(L/g),  f = 1/T
Small-swing solution
θ(t) = θ0 cos ωt  (released from rest)
Large-swing correction
T ≈ 2π√(L/g) · (1 + θ0²/16 + …),  θ0 in radians
String tension
Ts = mg cosθ + mLθ′²  (= mg + mv²/L at the bottom)
Energy
KE = ½mL²θ′²,  PE = mgL(1 − cosθ),  E = KE + PE = constant
Speed at the bottom
v = √(2gL(1 − cosθ0))
Light damping
θ″ + γθ′ + (g/L)θ = 0;  amplitude ∝ e−γt/2

Spring–mass SHM Class 11

Hooke's law
F = −kx,  so a = −(k/m)x
Angular frequency and period
ω = √(k/m),  T = 2π√(m/k)
Displacement, velocity, acceleration
x = A cos ωt,  v = −Aω sin ωt,  a = −ω²x
Maximum values
vmax = Aω,  amax = Aω²
Speed at displacement x
v = ω√(A² − x²)
Energy
E = ½kA² = ½mv² + ½kx² = constant
Springs in parallel
k = k1 + k2
Springs in series
1/k = 1/k1 + 1/k2
Vertical spring
rest stretch e = mg/k;  same T = 2π√(m/k), centre shifted down by e
Damped motion
mx″ + bx′ + kx = 0;  amplitude ∝ e−bt/2m
Damped frequency and critical damping
ωd = √(k/m − (b/2m)²),  bc = 2√(km)

SHM and circular motion Class 11

Reference circle
P moves uniformly on a circle of radius A at angular speed ω; its shadow Q on a diameter moves in SHM
Displacement
x = A cos(ωt + φ)
Velocity
v = −Aω sin(ωt + φ)
Acceleration
a = −ω²x
Period and frequency
T = 2π/ω,  f = ω/2π
Velocity–displacement relation
v² + ω²x² = A²ω²
Second projection
y = A sin(ωt + φ), a quarter-cycle (90°) out of phase with x
Motion of P itself
speed Aω, centripetal acceleration Aω² = v²/A
Time between two positions
t = Δ(phase)/ω, e.g. x = A/2 to x = A takes (π/3)/ω

Collisions Class 11

Momentum conservation
m1u1 + m2u2 = m1v1 + m2v2
Coefficient of restitution
e = (v2 − v1) / (u1 − u2)
Elastic (e = 1)
v1 = [(m1 − m2)u1 + 2m2u2] / (m1 + m2)
Elastic (e = 1), second body
v2 = [(m2 − m1)u2 + 2m1u1] / (m1 + m2)
Perfectly inelastic (e = 0)
v = (m1u1 + m2u2) / (m1 + m2)
Kinetic energy lost
ΔKE = ½μ(1 − e²)(u1 − u2)²,  μ = m1m2/(m1 + m2)