Coupled Pendulum

pendulum ℓ, m pinned to slider M, spring k, rail μ

Annotate

Tool
Thickness
Color
Actions
⌘/Ctrl Z undo
⌘/Ctrl ⇧Z redo
⌘/Ctrl ⌫ clear all
⌘/Ctrl S save & close

Keep these annotations?

(M + m) ẍ + mℓ sin(φ) φ̈ + mℓ φ̇² cos(φ) + kx + (M + m) g = 0
ℓ φ̈ + ẍ sin(φ) + g sin(φ) = 0
t = 0.00 s physics dt = 1/240 s (fixed) sim steps/frame ≈

Settings & Telemetry

Pendulum

Block & Spring

Environment & Dissipation

Live State

x block position0
block velocity0
φ pendulum angle0
φ̇ angular velocity0

Forces (Newton check)

spring force F=−kx0
rail normal force N0
friction force0
block accel 0
pendulum accel φ̈0

Energy

kinetic T0
potential V0
total E = T+V0
dissipated (∫ damping+friction)0
conservation drift0
total kinetic potential

Phase Portrait (φ vs φ̇)