Energy: The Universe's Currency
Explore kinetic and potential energy, conservation laws, and calculate energy with Python.
Materials for this lesson
- Ramp materials (books, boards, or cardboard)
- Toy cars or balls of varying mass
- Ruler or measuring tape
- Kitchen scale
- Small target object (lightweight box or cup)
- Pencil and paper
- Laptop (charged)
Warm-Up: Follow the Energy
Think about your morning: you eat breakfast, walk outside, and break into a sprint.
Where does the energy come from when you eat breakfast and then run?
Trace the energy as far back as you can. Don't stop at "food" โ keep going. Where did the food's energy come from? And before that?
Energy is never created or destroyed โ it just changes form. This is the Law of Conservation of Energy, one of the most fundamental principles in all of physics.
Core Lesson: The Two Faces of Mechanical Energy
What Is Energy?
Energy is the ability to cause change. It comes in many forms โ thermal, chemical, electrical, nuclear โ but today we focus on the two types of mechanical energy: kinetic and potential.
Kinetic Energy (KE) โ Energy of Motion
Anything that's moving has kinetic energy. The faster it moves and the more massive it is, the more kinetic energy it has.
KE = 1/2 ร m ร vยฒ
Where:
- m = mass (in kilograms)
- v = velocity (in meters per second)
Notice that velocity is squared. This has a huge consequence: if you double your speed, your kinetic energy doesn't just double โ it quadruples. This is why car crashes at 60 mph are far more devastating than crashes at 30 mph.
| Object | Mass (kg) | Speed (m/s) | KE (Joules) | |--------|-----------|-------------|-------------| | Walking person | 50 | 1.5 | 56.25 | | Running person | 50 | 8 | 1,600 | | Tennis ball serve | 0.058 | 58 | 97.6 | | Car on highway | 1,500 | 30 | 675,000 |
A 2 kg ball rolling at 3 m/s has a kinetic energy of...
Potential Energy (PE) โ Stored Energy
Gravitational potential energy is the energy an object has because of its height above the ground. The higher it is, the more energy is stored, waiting to be released.
PE = m ร g ร h
Where:
- m = mass (in kilograms)
- g = acceleration due to gravity (9.8 m/sยฒ on Earth)
- h = height above the ground (in meters)
Potential energy is like a savings account โ it's stored energy that can be "withdrawn" and converted into kinetic energy. When you hold a ball above the ground, you've deposited energy into that account. When you drop it, you make a withdrawal.
A 5 kg book sits on a shelf 2 meters above the floor. What is its gravitational potential energy?
Conservation of Energy: The Grand Exchange
When a roller coaster climbs to the top of a hill, it's gaining potential energy. As it plunges downward, that potential energy converts into kinetic energy. At the bottom, nearly all the PE has become KE.
At any point: Total Energy = KE + PE = constant
This means if you know the height, you can predict the speed โ and vice versa.
At the top of a drop (starting from rest):
- KE = 0 (not moving)
- PE = mgh (maximum)
At the bottom of the drop:
- KE = 1/2 mvยฒ (maximum)
- PE = 0 (ground level)
Setting them equal: mgh = 1/2 mvยฒ
Notice that mass cancels out! Solving for v:
v = sqrt(2 ร g ร h)
This means the speed at the bottom doesn't depend on mass โ a bowling ball and a marble dropped from the same height reach the same speed (ignoring air resistance). Galileo figured this out 400 years ago.
An object falls from a height of 20 meters. Ignoring air resistance, what speed does it reach at the bottom? (g = 10 m/sยฒ for simplicity)
Where Does the Energy "Go"?
In real life, roller coasters slow down. Balls eventually stop rolling. Where does the energy go if it's supposed to be conserved?
It converts to thermal energy (heat) through friction. Rub your hands together โ you're converting kinetic energy into heat. The energy isn't destroyed; it's just spread out into a less useful form.
Conservation of Energy โ Khan Academy
Hands-On Lab: The Ramp Experiment
Setup
Build a ramp using a flat board (or stiff cardboard) propped up on books. You'll roll objects down the ramp and measure how far they push a lightweight target at the bottom.
What you need:
- A flat board or stiff cardboard for the ramp
- Books or boxes to prop up one end
- 2-3 balls or toy cars of different masses
- A lightweight target object (small box, paper cup)
- A ruler or measuring tape
- A kitchen scale to measure mass
- Paper and pencil for recording data
Procedure
- Set up the ramp at a low angle. Place the target object at the base of the ramp.
- Weigh each rolling object on the kitchen scale. Record in grams and convert to kg.
- Measure the ramp height from the tabletop to the release point (this is h).
- Release (don't push!) each object from the top. Measure how far the target slides.
- Repeat from at least 3 different heights.
- Record everything in a data table like this:
| Trial | Object | Mass (kg) | Height (m) | Predicted PE (J) | Target Displacement (cm) | |-------|--------|-----------|------------|-------------------|--------------------------| | 1 | | | | | | | 2 | | | | | | | 3 | | | | | |
Analysis Questions
After collecting your data, answer these:
- When you increase the height, what happens to the target displacement? Why?
- When you use a heavier object from the same height, what changes? Why?
- Calculate the predicted PE for each trial using PE = mgh. Does higher PE correspond to greater displacement?
- Why doesn't 100% of the PE convert to motion of the target? Where does some energy go?
Pro tip: Do each trial 3 times and average the displacement. Real scientists always take multiple measurements because no single trial is perfectly accurate. This is called reducing random error.
Challenge: Energy Calculator in Python
Write a Python program that serves as a full energy calculator. It should:
- Ask the user for mass, velocity, and height
- Calculate KE, PE, and total mechanical energy
- Predict the speed an object would reach falling from the given height
- Display everything in a clean format
Starter Code
import math
print("=" * 40)
print(" ENERGY CALCULATOR")
print("=" * 40)
# Get inputs from the user
mass = float(input("\nMass (kg): "))
velocity = float(input("Velocity (m/s): "))
height = float(input("Height (m): "))
g = 9.8 # acceleration due to gravity (m/s^2)
# Calculate energies
ke = 0.5 * mass * velocity ** 2
pe = mass * g * height
total = ke + pe
# Predict speed from falling the given height (starting from rest)
# Using conservation of energy: mgh = 1/2 mv^2 => v = sqrt(2gh)
predicted_speed = math.sqrt(2 * g * height)
# Display results
print("\n--- RESULTS ---")
print(f"Kinetic Energy: {ke:,.2f} J")
print(f"Potential Energy: {pe:,.2f} J")
print(f"Total Mech Energy: {total:,.2f} J")
print(f"\nIf dropped from {height} m, the object would reach {predicted_speed:.2f} m/s")
print(f"That's {predicted_speed * 3.6:.1f} km/h or {predicted_speed * 2.237:.1f} mph!")
Stretch Goal
Extend the program to handle your ramp experiment data:
import math
print("=" * 40)
print(" RAMP EXPERIMENT ANALYZER")
print("=" * 40)
g = 9.8
trials = []
num_trials = int(input("\nHow many trials did you run? "))
for i in range(num_trials):
print(f"\n--- Trial {i + 1} ---")
name = input("Object name: ")
mass = float(input("Mass (kg): "))
height = float(input("Ramp height (m): "))
displacement = float(input("Target displacement (cm): "))
pe = mass * g * height
predicted_speed = math.sqrt(2 * g * height)
trials.append({
"name": name,
"mass": mass,
"height": height,
"pe": pe,
"speed": predicted_speed,
"displacement": displacement,
})
# Print summary table
print("\n" + "=" * 70)
print(f"{'Object':<12} {'Mass':>6} {'Height':>7} {'PE':>10} {'Speed':>8} {'Disp':>8}")
print(f"{'':.<12} {'(kg)':>6} {'(m)':>7} {'(J)':>10} {'(m/s)':>8} {'(cm)':>8}")
print("-" * 70)
for t in trials:
print(f"{t['name']:<12} {t['mass']:>6.3f} {t['height']:>7.3f} "
f"{t['pe']:>10.4f} {t['speed']:>8.2f} {t['displacement']:>8.1f}")
# Find the trial with the most displacement
best = max(trials, key=lambda t: t["displacement"])
print(f"\nGreatest displacement: {best['name']} at {best['height']} m "
f"({best['displacement']} cm)")
# Check correlation between PE and displacement
print("\nDoes more PE generally mean more displacement? Check your table!")
Bonus brain-teaser: A 60 kg skateboarder is at the top of a 5-meter half-pipe. How fast are they going at the bottom? What if the half-pipe were on the Moon (g = 1.6 m/sยฒ)? How does that change things?
Use v = sqrt(2 * g * h) to find out!
Resources
- Khan Academy โ Kinetic and Potential Energy โ full lesson series with practice problems
- PhET Energy Skate Park Simulator โ watch energy transform in real time on a virtual skate ramp
- Physics Classroom โ Energy โ clear explanations with interactive problems
- Python Basics โ W3Schools โ reference for Python syntax
- Replit โ online code editor for running your programs