Energy Conservation
Explore how potential and kinetic energy transform while total mechanical energy remains constant
Energy Conservation
A ball of mass
Sliding Down the Ramp
Drag the position to
Energy vs Position
Try dragging
Try it in Code
import math
# Energy conservation on a frictionless ramp
height = 10 # initial height (m)
mass = 2 # mass (kg)
position = 5 # position along ramp (m)
g = 9.8
current_height = max(0, height * (1 - position / 20))
PE = mass * g * current_height
total_energy = mass * g * height
KE = total_energy - PE
velocity = math.sqrt(2 * KE / mass)
print(f"Potential energy: {PE:.1f} J")
print(f"Kinetic energy: {KE:.1f} J")
print(f"Total energy: {total_energy:.1f} J")
print(f"Velocity: {velocity:.2f} m/s")What to explore next
Audio Waveform Explorer
Explore the relationship between frequency, amplitude, and waveform characteristics in audio signals
Damped Oscillation
Explore how a mass-spring system loses energy to friction over time
Double-Slit Interference Pattern
Explore Young's famous double-slit experiment and discover how light creates interference patterns
Electric Field Visualization
Explore electric fields using field lines to visualize the invisible force around charges
You might also like
Kinetic Energy Calculator
Calculate kinetic energy, mass, or velocity of a moving object
Potential Energy Calculator
Calculate gravitational potential energy, mass, or height
Heat Capacity
Calculate heat transfer using Q = mcΔT. Common specific heats - Water: 4186 J/(kg·K), Aluminum: 897 J/(kg·K), Iron: 449 J/(kg·K), Copper: 385 J/(kg·K)
Momentum Calculator
Calculate momentum, the product of mass and velocity that describes an object's motion and is conserved in collisions