How the universe works, from a falling ball to light, atoms and spacetime.
From measuring and estimating to special relativity and quantum physics. You learn motion, forces and Newton's laws, energy and momentum, rotation, gravity and orbits, then oscillations and waves, fluids and heat, electricity, magnetism and light, and the twentieth century's two revolutions. Algebra is enough to start; calculus appears as it's needed and is explained when it does. Every module has problems to work on paper, graphs you can drag show each law, and small programs simulate motion step by step, the way physicists and game engines do.
What you’ll be able to do
Use units, estimates and vectors to describe the physical world, and check an answer by its units and size.
Describe and predict motion with kinematics and Newton's laws, in straight lines, curves, circles and orbits.
Solve problems with energy, momentum and angular momentum, and know which is conserved when.
Explain oscillations, waves, sound, light and optics, and fluids and heat.
Work with electric and magnetic fields, circuits and induction.
Explain the ideas of special relativity and quantum physics, and simulate physical systems numerically.
Modules
Measuring the world: units, sizes and estimates· 12 slides
Motion in a line· 12 slides
Vectors and motion in two dimensions· 11 slides
Forces and Newton's laws· 12 slides
Friction, springs, slopes and circles· 13 slides
Work and energy· 12 slides
Momentum and collisions· 11 slides
Rotation and torque· 12 slides
Gravity and orbits· 13 slides
Oscillations· 12 slides
Waves and sound· 12 slides
Fluids· 11 slides
Heat, temperature and thermodynamics· 12 slides
Charge and electric fields· 11 slides
Current and circuits· 10 slides
Magnetism and induction· 11 slides
Light and optics· 10 slides
Special relativity· 11 slides
Quantum physics· 11 slides
Physics like an expert· 13 slides
Interactive parts (exercises, code to run, walkthroughs, flashcards, checklists) are drawn still and marked “Interactive · disabled in the PDF”. Do them in the app; the answers are at the end.
Module 1: Measuring the world: units, sizes and estimates
Physics1 / 232
Module 1 · Measuring the world: units, sizes and estimates
Physics looks for the few rules behind everything
Physics is the study of matter, energy, space and time, and of the rules that connect them. A ball falling, a guitar string humming, a phone charging and a star shining all follow a handful of rules, and physics is the work of finding them, writing them as maths, and testing them against measurements. A rule that predicts what you then measure is kept; one that does not is fixed or thrown away.
Every rule is a model: a simplified picture that keeps what matters and drops the rest. A falling apple is treated as a single point with no air around it. That is not true, but it predicts where the apple lands to within a few centimetres, and knowing when a model is good enough is half of the skill.
Physical quantity
Something you can measure, given as a number and a unit: a mass of 2 kg, a time of 3.5 s.
Unit
The agreed amount you compare against: the metre, the second, the kilogram.
Measurement
Comparing a quantity with its unit, which always has some uncertainty.
Model
A simplified description that predicts what you will measure.
QuizInteractive · disabled in the PDF
A model treats a thrown object as a point with no air resistance. For which object does it predict the flight best?
A model treats a thrown object as a point with no air resistance. For which object does it predict the flight best?
Physics2 / 232
Module 1 · Measuring the world: units, sizes and estimates
The C++ this course computes with
Physics predicts numbers, and a few lines of code can work them out, check them, and simulate motion that no formula solves. This course writes that code in C++, as the algebra course does. Here is all the C++ you need, in one program to remind you: press Run.
PlaygroundInteractive · disabled in the PDF
C++
1#include<cmath>2#include<iostream>3#include<vector>45// A function: the type it returns, its name, its parameters6doublespeed(double distance,double time){7return distance / time;8}910intmain(){11double g =9.8; // a measured quantity: a double12int laps =7; // a count: an int13 std::cout << laps /2<<" "<< laps /2.0<<"\n"; // 3 3.514 std::cout << std::pow(3,2)<<" "<< std::sqrt(2* g *20)<<"\n";1516 std::vector<double> times ={2.03,1.98,2.01};17double total =0;18for(double t : times) total += t;19if(total >6) std::cout <<"slow swings\n";20 std::cout <<speed(100,9.58)<<" m/s\n";21return0;22}
Change the numbers and run it again. Try laps / 2 with double laps.
C++
1#include<functional>23// A struct groups values: here, a falling stone's state4structState{5double y; // height, m6double v; // velocity, m/s7};89Statestep(State s,double dt){10 s.v = s.v -9.8* dt; // fields by name11 s.y = s.y + s.v * dt;12return s;13}1415// A function passed in is a std::function, called like any other16doubleslopeAt(std::function<double(double)> f,double x){17return(f(x +1e-6)-f(x))/1e-6;18}19// slopeAt([](double x) { return x * x; }, 3) is about 6
A struct for a simulation’s state, and a lambda, [](double x) { … }, passed as a std::function.
double for measured quantities, int for counts. An int divided by an int drops the fraction: 7 / 2 is 3 and 1 / 2 is 0, so write 7 / 2.0 or 0.5.
C++ has no power operator: write x * x or std::pow(x, 2). And 2 ^ 3 compiles but is 1, not 8: ^ is a bitwise operation.
<cmath> has std::sqrt, std::pow, std::exp, std::log (natural), std::log10 and std::abs; std::sin and the other trigonometric functions take radians. std::numbers::pi, from <numbers>, is .
A challenge here is functions with no main: its tests call them. Floats are compared with EXPECT_NEAR(actual, expected, within), since a computed double is rarely exact.
Physics3 / 232
Module 1 · Measuring the world: units, sizes and estimates
Seven base units measure everything
A number without a unit means nothing: "the table is 2 long" could be 2 metres or 2 kilometres. Scientists everywhere use the SI, the International System of Units. It has seven base units; every other unit is built from them.
Quantity
Base unit
Symbol
Length
metre
m
Mass
kilogram
kg
Time
second
s
Electric current
ampere
A
Temperature
kelvin
K
Amount of substance
mole
mol
Brightness (luminous intensity)
candela
cd
Derived units are combinations of base units. Speed is a length over a time, so it is measured in metres per second, . Force, which you meet in module 4, is measured in newtons: . A named unit like the newton is only shorthand for its base units.
QuizInteractive · disabled in the PDF
Which of these is an SI base unit?
Which of these is an SI base unit?
Going deeper
Since 2019 every SI unit is defined by fixing the value of a constant of nature. The second is fixed by a frequency of the caesium atom; the metre by the speed of light, exactly ; the kilogram by Planck’s constant, . Before that, the kilogram was a metal cylinder kept near Paris, and it slowly drifted against its copies. Now anyone with the right lab can make a kilogram from scratch.
Physics4 / 232
Module 1 · Measuring the world: units, sizes and estimates
Powers of ten and prefixes
Physics deals with numbers that are huge and tiny, so it writes them in scientific notation: a number between 1 and 10 times a power of ten. The Earth’s mass is ; a hydrogen atom is about across. A negative power means "divide by ten that many times": .
Prefix
Symbol
Factor
Example
giga
G
a 2 GHz processor
mega
M
a 5 MW wind turbine
kilo
k
a 10 km run
centi
c
a 30 cm ruler
milli
m
a 5 mm screw
micro
µ
a 7 µm red blood cell
nano
n
a 500 nm wave of green light
Multiplying powers of ten adds the exponents, and dividing subtracts them: . In code, 1e3 is how you write , and 6.0e-7 is .
Fill the blanksInteractive · disabled in the PDF
Give each prefix its power of ten, in metres per unit.
C++
1double kilometre =1e;2double millimetre =1e;3double micrometre =1e;4double nanometre =1e;
Physics5 / 232
Module 1 · Measuring the world: units, sizes and estimates
Convert units by multiplying by one
To change units, multiply by a conversion factor: a fraction whose top and bottom are the same amount, so it equals one. is one, because 1000 m is 1 km. Write units as if they were numbers and cancel them like factors; if the units left over are the ones you want, the conversion is right.
A car on a fast road: the kilometres cancel, the hours cancel, metres per second remain.
Upside-down factors. Multiplying by instead would give an answer in , which is nonsense. Writing the units at every step is what catches it. Dividing by 3.6 turns km/h into m/s; multiplying by 3.6 goes back.
Code challengeInteractive · disabled in the PDF
Write kmhToMs(kmh), which turns a speed in kilometres per hour into metres per second, and msToKmh(ms), which goes back.
A cyclist rides in . What is her average speed in metres per second, and in kilometres per hour?
m/s
km/h
Physics6 / 232
Module 1 · Measuring the world: units, sizes and estimates
Dimensional analysis checks a formula before you trust it
Every quantity has a dimension: what kind of thing it is, made of length , mass and time (and a few others). Speed has dimension , acceleration . Two rules follow. You can only add or compare things with the same dimension (adding a mass to a time is meaningless), and both sides of a correct equation have the same dimension.
The period of a pendulum of length (module 10): the square root comes out as a time, as a period must. The has no dimension.
QuizInteractive · disabled in the PDF
A stone is dropped from rest. Which formula for the distance it falls in time could be right? ( is an acceleration.)
A stone is dropped from rest. Which formula for the distance it falls in time could be right? ( is an acceleration.)
ProblemInteractive · disabled in the PDF
A mass bobs on a spring of stiffness , measured in N/m, which is : its dimension is . Suppose the period is , where is a number with no dimension. Match the dimensions of the two sides to find the powers and .
Going deeper
Dimensions can even find a formula. Suppose a pendulum’s period depends only on its length , its mass and . Try : matching powers of , and forces , and , so , and the mass cannot matter. This is the start of the Buckingham π theorem, which engineers use to scale model ships and aircraft to full size.
Physics7 / 232
Module 1 · Measuring the world: units, sizes and estimates
Significant figures say how precise a number is
Writing and says different things: the first is known to about a tenth of a metre, the second to a millimetre. The digits you trust are the significant figures. Leading zeros are not significant ( has 2); zeros after the point at the end are ( has 3). Scientific notation removes doubt: has 3, where alone is unclear.
Multiplying or dividing: keep as many significant figures as the least precise input. , written .
Adding or subtracting: keep as many decimal places as the input with the fewest. , written .
Round only at the end; carry extra digits through the working.
QuizInteractive · disabled in the PDF
A floor measures by . What is its area, to the right number of significant figures?
A floor measures by . What is its area, to the right number of significant figures?
Physics8 / 232
Module 1 · Measuring the world: units, sizes and estimates
Every measurement comes with an uncertainty
Time a pendulum’s swing five times with a stopwatch and you get five different numbers: , , , , . None is "the" answer. The best estimate is their mean, the sum over the count: . A simple measure of the spread is the half-range, half the gap between the largest and smallest: . So the period is .
Twenty timings of the same swing, grouped in bins 0.02 s wide. Repeated measurements cluster around the true value, thinning out on both sides.
The absolute uncertainty is the amount in the quantity’s units; the relative uncertainty is that divided by the value, often as a percentage: . When you add or subtract quantities, add their absolute uncertainties. When you multiply or divide, add their relative ones.
Code challengeInteractive · disabled in the PDF
Write mean(values), the sum of the measurements divided by how many there are, and halfRange(values), half the difference between the largest and the smallest. Both get a non-empty vector.
A rectangular tile measures by . Find its area, the relative uncertainty in the area as a percentage, and the absolute uncertainty in the area. Use the rule that relative uncertainties add when you multiply.
cm²
%
cm²
Going deeper
Adding relative uncertainties is the safe, worst-case rule. When errors are independent they partly cancel, so careful work adds them in quadrature: the square root of the sum of their squares. A speed from () and () is with by the simple rule, but in quadrature.
Precise is not accurate.Precision is how close repeated measurements are to each other; accuracy is how close they are to the true value. A stopwatch that always starts 0.2 s late gives tight, precise, wrong timings. Averaging fixes random scatter, never a systematic error like that: only checking against something you trust does.
Physics9 / 232
Module 1 · Measuring the world: units, sizes and estimates
Fermi estimates get within a factor of ten in a minute
The physicist Enrico Fermi was famous for answering questions like "how many piano tuners are there in Chicago?" with no data, just by breaking them into pieces you can guess. Each guess can be off, but errors partly cancel, and the answer usually lands within a factor of ten. That is often enough to know whether an idea is possible at all. How many times does your heart beat in a lifetime?
About three billion. Every unit cancels except "beats", which is how you know the chain is complete.
PlaygroundInteractive · disabled in the PDF
C++
1#include<iomanip>2#include<iostream>34intmain(){5 std::cout << std::setprecision(2); // two significant figures6double beatsPerMinute =70;7double minutesPerYear =60*24*365;8double years =80;910 // double, not int: an int stops at about 2.1 billion11double beats = beatsPerMinute * minutesPerYear * years;12 std::cout << beats <<" heartbeats\n";1314 // Try another: how many litres of water do you drink in a life?15double litresPerDay =2;16 std::cout << litresPerDay *365* years <<" litres\n";17return0;18}
Change the guesses. Notice how little the answer moves: 60 or 80 beats a minute both give "a few billion".
Put in orderInteractive · disabled in the PDF
Put the steps of a Fermi estimate in order.
1.Say exactly what number you want, with its unit
2.Multiply, keeping track of the units and powers of ten
3.Guess each factor to one significant figure
4.Break it into factors you can each guess
5.Check the answer against anything you know, and the units against what you wanted
Physics10 / 232
Module 1 · Measuring the world: units, sizes and estimates
From protons to the observable universe
The order of magnitude of a number is its power of ten, roughly: is "order ". Physics spans more than forty orders of magnitude in size alone, and the same rules of measurement work across all of them. A ruler and a telescope differ only in the scale of what they compare.
Sizes as powers of ten. Each bar is the exponent: an atom is about m across, the Earth about m. One step up the axis is ten times bigger.
QuizInteractive · disabled in the PDF
An atom is about across and a grain of sand about . Roughly how many atoms side by side span the grain?
An atom is about across and a grain of sand about . Roughly how many atoms side by side span the grain?
Physics11 / 232
Module 1 · Measuring the world: units, sizes and estimates
Practice problems
ProblemInteractive · disabled in the PDF
The Sun is from the Earth, and light travels at . How long does sunlight take to reach us, in seconds and in minutes?
s
min
ProblemInteractive · disabled in the PDF
Density is mass per unit volume. Gold has a density of . Convert that to . Then find the mass, in grams, of a solid gold cube on each side.
kg/m³
g
ProblemInteractive · disabled in the PDF
A leaking tap drips once a second, and each drop is . How many litres does it waste in a year of 365 days, and how many cubic metres is that? ( and .)
L
m³
ProblemInteractive · disabled in the PDF
A human hair is about wide, and an atom about across. Roughly how many atoms side by side span the width of the hair?
Physics12 / 232
Module 1 · Measuring the world: units, sizes and estimates
Recap
A physical quantity is a number and a unit; the SI has seven base units, and every other unit is built from them.
Scientific notation and prefixes (k, M, G; m, µ, n) handle huge and tiny numbers.
Convert units by multiplying by fractions equal to one, and cancel units like factors.
Both sides of a correct equation have the same dimension: a quick check on any formula.
Significant figures show precision: multiply or divide to the fewest significant figures.
Repeat a measurement: quote the mean, plus or minus an uncertainty.
A Fermi estimate breaks a big question into guesses and lands within a factor of ten.
FlashcardsInteractive · disabled in the PDF
SI base units of length, mass and time
The metre (m), the kilogram (kg), the second (s).
The newton in base units
.
Micro
, written µ.
km/h to m/s
Divide by 3.6.
Dimension of acceleration
: metres per second squared.
Significant figures in a product
As many as the least precise factor.
Relative uncertainty
The absolute uncertainty divided by the value, often as a percentage.
Order of magnitude
The nearest power of ten: is order .
Module 2: Motion in a line
Physics13 / 232
Module 2 · Motion in a line
Position is measured from an origin you choose
To describe motion along a straight line, pick a point to call zero, the origin, and a direction to call positive. An object’s position is then a number: is 3 metres on the positive side, is 2 metres on the other. The choice is yours; physics does not care where zero is, as long as you keep it.
The displacement is the change of position, final minus initial: (, the Greek capital delta, means "change in"). The distance is how much ground was covered. Walk 5 m forward and 3 m back: the distance is 8 m, the displacement only .
Walking 5 m forward, then 3 m back. The arrows add up to a displacement of +2 m; the distance walked is 8 m.
QuizInteractive · disabled in the PDF
You walk 40 m east, then 60 m west. Taking east as positive, what are the distance and the displacement?
You walk 40 m east, then 60 m west. Taking east as positive, what are the distance and the displacement?
Physics14 / 232
Module 2 · Motion in a line
Speed has no direction; velocity does
Average speed is distance over time. Average velocity is displacement over time, so it has a sign, a direction:
The bar over means "average". Its unit is metres per second, m/s.
A scalar is a quantity with only a size (distance, speed, time, mass). A vector has a size and a direction (displacement, velocity). In one dimension the direction is just the sign; module 3 deals with directions in a plane.
QuizInteractive · disabled in the PDF
A runner does one full lap of a 400 m track in 50 s and finishes where she started. What are her average speed and average velocity?
A runner does one full lap of a 400 m track in 50 s and finishes where she started. What are her average speed and average velocity?
Physics15 / 232
Module 2 · Motion in a line
On a position–time graph, the slope is the velocity
Plot position against time and the motion becomes a picture. Moving at constant velocity from a starting position gives a straight line, . Its slope, rise over run, is : the velocity. Steeper means faster; sloping down means moving in the negative direction; flat means standing still.
x = x₀ + v t
Slope = velocity (m/s)2
Position at 5 s (m)10
Drag the velocity: the line tilts. Drag the start: it slides up or down without changing its slope.
QuizInteractive · disabled in the PDF
On a position–time graph, a straight line sloping down means the object is:
On a position–time graph, a straight line sloping down means the object is:
Physics16 / 232
Module 2 · Motion in a line
Instantaneous velocity is the slope of the tangent
When the velocity changes, the position–time graph curves, and the average over a long interval hides what happens at each moment. Shrink the interval and the average velocity settles on a single number: the instantaneous velocity, the slope of the line that just touches the curve, the tangent. A speedometer shows its size.
x = t²
Tangent
Velocity now (m/s)3
A cart speeding up from rest, (in metres, with t in seconds). Drag the moment: the tangent’s slope is the velocity right then.
This is a derivative. In calculus, the slope of the tangent is the derivative: , the limit of as shrinks to zero. For it is , which is what the readout shows. You do not need calculus for this module, but it is the idea underneath.
Physics17 / 232
Module 2 · Motion in a line
Acceleration is how fast the velocity changes
Acceleration is the change in velocity per unit time, . Its unit is metres per second per second, : a car with gains 3 m/s of velocity every second. Acceleration is a vector, so it has a sign too, and the sign is the part that trips people up.
Velocity
Acceleration
What happens
Moving forward, speeding up
Moving forward, slowing down
Moving backward, speeding up
Moving backward, slowing down
The rule: when velocity and acceleration have the same sign, the object speeds up; when they have opposite signs, it slows down. A negative acceleration does not always mean "slowing down".
QuizInteractive · disabled in the PDF
Positive is to the right. A car drives to the left and brakes, slowing from 15 m/s to 5 m/s in 2 s. What is its acceleration?
Positive is to the right. A car drives to the left and brakes, slowing from 15 m/s to 5 m/s in 2 s. What is its acceleration?
ProblemInteractive · disabled in the PDF
A ball is rolled up a ramp at . later it is rolling back down at . Taking up the ramp as positive, what was its average acceleration? Give it with its sign.
m/s²
Physics18 / 232
Module 2 · Motion in a line
On a velocity–time graph, the area is the displacement
Plot velocity against time. The slope is now the acceleration. And the area between the line and the time axis is the displacement: for constant velocity, the area is a rectangle, , which is distance at that speed. Area below the axis counts as negative displacement.
v = v₀ + a t
Slope = acceleration (m/s²)1.5
Area = displacement after 5 s (m)28.75
Constant acceleration gives a straight line. The area under it, a rectangle and a triangle, is . Make the line cross zero: the object turns round.
QuizInteractive · disabled in the PDF
A cyclist’s velocity rises steadily from 2 m/s to 8 m/s over 4 s. How far does she travel in that time?
A cyclist’s velocity rises steadily from 2 m/s to 8 m/s over 4 s. How far does she travel in that time?
Physics19 / 232
Module 2 · Motion in a line
Four equations for constant acceleration
When the acceleration is constant, the areas and slopes above turn into four equations linking five quantities: the time , the displacement , the initial and final velocities and , and the acceleration . Each equation leaves one of them out, so pick the one without the quantity you neither know nor want. (In Britain they are the "suvat" equations, after the letters .)
No in the first, no in the second, no in the third, no in the fourth. They only hold while is constant.
A worked example. A car starts from rest and reaches 27 m/s in 9.0 s. What is its acceleration, and how far does it go?
Check with the fourth: . Two routes, one answer.
Fill the blanksInteractive · disabled in the PDF
Put the same example in code: the final velocity, then the displacement.
C++
1double v0 =0;2double a =3.0;3double t =9.0;4double v = v0 +;5double dx = v0 * t +0.5* a *;6std::cout << v <<" "<< dx <<"\n"; // 27 121.5
ProblemInteractive · disabled in the PDF
A plane starts from rest and accelerates steadily at along the runway. It needs to take off. How long must the runway be, at least, and how long does the take-off run last?
m
s
Going deeper
Where they come from: the first is the definition of constant acceleration. The fourth is the trapezium area under the velocity–time line. Put the first into the fourth to get the second; take from the first and put it into the fourth to get the third. In calculus, the second is the integral of .
Physics20 / 232
Module 2 · Motion in a line
Stopping distance grows with the square of speed
A driver sees a hazard. For the reaction time , about a second, the car keeps going at its speed : that covers . Then the brakes give a deceleration of size , and the car stops after , from with the final velocity zero. The total is the stopping distance.
Thinking distance grows with ; braking distance with . Double the speed, four times the braking.Stopping distances with a 1.0 s reaction and braking at 7 m/s². At 40 m/s (144 km/h), it is nine times what it is at 10 m/s.
Code challengeInteractive · disabled in the PDF
Write stoppingDistance(speed, reactionTime, braking): the distance in metres a car at speed (m/s) covers while the driver reacts for reactionTime (s) and then brakes with a deceleration of size braking (m/s², a positive number).
Near the Earth’s surface, anything moving only under gravity, with air resistance small enough to ignore, has the same downward acceleration, , whatever its mass. This is free fall, and it covers a ball thrown up as much as one dropped: on the way up it slows by 9.8 m/s each second, at the top it stops for an instant, and on the way down it speeds up. Take up as positive, and throughout.
y(t)
Maximum height (m)7.347
Time in the air (s)2.449
Height of a ball thrown straight up, . Throw it twice as fast: it goes four times as high and stays up twice as long.A stone dropped from a 20 m roof lands in about two seconds, at about 20 m/s, 71 km/h.
QuizInteractive · disabled in the PDF
A ball is thrown straight up. At the very top of its flight, what are its velocity and acceleration?
A ball is thrown straight up. At the very top of its flight, what are its velocity and acceleration?
Physics22 / 232
Module 2 · Motion in a line
Step motion through time, the way simulations do
The equations above only work for constant acceleration. Real motion (with air drag, springs, rockets) often has none that simple, so computers step it: chop time into small steps , and on each one, nudge the velocity by and then the position by . This is the Euler method; updating the velocity first, as here, is semi-implicit Euler, which game physics engines use because it stays stable.
WalkthroughInteractive · disabled in the PDF
C++
1#include<iostream>23intmain(){4double y =20; // height, m5double v =0; // velocity, m/s (up is positive)6double t =0;7constdouble g =9.8;8constdouble dt =0.01; // the time step, s910while(y >0){11double a =-g; // the acceleration right now12 v += a * dt;13 y += v * dt;14 t += dt;15}16 std::cout << t <<" s, "<< v <<" m/s\n";17return0;18}
Lines 4-6: The state: where the stone is, how fast it moves, and the clock.
Lines 8: The step. Smaller is more accurate and slower; 0.01 s is plenty for a falling stone.
Lines 11: Work out the acceleration. Here it is constant, but this is where drag or a spring would go.
Lines 12-13: Velocity changes by , then position by the new .
Lines 10,14: Advance the clock and repeat until the stone reaches the ground.
Lines 16: It prints 2.02 s and −19.796 m/s. The exact answers are 2.020 s and −19.799 m/s: close, for a step this small.
Put in orderInteractive · disabled in the PDF
Put one step of semi-implicit Euler in order.
1.Work out the acceleration from the current state
2.Add the new velocity × Δt to the position
3.Add acceleration × Δt to the velocity
4.Add Δt to the time
Code challengeInteractive · disabled in the PDF
Write simulateFall(v0, dt, steps): start at height y = 0 with velocity v0 (up is positive), take steps steps of semi-implicit Euler with a = -9.8, and return the final State, its y and v.
C++
1structState{2double y; // height, m3double v; // velocity, m/s4};56StatesimulateFall(double v0,double dt,int steps){7double y =0;8double v = v0;9 // TODO: take the steps10return{y, v};11}
Physics23 / 232
Module 2 · Motion in a line
Practice problems
ProblemInteractive · disabled in the PDF
A ball is thrown straight up at . Use and ignore air. How high above the hand does it rise, how long does it take to reach the top, and how long until it is back at the hand?
m
s
s
ProblemInteractive · disabled in the PDF
You drop a stone into a well, and it hits the water later. Use , and ignore air and the time the sound takes to come back up. How far below you is the water, and how fast is the stone moving when it hits?
m
m/s
ProblemInteractive · disabled in the PDF
The graph shows a tram’s velocity between two stops: it speeds up steadily from rest to in the first , cruises until , then slows steadily to rest at . Find its acceleration while speeding up, the distance between the stops, and its average velocity over the trip.
Tram
m/s²
m
m/s
ProblemInteractive · disabled in the PDF
A car waits at a red light. As the light turns green, the car sets off with a constant acceleration of , and at that same moment a truck passes it at a steady . How long does the car take to catch the truck, how far from the light does it catch it, and how fast is the car going then?
s
m
m/s
Physics24 / 232
Module 2 · Motion in a line
Recap
Position is measured from an origin; displacement is final minus initial position, and has a sign.
Velocity is displacement over time (a vector); speed is distance over time (a scalar).
On a position–time graph the slope is the velocity; on a velocity–time graph the slope is the acceleration and the area the displacement.
Speeding up means velocity and acceleration have the same sign; slowing down, opposite signs.
For constant acceleration: , , .
Free fall: downward, all the way up and down.
Euler stepping: update velocity by , then position by , many times.
FlashcardsInteractive · disabled in the PDF
Displacement
Change in position, : a vector, with a sign.
Average velocity
: displacement over time.
Acceleration
, in .
Slope of a position–time graph
The velocity.
Area under a velocity–time graph
The displacement.
The equation with no time in it
.
near the Earth’s surface
About , downward.
Semi-implicit Euler
Each step: , then .
Module 3: Vectors and motion in two dimensions
Physics25 / 232
Module 3 · Vectors and motion in two dimensions
A vector is a size and a direction
In a line, a sign was enough to give a direction. On a flat field or in the air, you need more: "5 m/s" does not say whether a ball goes up, sideways or towards the goal. A vector is a quantity with a size, its magnitude, and a direction. It is drawn as an arrow whose length is the magnitude, and written with an arrow over it, ; its magnitude is or just .
Scalar
Only a size: mass, time, temperature, distance, speed, energy.
Vector
A size and a direction: displacement, velocity, acceleration, force.
Magnitude
The size of a vector, never negative: the length of the arrow.
Component
How much of a vector points along one axis: its part or its part.
QuizInteractive · disabled in the PDF
Which of these is a vector?
Which of these is a vector?
Physics26 / 232
Module 3 · Vectors and motion in two dimensions
Break a vector into components
Any arrow in a plane is the sum of a horizontal arrow and a vertical one, its components. For a vector of magnitude at angle above the axis, trigonometry gives them, and Pythagoras and the inverse tangent go back:
A ball kicked at 10 m/s, 30° up: and .
vₓ = v cos θ3.464
vᵧ = v sin θ2
Drag the angle all the way round. Components are negative when the arrow points left or down; the magnitude never is.
The quadrant trap. cannot tell from : both give 45°. In code, use std::atan2(vy, vx), from <cmath>, which looks at both signs and returns the right angle in radians, from to .
ProblemInteractive · disabled in the PDF
A plane flies at , heading north of east. Taking east as and north as , find the components of its velocity.
m/s
m/s
Physics27 / 232
Module 3 · Vectors and motion in two dimensions
Add vectors tip to tail, or by components
To add two vectors, draw the second starting at the tip of the first; the sum, the resultant, goes from the start of the first to the tip of the second. With numbers, it is easier: add the components, add the components. Walk 3 m east and 4 m north and you are from the start, though you walked 7.
(A + B)ₓ4
(A + B)ᵧ4
Magnitude5.657
is fixed. Drag ’s components: the resultant’s components are always the sums.
Code challengeInteractive · disabled in the PDF
Write components(size, angleDeg), returning a Vec with the x and y of a vector of that magnitude at angleDeg degrees above the x axis, and magnitude(x, y). std::cos and std::sin take radians, and std::numbers::pi is .
A hiker walks east, then in a direction north of west. Taking east as and north as , how far is she from where she started, and in what direction, in degrees north of east?
km
° north of east
Physics28 / 232
Module 3 · Vectors and motion in two dimensions
Velocity depends on who is watching
A velocity is always measured relative to something. Walk at 1.5 m/s towards the front of a train moving at 30 m/s, and someone on the platform sees you at 31.5 m/s. In general, your velocity relative to the ground is your velocity relative to the train plus the train’s relative to the ground, added as vectors: .
A boat steers straight across at 4 m/s through water that flows at 3 m/s. Seen from the bank, it moves at 5 m/s, at an angle.
QuizInteractive · disabled in the PDF
That boat, steering straight across at 4 m/s in a 3 m/s current, crosses a river 60 m wide. How long does the crossing take?
That boat, steering straight across at 4 m/s in a 3 m/s current, crosses a river 60 m wide. How long does the crossing take?
Physics29 / 232
Module 3 · Vectors and motion in two dimensions
A projectile is two motions at once
A projectile is anything thrown or launched that then moves under gravity alone: a ball, a jet of water, a long jumper. The key fact, first worked out by Galileo, is that its horizontal and vertical motions are independent. Horizontally there is no force (ignoring air), so stays constant. Vertically it is free fall, exactly as in module 2: .
Launched from the origin at speed and angle . Two module-2 equations, one per axis, sharing the same clock .
QuizInteractive · disabled in the PDF
From the same height, at the same moment, one ball is dropped and another is fired horizontally at 50 m/s. Ignoring air, which lands first?
From the same height, at the same moment, one ball is dropped and another is fired horizontally at 50 m/s. Ignoring air, which lands first?
Physics30 / 232
Module 3 · Vectors and motion in two dimensions
The flight of a thrown ball is a parabola
Eliminate from the two equations and becomes a quadratic in : the path is a parabola. Drag the launch speed and angle and watch how the range and the height change.
Path
Range (m)40.816
Maximum height (m)10.204
Time of flight (s)2.886
A ball launched from the ground with and no air. Try 30° and 60° at the same speed: same range, different heights.Time of flight, range and maximum height, for a launch and landing at the same height. is when returns to 0; is , using .
Physics31 / 232
Module 3 · Vectors and motion in two dimensions
Forty-five degrees goes farthest
A worked example: a ball kicked at 20 m/s, 30° above the ground.
Range at 20 m/s for different angles. peaks at , and angles that add up to 90° give the same range.
QuizInteractive · disabled in the PDF
At the same speed, which goes farther on flat ground: a ball launched at 30° or at 60°?
At the same speed, which goes farther on flat ground: a ball launched at 30° or at 60°?
Real balls do not peak at 45°. Air drag shortens every flight, and it costs more on the long, high ones, so the best angle drops below 45°: about 35–40° for a shot put (mostly because it is released well above the ground) and lower for a golf ball, where backspin adds lift. The formula is the no-air model, good for dense, slow objects.
Physics32 / 232
Module 3 · Vectors and motion in two dimensions
Simulate a projectile step by step
The formulas only work without air and with launch and landing at the same height. A simulation has no such limits: step , , and through time exactly as module 2 stepped one dimension, and stop when drops below zero. First, find the mistake in this formula-based version.
Find the bugInteractive · disabled in the PDF
This gives nonsense ranges. Which line is wrong?
C++
Code challengeInteractive · disabled in the PDF
Write simulateRange(speed, angleDeg, dt): launch from (0, 0), step with semi-implicit Euler (update vy by -9.8 * dt, then x and y by the velocities times dt) until y is no longer above 0, and return x.
C++
1#include<cmath>2#include<numbers>34doublesimulateRange(double speed,double angleDeg,double dt){5double angle = angleDeg * std::numbers::pi /180;6double x =0;7double y =0;8 // TODO: the velocities, and the steps9return x;10}
Physics33 / 232
Module 3 · Vectors and motion in two dimensions
Moving in a circle means accelerating towards the centre
A car going round a roundabout at a steady 10 m/s is still accelerating, because its velocity keeps changing direction. In uniform circular motion (a circle, at constant speed) the velocity is always along the tangent, and the acceleration always points to the centre: the centripetal acceleration.
Centripetal acceleration for speed on a circle of radius , and the period , the time for one lap.
Centripetal acceleration (m/s²)3.6
Period (s)5.236
Drag the position round: the velocity (tangent) and the acceleration (inward) turn with it, always at right angles. Faster or tighter, and the inward arrow grows fast.A car at 20 m/s (72 km/h) on a curve of radius 50 m: almost as much acceleration as free fall, all of it sideways.
QuizInteractive · disabled in the PDF
The same car takes the same curve at twice the speed. What happens to its centripetal acceleration?
The same car takes the same curve at twice the speed. What happens to its centripetal acceleration?
ProblemInteractive · disabled in the PDF
A child sits from the centre of a playground merry-go-round that turns steadily once every . What is her speed, and what is her centripetal acceleration?
m/s
m/s²
Going deeper
Why : in a short time the car moves through an angle , and its velocity arrow, of length , turns through the same angle. The tip of that arrow moves about , so the change of velocity is , pointing inward. Dividing by gives .
Physics34 / 232
Module 3 · Vectors and motion in two dimensions
Practice problems
ProblemInteractive · disabled in the PDF
A ball rolls off the edge of a high cliff, moving horizontally at . Use and ignore air. How long does it take to land, how far from the foot of the cliff does it land, and how fast is it moving when it lands?
s
m
m/s
ProblemInteractive · disabled in the PDF
A football is kicked from the ground at , above the horizontal, and lands back on the ground. Use and ignore air. Find its time of flight, its range and its greatest height.
s
m
m
ProblemInteractive · disabled in the PDF
A swimmer swims at through still water. She wants to cross a river wide that flows at , and land directly opposite her start. At what angle upstream of straight across must she head, in degrees, and how long does the crossing take?
°
s
ProblemInteractive · disabled in the PDF
The Moon goes round the Earth on a nearly circular path of radius , once every days. Find its speed and its centripetal acceleration.
m/s
m/s²
Physics35 / 232
Module 3 · Vectors and motion in two dimensions
Recap
A vector has a magnitude and a direction; a scalar only a size.
Components: , ; magnitude .
Add vectors by adding components; velocities relative to different observers add the same way.
A projectile moves at constant while falling freely in ; its path is a parabola.
On flat ground, , largest at 45° without air.
Uniform circular motion accelerates towards the centre: .
Code takes radians: convert degrees with .
FlashcardsInteractive · disabled in the PDF
Vector
A quantity with a magnitude and a direction.
Components of at angle
, .
Adding vectors
Tip to tail, or add the and components separately.
Horizontal motion of a projectile
Constant velocity, if air is ignored.
Range on flat ground
.
Angle for the longest range, no air
45°; and tie.
Centripetal acceleration
, towards the centre of the circle.
std::atan2(y, x)
The angle of in radians, right in every quadrant.
Module 4: Forces and Newton's laws
Physics36 / 232
Module 4 · Forces and Newton's laws
A force is a push or a pull
Modules 2 and 3 described motion without asking what causes it. A force is what changes motion: a push or a pull by one object on another. It is a vector, with a size and a direction, and its SI unit is the newton, N. One newton is about the weight of a small apple. Isaac Newton’s three laws, from 1687, say how forces and motion are related, and they still run bridges, cars and game engines today.
Contact force
Acts by touching: a push, friction, the floor holding you up, a rope pulling.
Non-contact force
Acts across space: gravity, electric and magnetic forces.
Newton (N)
The SI unit of force, .
Net force
All the forces on an object added together, as vectors.
QuizInteractive · disabled in the PDF
Which of these forces acts without the objects touching?
Which of these forces acts without the objects touching?
Physics37 / 232
Module 4 · Forces and Newton's laws
With no net force, motion does not change
Newton’s first law: an object stays at rest, or keeps moving at a constant velocity in a straight line, unless a net force acts on it. This tendency to keep doing what it was doing is inertia. It surprised people, because everyday things do stop on their own: a rolling ball slows down. But that is friction and air, forces you do not see. On ice, or in space, things keep going.
Motion does not need a force. The oldest wrong idea in physics, from Aristotle, is that keeping something moving needs a force. It is changing motion (speeding up, slowing down, turning) that needs one. A spacecraft coasting between planets has its engines off for months.
QuizInteractive · disabled in the PDF
A hockey puck slides across perfectly smooth ice at 10 m/s. Ignoring air, what keeps it moving?
A hockey puck slides across perfectly smooth ice at 10 m/s. Ignoring air, what keeps it moving?
Going deeper
The first law also defines where Newton’s laws hold: in an inertial frame, one that is not itself accelerating. In a car braking hard, a coffee cup slides forward with no force pushing it; from the road, it is simply carrying on while the car slows. Physics in a car, a spinning roundabout or on the rotating Earth needs care, and sometimes "fictitious" forces, to work.
Physics38 / 232
Module 4 · Forces and Newton's laws
Forces add as vectors into one net force
When several forces act on one object, what matters is their vector sum, the net force (, a capital sigma, means "add them all up"). Two people pushing a car the same way add; a tug of war subtracts; forces at an angle add by components, as in module 3.
Net force (N)7.211
One force pulls to the right; drag the other’s size and angle. The net force is the vector sum. When they point opposite ways and match, it vanishes.
QuizInteractive · disabled in the PDF
In a tug of war, one team pulls left with 1200 N and the other right with 1150 N. What is the net force on the rope?
In a tug of war, one team pulls left with 1200 N and the other right with 1150 N. What is the net force on the rope?
Physics39 / 232
Module 4 · Forces and Newton's laws
The second law: force equals mass times acceleration
Newton’s second law says how much a net force changes motion. The acceleration is in the direction of the net force, and its size is the force divided by the mass, the amount of inertia: the same push makes a shopping trolley fly and a car barely creep.
This is where the newton comes from: 1 N gives a 1 kg mass an acceleration of .
a = F / m
Acceleration (m/s²)4
Acceleration against net force for a given mass: a straight line through zero, with slope . Heavier means a flatter line.A 1200 kg car: the road pushes it forward with 4000 N, drag and friction push back with 400 N. Always the net force.
Code challengeInteractive · disabled in the PDF
Forces along a line are numbers (positive one way, negative the other). Write netForce(forces), their sum, and acceleration(forces, mass), the net force divided by the mass.
You push a shopping trolley forward with , while friction pushes back on it with . What is its acceleration, and how fast is it moving after if it starts from rest?
m/s²
m/s
Physics40 / 232
Module 4 · Forces and Newton's laws
Mass is how much stuff; weight is gravity’s pull on it
Your mass, in kilograms, is how much matter you are made of and how hard you are to accelerate. It is the same everywhere. Your weight is the force of gravity on you, in newtons, and it depends on where you are: , with on Earth (the same number as : drop anything and its weight is the net force giving it the acceleration ).
The weight of a 70 kg person in newtons, from the surface gravity of each body. Their mass is 70 kg on all four.
QuizInteractive · disabled in the PDF
An astronaut has a mass of 80 kg on Earth. On the Moon, where , what are her mass and weight?
An astronaut has a mass of 80 kg on Earth. On the Moon, where , what are her mass and weight?
Physics41 / 232
Module 4 · Forces and Newton's laws
Free-body diagrams show every force on one object
A free-body diagram draws one object, alone, as a dot or a box, with an arrow for every force acting on it, starting at the object. Forces it exerts on other things do not go on it. It is the most useful habit in mechanics: almost every wrong answer comes from a missing or extra force.
Normal force N (N)24.6
A 2 kg book on a table, with your hand pressing down on it. Push harder: the table pushes back harder, and the book still does not move.
Put in orderInteractive · disabled in the PDF
Put the steps for solving a force problem in order.
1.Choose axes, ideally one along the acceleration
2.Choose the one object you are asking about
3.Set each sum equal to mass times the acceleration along that axis, and solve
4.Draw it alone and add an arrow for every force acting on it
5.Add the components of the forces along each axis
Physics42 / 232
Module 4 · Forces and Newton's laws
The normal force is whatever stops you going through the floor
A surface pushes back on whatever presses on it, at right angles to itself: the normal force ("normal" means perpendicular). It is not a fixed amount; it is as big as it needs to be. A book on a table: . Stand on bathroom scales in a lift and the scales read the normal force, which changes as the lift accelerates.
A 60 kg person in a lift speeding up upwards at : the floor must push harder than their weight, 588 N, so they feel heavier.
QuizInteractive · disabled in the PDF
The same 60 kg person stands on scales in a lift that accelerates downward at . What do the scales read?
The same 60 kg person stands on scales in a lift that accelerates downward at . What do the scales read?
ProblemInteractive · disabled in the PDF
A person stands on bathroom scales in a lift, and the scales read . Use . Taking up as positive, what is the lift’s acceleration? Give it with its sign.
m/s²
Physics43 / 232
Module 4 · Forces and Newton's laws
Tension pulls along a rope
A rope, string or cable can only pull, and it pulls along its own length. That pull is the tension . For an ideal rope, light and unstretchable, the tension is the same all along it. When a rope joins two objects, they share an acceleration, and the tension is what makes the back one keep up.
A 30 N pull on a 4 kg block, roped to a 2 kg block behind it, on smooth ice. Treat both as one object for , then the back one alone for .
Code challengeInteractive · disabled in the PDF
Write pulledBlocks(force, front, back): a force pulls a block of mass front, roped to a block of mass back behind it, on a frictionless floor. Return a Result holding a, their shared acceleration, and tension, the rope’s tension.
C++
1structResult{2double a; // m/s²3double tension; // N4};56ResultpulledBlocks(double force,double front,double back){7double a = force / front; // TODO: is this the right mass?8double tension =0; // TODO9return{a, tension};10}
Physics44 / 232
Module 4 · Forces and Newton's laws
Forces come in pairs on different objects
Newton’s third law: when object A pushes on object B, B pushes back on A with a force of the same size in the opposite direction. You push on the ground backwards with your foot; the ground pushes you forwards, and that is how you walk. A rocket pushes gas out of the back; the gas pushes the rocket forward.
The pair never cancels. The two forces of a third-law pair act on different objects, so they never cancel each other. A book’s weight and the table’s normal force are equal and opposite, but they are not a third-law pair: both act on the book. The pair of the book’s weight (Earth pulling the book) is the book pulling the Earth up.
QuizInteractive · disabled in the PDF
A truck hits a fly on the motorway. Which feels the bigger force?
A truck hits a fly on the motorway. Which feels the bigger force?
Going deeper
The horse-and-cart puzzle: if the cart pulls back on the horse as hard as the horse pulls the cart, how does anything move? Draw the cart alone: the horse pulls it forward, friction holds it back, and if the pull wins, it accelerates. Draw the horse alone: the cart pulls it back, but the ground pushes its hooves forward harder. The equal and opposite pair acts on two objects, and each object’s motion depends only on the forces on it.
Physics45 / 232
Module 4 · Forces and Newton's laws
Equilibrium: when the forces balance
An object is in equilibrium when the net force on it is zero: it is at rest or moves at constant velocity. Each component then adds to zero separately: and . A sign hanging from two ropes, each at angle above the horizontal, has its weight held up by the ropes’ vertical components: .
T = mg / (2 sin θ)
Tension in each rope (N)98
The tension in each rope against the angle. Shallow ropes have tiny vertical components, so the tension soars: you can never pull a washing line perfectly straight.
Fill the blanksInteractive · disabled in the PDF
A 10 kg sign hangs from two ropes at 30° above the horizontal. Finish the code for the tension.
C++
1double mass =10;2double g =9.8;3double angle =30* std::numbers::pi /180;4double weight = mass *;5double tension = weight /(2* std::(angle));6std::cout << tension <<"\n"; // about 98 N
Physics46 / 232
Module 4 · Forces and Newton's laws
Practice problems
ProblemInteractive · disabled in the PDF
Two horizontal forces act on a box on smooth ice: east and north. Find the size of the net force, the size of the box’s acceleration, and its direction, in degrees north of east.
N
m/s²
° north of east
ProblemInteractive · disabled in the PDF
Three blocks sit in a row on a frictionless floor, joined by light ropes: at the front, in the middle and at the back. A pull on the front block drags them all forward. Find the acceleration, the tension in the rope between the front and middle blocks, and the tension in the rope between the middle and back blocks.
m/s²
N
N
ProblemInteractive · disabled in the PDF
A street lamp hangs from the middle of a cable, each half of which is at above the horizontal. Use . What is the tension in each half of the cable?
N
ProblemInteractive · disabled in the PDF
A baseball arrives at , and the catcher’s glove moves back as it stops the ball. Assume a constant force, and ignore the ball’s weight during the short catch. What is the size of the ball’s deceleration, and of the force on it from the glove?
m/s²
N
Physics47 / 232
Module 4 · Forces and Newton's laws
Recap
A force is a push or pull, a vector, measured in newtons.
First law: with no net force, velocity stays constant (inertia).
Second law: , always with the net force.
Weight is , a force that depends on where you are; mass does not.
Draw a free-body diagram of one object with every force on it, then sum components.
The normal force and tension are as big as they need to be; find them from the second law.
Third law: forces come in equal and opposite pairs on different objects.
Equilibrium: and .
FlashcardsInteractive · disabled in the PDF
Inertia
An object’s tendency to keep its velocity; measured by its mass.
Newton’s second law
.
Weight of mass
, about per kilogram on Earth.
Normal force
A surface’s push, perpendicular to it, as big as needed.
Tension
The pull of a rope or cable, along its length.
Third-law pair
Equal, opposite forces two objects exert on each other.
Equilibrium
Net force zero: at rest or at constant velocity.
Scales in a lift accelerating up at
Read : more than your weight.
Module 5: Friction, springs, slopes and circles
Physics48 / 232
Module 5 · Friction, springs, slopes and circles
Friction holds until it can’t, then slides
Friction is the force between two surfaces that resists them sliding over each other. It acts along the surface, against the sliding (or the would-be sliding). It comes in two kinds. Static friction stops a resting object from moving, and is as big as it needs to be, up to a limit. Kinetic friction acts once it slides, and is roughly constant. Both are proportional to the normal force that presses the surfaces together:
(Greek mu) is the coefficient of friction, a number with no unit that depends on the two materials. Usually .
Friction
Largest static friction (N)49
Kinetic friction (N)34.3
Push a 10 kg box () harder and harder. Static friction matches your push until it reaches ; then the box breaks free and friction drops to .
Surfaces
Rubber on dry concrete
1.0
0.8
Wood on wood
0.5
0.3
Steel on ice
0.1
0.05
Teflon on Teflon
0.04
0.04
QuizInteractive · disabled in the PDF
A 10 kg box rests on a floor with . You push it sideways with 20 N and it does not move. How big is the friction force?
A 10 kg box rests on a floor with . You push it sideways with 20 N and it does not move. How big is the friction force?
Physics49 / 232
Module 5 · Friction, springs, slopes and circles
Pushing a box: friction in the second law
A worked example: a 20 kg crate on a floor with and . You push horizontally with 100 N. First, does it move? Then, how fast does it speed up?
Code challengeInteractive · disabled in the PDF
Write boxAcceleration(push, mass, muS, muK): a horizontal push (N) on a box of mass (kg) on a level floor, with g = 9.8. If the push is not more than the largest static friction, return 0; otherwise return its acceleration with kinetic friction.
You pull a sled across level snow with a horizontal rope, pulling with . The coefficient of kinetic friction is . Use . Once the sled is sliding, what is the friction force on it, and what is its acceleration?
N
m/s²
Physics50 / 232
Module 5 · Friction, springs, slopes and circles
On a slope, split gravity along and across it
On a slope at angle , tilt your axes too: one along the slope, one perpendicular to it. Then the normal force and friction lie on the axes, and only the weight needs splitting. Its component down the slope is ; into the slope, . So , and a block sliding down with kinetic friction has
A sledge on a 30° snowy slope with . The mass cancels: heavy and light sledges accelerate alike.
With friction
No friction: g sin θ
Angle where it starts to slide (degrees)11.31
Acceleration down a slope against its angle (here with , for simplicity). Below the dashed angle, the block stays put.
QuizInteractive · disabled in the PDF
With no friction, what is the acceleration down a slope of 90°, a vertical wall?
With no friction, what is the acceleration down a slope of 90°, a vertical wall?
ProblemInteractive · disabled in the PDF
A block slides down a ramp tilted at , with a coefficient of kinetic friction of . Use . Find the normal force on the block and its acceleration down the ramp.
N
m/s²
Physics51 / 232
Module 5 · Friction, springs, slopes and circles
Tilt until it slips to measure friction
Put a block on a board and tilt the board slowly. Just before it slips, static friction is at its limit and balances the pull down the slope: . Everything cancels except the angle: . That is how coefficients of friction are measured with nothing but a protractor.
QuizInteractive · disabled in the PDF
A phone on a tilted book starts to slide when the book is at 25°. What is between them?
A phone on a tilted book starts to slide when the book is at 25°. What is between them?
Friction is an approximation. is an empirical rule, not a law of nature. Real surfaces touch at tiny peaks, and the true contact area grows with the load, which is why friction tracks and not the apparent area. It fails for rubber at high speed, for lubricated surfaces, and at very small scales; engineers measure for the case at hand.
Physics52 / 232
Module 5 · Friction, springs, slopes and circles
An Atwood machine: two masses and a pulley
Hang two masses over a light, frictionless pulley on one rope. The heavier one falls, the lighter rises, with the same size of acceleration, and the rope has one tension . Write the second law for each mass, taking each one’s direction of motion as positive:
With 3 kg and 2 kg: and , between the two weights, 19.6 and 29.4 N.
Code challengeInteractive · disabled in the PDF
Write atwood(m1, m2) for an Atwood machine with g = 9.8: return a Result holding the acceleration a, positive when m1 falls, and the rope’s tension.
Stretch or squash a spring by from its natural length, and it pushes or pulls back with a force proportional to : Hooke’s law, . The minus sign says the force points back towards the natural length; the spring constant , in N/m, says how stiff it is. A car’s suspension spring has around ; a slinky, less than 1.
|F| = k x
Force (N)10
The size of the spring’s force against the stretch: a straight line of slope . The shaded area will turn out, in module 6, to be the energy stored in the spring.
Fill the blanksInteractive · disabled in the PDF
A 2 N weight stretches a spring by 4 cm. Find , then how far a 5 N weight stretches it.
C++
1double force =2; // N2double stretch =0.04; // m: 4 cm3double k =; // 50 N/m4double newStretch =; // 0.1 m, for 5 N5std::cout << k <<" "<< newStretch <<"\n";
Physics54 / 232
Module 5 · Friction, springs, slopes and circles
Drag grows with speed until it balances weight
Air pushes back on anything moving through it. For a skydiver, a car or a ball at everyday speeds, the drag force grows with the square of the speed: , where (rho) is the air’s density, about , the area facing the flow, and the drag coefficient, a number for the shape. A falling body speeds up until drag equals its weight; then the net force is zero and it falls at a steady terminal velocity.
An 80 kg skydiver, spread out belly-down with : about 184 km/h. Head-down, shrinks and they pass 80 m/s.
With drag
No air
vₜ
Time to reach 90% of vₜ (s)7.661
Speed against time falling from rest with drag, , beside free fall without air. Early on, the two agree; then drag takes over.
QuizInteractive · disabled in the PDF
A skydiver is falling at terminal velocity. Which statement is true?
A skydiver is falling at terminal velocity. Which statement is true?
Physics55 / 232
Module 5 · Friction, springs, slopes and circles
Simulate a fall with drag
Here is where stepping (module 2) pays off. With drag, the acceleration (with and down positive) depends on the speed, so the constant-acceleration equations do not apply. A loop does not care: work out from the current , step, repeat.
Code challengeInteractive · disabled in the PDF
Write fallWithDrag(mass, k, dt, steps): start from rest, take steps steps of size dt, each with acceleration 9.8 - (k / mass) * v * v (down is positive), and return the final speed v.
Module 3 showed that moving in a circle needs an acceleration towards the centre. By the second law, that needs a net inward force, the centripetal force . It is not a new kind of force: it is a job done by friction, tension, gravity or a normal force. On a flat road it is friction from the tyres, so the fastest safe speed is when friction is at its limit:
A 50 m bend on dry tarmac (): about 71 km/h. On ice, with , only 7 m/s. The car’s mass cancels.
A banked curve tilts the road, so the normal force leans inward and supplies some of the centripetal force. With no friction at all, there is one speed at which a car can go round: . For and , that is about 13.4 m/s; race tracks bank steeply for the same reason.
QuizInteractive · disabled in the PDF
A car takes a flat, dry bend at a steady speed. What force points towards the centre of the bend?
A car takes a flat, dry bend at a steady speed. What force points towards the centre of the bend?
Physics57 / 232
Module 5 · Friction, springs, slopes and circles
Going over the top of a loop
At the top of a roller-coaster loop of radius , both gravity and the track’s normal force point down, towards the centre: . The slower the car, the smaller must be. The slowest it can go and still stay on the track is when reaches zero and gravity alone provides the centripetal force: , so .
QuizInteractive · disabled in the PDF
What is the slowest speed at which a car can pass the top of a loop of radius 10 m without leaving the track?
What is the slowest speed at which a car can pass the top of a loop of radius 10 m without leaving the track?
Why loops are not circles. Real coaster loops are teardrop-shaped (clothoid loops): tight at the top, where the car is slow, and wide at the bottom, where it is fast. A circle big enough to clear the top safely would press riders into their seats at the bottom with six or more times their weight.
Physics58 / 232
Module 5 · Friction, springs, slopes and circles
Practice problems
ProblemInteractive · disabled in the PDF
A mass and a mass hang on either side of a light, frictionless pulley, joined by one rope, and are let go from rest. Use . Find their acceleration, the tension in the rope, and how far the heavier mass falls in the first .
m/s²
N
m
ProblemInteractive · disabled in the PDF
A spring hangs from a hook. Hanging a mass on it stretches it by . Use . What is its spring constant, and how far, in centimetres, does a mass stretch it?
N/m
cm
ProblemInteractive · disabled in the PDF
A car takes a flat curve of radius at a steady . Use . What sideways friction force must the road supply, and what is the smallest coefficient of static friction that can provide it?
N
ProblemInteractive · disabled in the PDF
A curve of radius is banked so that cars going round at need no friction at all. Use . At what angle, in degrees, is the road banked?
°
Physics59 / 232
Module 5 · Friction, springs, slopes and circles
More practice: drag and loops
ProblemInteractive · disabled in the PDF
A skydiver has a terminal velocity of . Take the drag as , with fixed, and . Find , then the drag force and the skydiver’s acceleration at the moment they are falling at .
kg/m
N
m/s²
ProblemInteractive · disabled in the PDF
A roller-coaster car passes the top of a circular loop of radius at , its riders upside down. Use . What is the size of the normal force from the seat on a rider there, and what is the slowest speed at which the car could pass the top without leaving the track?
N
m/s
Physics60 / 232
Module 5 · Friction, springs, slopes and circles
Recap
Static friction is as big as needed, up to ; kinetic friction is .
On a slope, the weight splits into along it and into it.
Something slips when exceeds .
Atwood machine: ; write the second law for each mass.
Hooke’s law: , up to the elastic limit.
Drag grows as ; terminal velocity is where it equals the weight.
Circular motion needs a net inward force , supplied by friction, tension, gravity or a normal force.
When the force depends on speed or position, step it in a loop.
FlashcardsInteractive · disabled in the PDF
Kinetic friction
, against the sliding.
Largest static friction
: a ceiling, not the value.
Weight along a slope
.
Normal force on a slope
, if nothing else pushes.
Hooke’s law
; is in N/m.
Terminal velocity
Drag equals weight: .
Centripetal force
towards the centre, provided by real forces.
Slowest speed over the top of a loop
.
Module 6: Work and energy
Physics61 / 232
Module 6 · Work and energy
Energy is never made or destroyed, only moved
Forces and accelerations describe motion moment by moment. Energy is a different bookkeeping: a single number that a system has, which changes form (motion, height, heat, chemical bonds, electricity) but whose total stays the same. That is the law of conservation of energy, and no experiment has ever broken it. Its SI unit is the joule, J: about the energy to lift an apple one metre.
Kinetic energy
Energy of motion. Anything moving has it.
Potential energy
Energy stored by position or shape: a raised weight, a stretched spring.
Thermal energy
The jiggling of atoms, felt as temperature. Friction makes it.
Work
Energy moved into or out of an object by a force acting over a distance.
QuizInteractive · disabled in the PDF
A car brakes to a stop. Where does its energy of motion go?
A car brakes to a stop. Where does its energy of motion go?
Physics62 / 232
Module 6 · Work and energy
Work is force times distance along the force
When a constant force acts on an object that moves a displacement , the work done by that force is the force’s component along the motion times the distance: , where is the angle between the force and the displacement. . Work can be positive (the force helps the motion), negative (it opposes it, like friction) or zero (it acts at right angles).
Pulling a suitcase 20 m along a station platform, with a 50 N pull on a handle at 30° above the ground. Only the forward part of the pull does work.
QuizInteractive · disabled in the PDF
You carry a heavy bag across a level room at constant velocity. How much work does the upward force of your hand do on the bag?
You carry a heavy bag across a level room at constant velocity. How much work does the upward force of your hand do on the bag?
ProblemInteractive · disabled in the PDF
You pull a sled across level snow with a rope, pulling with at above the horizontal. Friction on the sled is a steady . Find the work done by your pull, the work done by friction (with its sign), and the net work done on the sled.
J
J
J
Physics63 / 232
Module 6 · Work and energy
When the force changes, work is the area under F against x
If the force varies along the way, chop the path into small pieces where it is nearly constant and add for each: that is the area under the force–position graph, just as displacement was the area under velocity–time in module 2. (In calculus, .) Stretching a spring from 0 to needs a force that rises from 0 to , so the area is a triangle:
F = k x
Work done = area (J)2.4
The force needed to stretch a spring, . The shaded triangle is the work done, .
Twice the stretch, four times the work. Because the force grows as you stretch, doubling doubles both the base and the height of the triangle: four times the area. It is the same square law as braking distance in module 2, and for a related reason you will see on the next slide.
Physics64 / 232
Module 6 · Work and energy
Kinetic energy, and the work–energy theorem
Push a mass from rest with a constant net force over a distance . From module 2, , and from the second law , so the work done is . That quantity is the kinetic energy, and the work–energy theorem says the net work done on an object is its change in kinetic energy:
A 1000 kg car at 20 m/s brakes with a steady 8000 N. The brakes do negative work equal to all its kinetic energy. No time and no acceleration needed.Kinetic energy of a 1000 kg car. Speed doubles from 20 to 40 m/s; energy goes up four times.
QuizInteractive · disabled in the PDF
The same car, with the same brakes, travels at 40 m/s instead of 20 m/s. How far does it need to stop?
The same car, with the same brakes, travels at 40 m/s instead of 20 m/s. How far does it need to stop?
ProblemInteractive · disabled in the PDF
A car slows from to . How much work do the brakes do on it? Give it with its sign. If the braking force is a steady , over what distance does the car slow down?
J
m
Physics65 / 232
Module 6 · Work and energy
Potential energy is stored work
Lift a mass by a height at a steady speed and you do work against gravity. That energy is not lost: let go and gravity gives it back as kinetic energy. It is stored as gravitational potential energy, . Only changes in height matter, so you may measure from any level you like (the floor, the table, sea level), as long as you stick with it.
Gravitational potential energy near the Earth’s surface, and the elastic potential energy of a spring stretched or squashed by : the triangle from the last slide but one.
Fill the blanksInteractive · disabled in the PDF
A toy launcher’s spring () is squashed by 10 cm and fires a 50 g ball. Find the stored energy and the launch speed.
C++
1double k =200; // N/m2double x =0.1; // m3double stored =0.5* k *; // 1 J4double mass =0.05; // kg5// all the stored energy becomes kinetic: stored = 0.5 * mass * v * v6double speed = std::sqrt();7std::cout << stored <<" "<< speed <<"\n"; // 1, about 6.32 m/s
Physics66 / 232
Module 6 · Work and energy
Without friction, kinetic plus potential stays constant
When only gravity and springs do work (they are conservative forces: the work they do depends only on where you start and end), the mechanical energy never changes. Energy flows between kinetic and potential, but the sum is fixed. Drop a ball from height : at height , .
Potential mgh
Kinetic ½mv²
Total
Speed there (m/s)14
A 2 kg ball dropped from rest. As it falls (moving left along the axis), potential energy turns into kinetic; the total stays flat.The same answer as the free-fall example in module 2, with no time at all. The mass cancels, as it must.
Code challengeInteractive · disabled in the PDF
Write speedAfterDrop(startSpeed, drop): something moving at startSpeed (m/s) descends a height drop (m) with no friction, g = 9.8. Return its speed at the bottom. (It does not matter which way it was moving.)
Conservation of energy is powerful because it skips all the detail in between. A ball rolling down a steep ramp, a gentle ramp or a twisting slide, all frictionless and all from the same height, reaches the bottom with the same speed. Forces would need the slope at every point; energy only needs the heights at the two ends.
QuizInteractive · disabled in the PDF
Two children start from rest at the top of two frictionless water slides, both 6 m high. One is straight and steep; the other is long and winding. Which child is faster at the bottom?
Two children start from rest at the top of two frictionless water slides, both 6 m high. One is straight and steep; the other is long and winding. Which child is faster at the bottom?
Going deeper
A force is conservative exactly when the work it does around any closed loop is zero, so it can have a potential energy with : the force points downhill on the graph of . Gravity, springs and (later) the electric force are conservative. Friction is not: drag a box round a loop and back, and friction has done negative work all the way.
Physics68 / 232
Module 6 · Work and energy
Friction turns mechanical energy into heat
Friction and drag are non-conservative: the work they do depends on the path, and it takes mechanical energy away for good, as thermal energy. The energy is still all there, just no longer as motion or height. The rule becomes: the work done by non-conservative forces equals the change in mechanical energy, .
A 30 kg child on a sledge goes down a 10 m high hill and reaches 12 m/s, not the 14 m/s friction-free sliding would give. 780 J went into warming the snow and the runners.
QuizInteractive · disabled in the PDF
A ball dropped from 2.0 m bounces back to 1.5 m. What fraction of its mechanical energy did the bounce lose?
A ball dropped from 2.0 m bounces back to 1.5 m. What fraction of its mechanical energy did the bounce lose?
Physics69 / 232
Module 6 · Work and energy
Power is how fast energy is moved
Power is energy transferred per unit time, , measured in watts: . Climbing the stairs slowly or fast takes the same energy, but running up takes more power. For a force pushing something at speed , . A kilowatt-hour (kWh), the unit on an electricity bill, is 1000 W for an hour: .
A 70 kg person running up one floor (3.0 m) in 4.0 s, and the power to push a car through 600 N of drag at 90 km/h.
Code challengeInteractive · disabled in the PDF
Write inputPower(mass, height, seconds, efficiency): the power (W) that must be supplied to lift mass (kg) by height (m) in seconds, by a machine that turns only the fraction efficiency (between 0 and 1) of its input into lifting. Use g = 9.8.
C++
1doubleinputPower(double mass,double height,double seconds,2double efficiency){3return mass *9.8* height; // TODO4}
ProblemInteractive · disabled in the PDF
A pump lifts of water every minute through a height of . Use . What useful power does it deliver, and how much electrical power does it draw if it is 70% efficient?
W
W
Physics70 / 232
Module 6 · Work and energy
Efficiency: how much of the energy does the job
No machine turns all the energy put in into the form you want; the rest is usually heat. The efficiency is the useful energy out divided by the energy in, ( is the Greek eta), between 0 and 1, or as a percentage. It can never exceed 100%: that would be making energy.
Rough efficiencies. Electric motors are excellent; anything that burns fuel loses most of it as heat, for reasons the heat module explains.
QuizInteractive · disabled in the PDF
An electric winch uses 500 J of electrical energy to lift a 10 kg box by 4.0 m. What is its efficiency?
An electric winch uses 500 J of electrical energy to lift a 10 kg box by 4.0 m. What is its efficiency?
Physics71 / 232
Module 6 · Work and energy
Practice problems
ProblemInteractive · disabled in the PDF
A roller-coaster car starts from rest at the top of a hill. Ignore friction and use . How fast is it moving at ground level, and at the top of the next hill, high?
m/s
m/s
ProblemInteractive · disabled in the PDF
A toy’s spring, with , is squashed by and then fires a ball straight up. Ignore air and use . Find the energy stored in the spring, and how high above its starting point the ball rises. How high would a ball rise?
J
m
m
ProblemInteractive · disabled in the PDF
A child slides from rest down a playground slide that is high and long, and reaches the bottom at . Use . How much mechanical energy did friction turn into heat, and what was the average friction force along the slide?
J
N
ProblemInteractive · disabled in the PDF
A block slides from rest down a frictionless ramp high, then out onto a rough level floor, where the coefficient of kinetic friction is . Use . How fast is it moving at the bottom of the ramp, and how far does it slide across the floor before it stops?
m/s
m
Physics72 / 232
Module 6 · Work and energy
Recap
Energy changes form but its total is conserved; it is measured in joules.
Work ; for a varying force, the area under against .
Kinetic energy ; net work equals the change in kinetic energy.
Potential energy: for gravity, for a spring.
With only conservative forces, is constant, whatever the path.
Friction’s work turns mechanical energy into thermal energy: .
Power is energy per second, , in watts.
Efficiency is useful energy out over energy in, always below 100%.
FlashcardsInteractive · disabled in the PDF
Joule
: a newton pushing for a metre.
Work by a force at angle
.
Kinetic energy
.
Work–energy theorem
.
Elastic potential energy
.
Speed after falling from rest
, whatever the path, if no friction.
Watt
.
Kilowatt-hour
.
Module 7: Momentum and collisions
Physics73 / 232
Module 7 · Momentum and collisions
Momentum is mass times velocity
A slow lorry and a fast tennis ball can both be hard to stop. Momentum puts a number on that: , mass times velocity. It is a vector, pointing the way the object moves, and its unit is the kilogram metre per second, kg·m/s. Like energy, momentum is conserved, but under different conditions and with a sign, and the two together solve most collision problems.
QuizInteractive · disabled in the PDF
Which has more momentum: a 1500 kg car rolling at 1 m/s, or a 10 g bullet flying at 400 m/s?
Which has more momentum: a 1500 kg car rolling at 1 m/s, or a 10 g bullet flying at 400 m/s?
Physics74 / 232
Module 7 · Momentum and collisions
Impulse: a force over time changes momentum
Newton actually wrote his second law in terms of momentum: the net force is the rate of change of momentum, (with constant mass, that is ). Rearranged, a force acting for a time gives an impulse , which equals the change in momentum. When the force varies, the impulse is the area under the force–time graph.
Force
Impulse = area (N·s)30
Average force (N)600
Peak force (N)942.478
Stopping a 5 kg head moving at 6 m/s needs an impulse of 30 N·s: the shaded area. Spread it over a longer time and the peak force falls. That is what an airbag does.A 150 g cricket ball arrives at 40 m/s and leaves the bat at 50 m/s the other way, after 1 ms of contact. Reversing direction counts double.
QuizInteractive · disabled in the PDF
In a crash, how does an airbag protect your head?
In a crash, how does an airbag protect your head?
ProblemInteractive · disabled in the PDF
A tennis ball arrives at a racket at and leaves at , straight back the way it came, after of contact. Find the size of the impulse on the ball and the average force of the racket on it.
kg·m/s
N
Physics75 / 232
Module 7 · Momentum and collisions
In an isolated system, total momentum never changes
When two objects push on each other, the third law says the forces are equal and opposite, and they last exactly as long. So the impulses are equal and opposite, and whatever momentum one gains the other loses. If no external force acts (the system is isolated), the total momentum stays the same: . This holds in every collision, explosion and push, however violent and however complicated.
A 60 kg adult and a 40 kg child stand still on ice and push apart. The child glides off at 3.0 m/s; the adult moves the other way, slower.
QuizInteractive · disabled in the PDF
A 500 kg cannon on frictionless wheels fires a 5 kg ball forward at 200 m/s. How fast does the cannon roll backwards?
A 500 kg cannon on frictionless wheels fires a 5 kg ball forward at 200 m/s. How fast does the cannon roll backwards?
ProblemInteractive · disabled in the PDF
A skater stands at rest on smooth ice and throws a ball forward at . How fast does she slide backwards?
m/s
Physics76 / 232
Module 7 · Momentum and collisions
Objects that stick together lose kinetic energy
In a perfectly inelastic collision the objects stick together and move off as one. Momentum is conserved, so the shared final velocity is the total momentum over the total mass. Kinetic energy is not conserved: some goes into bending metal, heat and sound.
A 1000 kg car at 20 m/s runs into a parked 1500 kg car and they lock together: 120 kJ of kinetic energy becomes damage and heat.The same crash in energy. The momentum is 20 000 kg·m/s before and after; the kinetic energy drops from 200 kJ to 80 kJ.
Code challengeInteractive · disabled in the PDF
Write stickTogether(m1, v1, m2, v2) for two objects on a line that collide and stick. Return a Collision holding v, their shared velocity, and energyLost, the kinetic energy lost (J).
C++
1structCollision{2double v; // shared velocity afterwards, m/s3double energyLost; // J4};56CollisionstickTogether(double m1,double v1,double m2,double v2){7double v =(v1 + v2)/2; // TODO: is this right?8double energyLost =0; // TODO9return{v, energyLost};10}
Physics77 / 232
Module 7 · Momentum and collisions
Elastic collisions keep the kinetic energy too
In an elastic collision, kinetic energy is conserved as well as momentum: the objects bounce apart with no loss, like (nearly) billiard balls, steel ball bearings or gas molecules. Two conservation laws give two equations, enough to find both final velocities on a line:
The primes mean "after". For equal masses they swap velocities: Newton’s cradle.
Ball 1 after
Ball 2 after
Ball 1 after (× v₁)0
Ball 2 after (× v₁)1
Ball 1 hits ball 2 at rest, elastically. Drag the mass ratio: a light ball bounces back, an equal one stops dead, a heavy one carries on and sends ball 2 off at up to twice its speed.
Code challengeInteractive · disabled in the PDF
Write elastic(m1, v1, m2, v2) for an elastic collision on a line. Return the two velocities afterwards, as a Velocities with fields v1 and v2.
Momentum is conserved in all of them, because the forces in a collision are internal and come in third-law pairs. Kinetic energy is conserved only if nothing gets bent, squashed or heated. Real collisions sit between the two extremes.
QuizInteractive · disabled in the PDF
Two cars collide and lock together. Comparing just before with just after the crash, what is conserved?
Two cars collide and lock together. Comparing just before with just after the crash, what is conserved?
Physics79 / 232
Module 7 · Momentum and collisions
In two dimensions, each component is conserved
Momentum is a vector, so conservation holds for each component separately: total before equals total after, and the same for . A ball that hits another off-centre sends both off at angles; their sideways momenta must cancel, since there was none before.
Ball 1 moving along hits ball 2 at rest; afterwards they leave at angles and on either side.
QuizInteractive · disabled in the PDF
On a pool table, a moving ball hits an identical ball at rest, off-centre, in an (almost) elastic collision. What is the angle between their paths afterwards?
On a pool table, a moving ball hits an identical ball at rest, off-centre, in an (almost) elastic collision. What is the angle between their paths afterwards?
Physics80 / 232
Module 7 · Momentum and collisions
The centre of mass moves as if all the mass were there
The centre of mass of a group of objects is their mass-weighted average position, . It is the balance point, and it moves as if the whole mass were concentrated there and every external force acted on it. With no external force, it moves at constant velocity, whatever the parts do: a firework’s fragments fly apart, but their centre of mass carries on along the original parabola.
The Earth and Moon orbit their shared centre of mass, measured from the Earth’s centre. It is 4670 km out, inside the Earth (radius 6370 km), so the Earth wobbles monthly.
Code challengeInteractive · disabled in the PDF
Write centreOfMass(masses, positions): given matching vectors of masses and positions on a line, return the position of their centre of mass.
A rocket in space has nothing to push against. It moves by momentum conservation: it throws exhaust gas backwards at high speed , and gains forward momentum to match. Its thrust is the exhaust speed times the mass thrown out per second. As it burns fuel it gets lighter, so the same thrust accelerates it more, and adding up the small pushes gives the rocket equation, from Konstantin Tsiolkovsky in 1903:
The change of speed from burning fuel, with the starting mass and the mass left. is the natural logarithm.
Δv = vₑ ln(m₀/m_f)
Δv (m/s)6907.755
Mass ratio for 9.4 km/s22.95
Reaching low Earth orbit takes a of about 9.4 km/s (counting losses to gravity and air). With a 3 km/s exhaust, that needs a mass ratio of about 23: the rocket must be over 95% fuel.
QuizInteractive · disabled in the PDF
Why do rockets that reach orbit use several stages?
Why do rockets that reach orbit use several stages?
ProblemInteractive · disabled in the PDF
A rocket in deep space, far from any planet, has an exhaust speed of . It starts at and burns of fuel per second until its mass is . Find its thrust, how long the burn lasts, and how much its speed changes.
N
s
m/s
Going deeper
Derivation: in a time the rocket, mass , ejects mass backwards at relative to itself. Momentum conservation in the rocket’s frame gives . So , and adding up (integrating) from down to gives . Gravity and drag are left out; near the ground they subtract from the as the rocket climbs.
Physics82 / 232
Module 7 · Momentum and collisions
Practice problems
ProblemInteractive · disabled in the PDF
A railway wagon rolling at runs into a stationary wagon, and they couple together. Find their speed just afterwards, and the kinetic energy lost in the coupling.
m/s
J
ProblemInteractive · disabled in the PDF
On a smooth track, a cart moving at hits a cart at rest, in an elastic collision. Taking the first cart’s direction as positive, find both velocities afterwards, with their signs.
m/s
m/s
ProblemInteractive · disabled in the PDF
To measure a bullet’s speed, it is fired into a wooden block hanging from strings. The bullet stays in the block, which swings up until it is higher than where it started. Use . How fast did the block (with the bullet in it) move just after the hit, and how fast was the bullet going before it?
m/s
m/s
ProblemInteractive · disabled in the PDF
At a crossroads, a car heading east at collides with a van heading north at , and they lock together. Just after the crash, how fast do they move, and in what direction, in degrees north of east?
m/s
° north of east
Physics83 / 232
Module 7 · Momentum and collisions
Recap
Momentum is a vector, in kg·m/s.
Impulse equals the change in momentum; longer stops mean smaller forces.
With no external force, total momentum is conserved, in every collision and explosion.
Elastic collisions also conserve kinetic energy; inelastic ones lose some; sticking loses the most.
In two dimensions, each component of momentum is conserved separately.
The centre of mass is the mass-weighted average position; external forces alone move it.
Rockets: .
FlashcardsInteractive · disabled in the PDF
Momentum
.
Impulse
: the area under force–time.
When is momentum conserved?
When no net external force acts on the system.
Elastic collision
Momentum and kinetic energy both conserved.
Perfectly inelastic collision
The objects stick; momentum conserved, the most kinetic energy lost.
Equal masses, elastic, one at rest
On a line they swap velocities; off-centre they leave at 90°.
Centre of mass
.
Rocket equation
.
Module 8: Rotation and torque
Physics84 / 232
Module 8 · Rotation and torque
Angles, angular velocity and angular acceleration
A spinning wheel goes nowhere, yet every point on it moves. To describe it as a whole, use angles. The angular position is measured in radians: the arc length divided by the radius, so a full turn is , about 6.28. The angular velocity (omega) is how fast the angle changes, in rad/s; the angular acceleration (alpha) is how fast changes, in .
A point at radius travels an arc , with speed and tangential acceleration . These only work with the angle in radians.
Everything on a rigid wheel shares one , but points further out move faster. A bicycle wheel of radius 0.35 m turning twice a second has , and its rim moves at , while the hub barely moves at all.
QuizInteractive · disabled in the PDF
A washing machine drum spins at 1200 revolutions per minute. What is its angular velocity?
A washing machine drum spins at 1200 revolutions per minute. What is its angular velocity?
Physics85 / 232
Module 8 · Rotation and torque
The equations of motion, for spinning
Every idea from module 2 has a rotational twin: angle for position, for velocity, for acceleration. With constant , the four equations carry over letter for letter.
In a line
Turning
Link
A ceiling fan spins up from rest to 30 rad/s in 5.0 s. How many turns does it make on the way?
Centripetal is still there. A point on a spinning wheel also has the centripetal acceleration of module 3, , towards the axis. Tangential acceleration changes its speed; centripetal acceleration changes its direction. A wheel at constant has only the second.
ProblemInteractive · disabled in the PDF
A grinding wheel spinning at 3000 revolutions per minute is switched off and slows steadily to rest in . Find its starting angular velocity in rad/s, the size of its angular deceleration, and how many turns it makes while stopping.
rad/s
rad/s²
Physics86 / 232
Module 8 · Rotation and torque
Rolling without slipping: the bottom is still
A wheel that rolls without slipping covers one circumference, , per turn. So its centre moves at . Each point’s velocity is the centre’s velocity plus its spin around the centre: at the bottom they cancel (the point touching the road is momentarily at rest, which is why tyres grip), and at the top they add to .
Path of a rim point
The wheel
Rim point speed ÷ wheel speed2
The path of a point on the rim of a rolling wheel: a cycloid. It touches the ground with zero speed, then swoops up to twice the wheel’s speed at the top.
QuizInteractive · disabled in the PDF
A bicycle moves along the road at 5 m/s. How fast is the top of its tyre moving, relative to the road?
A bicycle moves along the road at 5 m/s. How fast is the top of its tyre moving, relative to the road?
Physics87 / 232
Module 8 · Rotation and torque
Torque is the turning effect of a force
Push a door near its hinges and it barely moves; push at the handle and it swings. What turns things is torque, (tau): the force times its lever arm, the perpendicular distance from the axis to the force’s line. If the force is at angle to the line from the axis, . Its unit is the newton metre, N·m (not written as joules, though the units match).
τ = r F sin θ
Largest torque (N·m)10
Torque from a force at the end of a spanner, against the angle of the push. Square-on (90°) is best; pushing along the handle (0° or 180°) does nothing.
QuizInteractive · disabled in the PDF
A bolt needs 60 N·m to loosen. Pushing square-on, what force does that take with a 0.20 m spanner, and with a 0.50 m one?
A bolt needs 60 N·m to loosen. Pushing square-on, what force does that take with a 0.20 m spanner, and with a 0.50 m one?
ProblemInteractive · disabled in the PDF
You push on a door at its handle, from the hinges, with a force of at to the door’s surface. What torque do you apply about the hinges? What force, pushing square-on at the same place, would give the same torque?
N·m
N
Physics88 / 232
Module 8 · Rotation and torque
Moment of inertia: mass, and where it sits
The rotational second law is . The moment of inertia plays the part of mass: how hard something is to spin up. It depends on the mass and how far from the axis it is, as . Mass twice as far out counts four times as much. For solid shapes the sum becomes a formula:
Shape (mass , radius or length )
Axis
Thin hoop or ring
Through the centre, like a wheel
Solid disc or cylinder
Through the centre, like a wheel
Solid sphere
Through the centre
Thin rod
Through its middle
Thin rod
Through one end
A potter’s wheel, a 10 kg solid disc of radius 0.30 m, given a torque of 9.0 N·m.
Code challengeInteractive · disabled in the PDF
Write momentOfInertia(masses, radii): for small masses at the given distances from an axis, return .
A flywheel is a solid disc of mass and radius , turning about its centre. A motor applies a steady torque of to it, starting from rest. Ignoring friction, find its moment of inertia, its angular acceleration, and its angular velocity after .
kg·m²
rad/s²
rad/s
Physics89 / 232
Module 8 · Rotation and torque
A rolling object has two kinds of kinetic energy
A spinning object has rotational kinetic energy , the twin of . Something that rolls has both: . Roll it down a slope of height and the energy is shared between moving and spinning. Writing (so is for a hoop, for a disc) and :
Mass and radius cancel. Only the shape, through , decides the speed.Speed at the bottom of a 1.0 m high slope. Anything that rolls is slower than a block sliding without friction, because some energy goes into spin.
QuizInteractive · disabled in the PDF
A hoop, a solid disc and a solid sphere are let go together at the top of the same slope and roll without slipping. Which reaches the bottom first?
A hoop, a solid disc and a solid sphere are let go together at the top of the same slope and roll without slipping. Which reaches the bottom first?
Physics90 / 232
Module 8 · Rotation and torque
Try it: the speed of a rolling object
Code challengeInteractive · disabled in the PDF
Write rollingSpeed(height, k): the speed (m/s) at the bottom of a slope of height (m) for an object rolling from rest without slipping, whose moment of inertia is k * m * R * R. Use g = 9.8; k = 0 is a block sliding without friction.
C++
1#include<cmath>23doublerollingSpeed(double height,double k){4return std::sqrt(2*9.8* height); // TODO: the spin5}
Friction does no work here. Rolling needs static friction, to make the object spin up as it goes, yet no energy is lost to it: the contact point is at rest, so the friction force moves through no distance. That is why the energy method works so neatly. If the object skids, the contact point slides, kinetic friction does negative work, and the simple formula no longer holds.
Physics91 / 232
Module 8 · Rotation and torque
Angular momentum is conserved: spin faster by pulling in
Angular momentum is , the twin of . The rotational second law can be written , so with no external torque, stays constant. A figure skater spinning with arms out has a large ; pulling them in shrinks , and must grow to keep the same.
ω = L / I
Turns per second2.001
Kinetic energy ½Iω² (J)316.261
A skater with : at 2 turns per second, arms out. Pull the arms in and watch the spin rate, and the kinetic energy, climb.
QuizInteractive · disabled in the PDF
A spinning skater pulls her arms in and her moment of inertia halves. What happens to her angular velocity and her rotational kinetic energy?
A spinning skater pulls her arms in and her moment of inertia halves. What happens to her angular velocity and her rotational kinetic energy?
Going deeper
For a single particle, , a cross product, so angular momentum is a vector along the spin axis (curl your right hand’s fingers with the spin; your thumb points along ). A planet’s angular momentum about the Sun is conserved because gravity points straight at the Sun and has no lever arm: module 9 shows that this is Kepler’s second law.
Physics92 / 232
Module 8 · Rotation and torque
Balance needs zero net force and zero net torque
An object in static equilibrium neither moves nor turns, so two conditions hold: and about any point you choose. Pick the point cleverly, where an unknown force acts, and that force drops out of the torque equation. On a seesaw, taking torques about the pivot, the clockwise torques must equal the anticlockwise ones.
Fill the blanksInteractive · disabled in the PDF
A 30 kg child sits 2.0 m from a seesaw’s pivot. Where must a 40 kg child sit, on the other side, to balance it?
C++
1double g =9.8;2double childMass =30;3double childDistance =2.0; // m from the pivot4double otherMass =40;5double torque = childMass * g *;6double otherDistance = torque /();7std::cout << otherDistance <<"\n"; // 1.5 m
Where does gravity act?. For torques, the weight of an object acts at its centre of gravity, the same point as its centre of mass in a uniform field. A uniform plank’s weight acts at its middle. That is why a ladder against a wall, a crane’s counterweight and a bookshelf bracket can all be solved with one torque equation.
Physics93 / 232
Module 8 · Rotation and torque
A spinning top turns sideways instead of falling
A torque changes angular momentum, and is a vector. When the torque is at right angles to , it changes ’s direction, not its size. That is a gyroscope: gravity tries to tip a spinning top over, but instead of falling, its axis sweeps slowly around in a circle, called precession. The faster it spins, the bigger , and the slower it precesses: .
QuizInteractive · disabled in the PDF
You hold a fast-spinning bicycle wheel by one end of its axle, axle horizontal, and let go of the other end. What happens?
You hold a fast-spinning bicycle wheel by one end of its axle, axle horizontal, and let go of the other end. What happens?
The Earth is a gyroscope. The Earth spins and bulges at the equator, and the Sun and Moon pull on the bulge, giving a torque. The axis precesses once every 26 000 years or so. Today it points near Polaris; in about 12 000 years it will point near Vega. Satellites and phones use the same physics, in spinning or vibrating gyroscopes, to sense which way they are turning.
Physics94 / 232
Module 8 · Rotation and torque
Practice problems
ProblemInteractive · disabled in the PDF
A solid ball rolls from rest, without slipping, down a ramp high. Use . How fast is it moving at the bottom? How fast would a hoop be moving, rolling down the same ramp?
m/s
m/s
ProblemInteractive · disabled in the PDF
A skater spins at 1.5 revolutions per second with her arms out, when her moment of inertia is . She pulls her arms in, and it drops to . Ignoring friction with the ice, how fast does she now spin, in revolutions per second, and by what factor does her rotational kinetic energy grow?
rev/s
ProblemInteractive · disabled in the PDF
A uniform plank long, of mass , rests on two supports, one under each end. A painter stands on it from the left end. Use . Find the upward force from each support.
N
N
ProblemInteractive · disabled in the PDF
A mass hangs from a light string wound round a pulley, a solid disc of mass and radius , free to turn on a frictionless axle. The mass is let go. Use . Find the mass’s acceleration and the tension in the string.
m/s²
N
Physics95 / 232
Module 8 · Rotation and torque
Recap
Angles in radians: , , .
The constant-acceleration equations work for , and .
Rolling without slipping: , the contact point is still, the top moves at .
Torque ; .
Moment of inertia : mass far from the axis counts most.
Rotational kinetic energy ; rolling shares energy between moving and spinning.
Angular momentum is conserved when no external torque acts.
Static equilibrium: no net force and no net torque.
FlashcardsInteractive · disabled in the PDF
Radian
Arc length over radius; a full turn is rad.
Linking linear and angular speed
.
Torque
, in N·m.
Second law for rotation
.
Moment of inertia of a solid disc
.
Rotational kinetic energy
.
Angular momentum
; constant without an external torque.
Precession
A torque at right angles to swings the spin axis round instead of tipping it.
Module 9: Gravity and orbits
Physics96 / 232
Module 9 · Gravity and orbits
Every mass attracts every other mass
Newton’s great leap was to see that the force pulling an apple down is the same force holding the Moon in orbit. His law of universal gravitation: any two masses attract each other with a force along the line between them, proportional to both masses and to one over the square of the distance between their centres.
is the gravitational constant, the same everywhere in the universe. It is tiny, which is why gravity between everyday objects goes unnoticed.Two 70 kg people a metre apart: about the weight of a grain of fine sand. It takes a planet’s mass to make gravity feel strong.
QuizInteractive · disabled in the PDF
A space probe moves from 1 million km to 3 million km from a planet. By what factor does the planet’s pull on it change?
A space probe moves from 1 million km to 3 million km from a planet. By what factor does the planet’s pull on it change?
Going deeper
Using as the distance between centres works because of Newton’s shell theorem: a spherically symmetric body pulls on anything outside it exactly as if all its mass were at its centre. He reportedly delayed publishing until he could prove it. Henry Cavendish measured in 1798 with lead balls on a twisting wire, and so "weighed the Earth" for the first time.
Physics97 / 232
Module 9 · Gravity and orbits
Little g comes from big G
Near a planet of mass and radius , your weight is the gravitational force: . Your mass cancels, which is why everything falls at the same rate, and what is left is the planet’s surface gravity:
The 9.8 used all along, from the Earth’s mass and radius. It varies a little with latitude and height.Surface gravity across the Solar System, in m/s². (The Sun’s is about 274.) A planet can be big and still have modest gravity: Saturn is barely above Earth.
QuizInteractive · disabled in the PDF
The International Space Station orbits about 400 km up, where the Earth’s gravity is about . Why do astronauts there float?
The International Space Station orbits about 400 km up, where the Earth’s gravity is about . Why do astronauts there float?
ProblemInteractive · disabled in the PDF
Mars has a mass of and a radius of . With , find the gravitational field strength at its surface, and the weight there of an astronaut whose mass is .
m/s²
N
Physics98 / 232
Module 9 · Gravity and orbits
A gravitational field fills the space around a mass
Rather than a force between two objects, think of each mass as filling space with a gravitational field: at every point, a vector saying what force each kilogram would feel there, in N/kg. Outside a planet it points to the centre with strength . Inside, only the mass closer to the centre than you pulls (the shell theorem again), so for a planet of uniform density the field grows in proportion to , from zero at the centre.
g(r)
g there (N/kg)2.45
Field strength against distance from the centre, in Earth radii, for an Earth of uniform density. Drag the distance: at 2 radii, a quarter; at 10, a hundredth.
The real Earth. The real Earth is not uniform: its iron core is far denser than its rocks, so actually rises slightly as you go down, to about at the core’s edge, before falling to zero at the centre. The straight line inside is the uniform model.
Physics99 / 232
Module 9 · Gravity and orbits
An orbit is falling and always missing
Newton imagined a cannon on a very tall mountain. Fire it faster and the ball lands further away; fire it fast enough and the ground curves away beneath it as fast as it falls, so it never lands: it is in orbit. For a circular orbit of radius , gravity provides exactly the centripetal force:
The station’s mass cancels. for the Earth, , is known far more precisely than or alone.
Code challengeInteractive · disabled in the PDF
With G = 6.674e-11, write orbitalSpeed(mass, r), the speed (m/s) of a circular orbit of radius r (m) around a body of mass (kg), and orbitalPeriod(mass, r), the time (s) for one orbit.
GPS satellites move on circular orbits of radius around the Earth, for which . Find their orbital speed, and their period in hours.
m/s
h
Physics100 / 232
Module 9 · Gravity and orbits
Kepler’s laws: ellipses and equal areas
Decades before Newton, Johannes Kepler found three rules in Tycho Brahe’s careful records of the planets. Newton then showed that all three follow from an inverse-square force.
Each planet moves on an ellipse with the Sun at one focus (not at the centre).
The line from the Sun to a planet sweeps out equal areas in equal times: planets move faster when closer.
The square of the period is proportional to the cube of the orbit’s size: , where is the semi-major axis, half the ellipse’s longest width.
Orbit
Closest (perihelion, AU)0.5
Farthest (aphelion, AU)1.5
Speed at closest ÷ speed at farthest3
An orbit with the Sun at the origin. Drag the eccentricity , how stretched it is: 0 is a circle, the Earth’s is 0.017, Halley’s comet’s is 0.97.
The second law is angular momentum. Gravity points straight at the Sun, so it exerts no torque about the Sun, and the planet’s angular momentum (at closest and farthest points, where is perpendicular to ) stays constant. The area swept per second is , so it is constant too. That is why the speed ratio in the readout is the inverse of the distance ratio.
Physics101 / 232
Module 9 · Gravity and orbits
Farther planets take much longer
For a circular orbit, put into and Kepler’s third law falls out, with the constant in front: . In astronomical units (AU, the Earth’s average distance from the Sun) and years, it is simply for anything orbiting the Sun.
T = a^(3/2)
Period (years)8
The planets out to Saturn, on the curve . Drag the distance to read off the period of an orbit there.
QuizInteractive · disabled in the PDF
An asteroid orbits the Sun with a semi-major axis of 4 AU. What is its period?
An asteroid orbits the Sun with a semi-major axis of 4 AU. What is its period?
Physics102 / 232
Module 9 · Gravity and orbits
Gravitational energy is negative, and escape means reaching zero
works near the ground, where is constant. Far out, the work to pull two masses apart gives the general gravitational potential energy . It is zero when they are infinitely far apart and negative everywhere closer: a mass near a planet is in a "well" and must be given energy to climb out. If its total energy is zero or more, it never comes back.
U/m = −GM/r
Total energy per kg
Highest point (Earth radii)2.836
Potential energy per kilogram around the Earth (the well), and the total energy of something launched straight up at speed v (the flat line). Where they meet, it stops and falls back. Reach 11.2 km/s and it escapes.The escape velocity from the Earth’s surface, ignoring air. Any direction will do, as long as it does not hit the ground.
QuizInteractive · disabled in the PDF
At the same distance from a planet, how does the escape velocity compare with the speed of a circular orbit?
At the same distance from a planet, how does the escape velocity compare with the speed of a circular orbit?
Physics103 / 232
Module 9 · Gravity and orbits
Try it: escape velocity
Code challengeInteractive · disabled in the PDF
With G = 6.674e-11, write escapeSpeed(mass, r): the speed (m/s) needed to escape from distance r (m) of a body of mass (kg).
C++
1#include<cmath>23constdouble G =6.674e-11;45doubleescapeSpeed(double mass,double r){6return std::sqrt(G * mass / r); // TODO: is this escape?7}
Physics104 / 232
Module 9 · Gravity and orbits
Geostationary orbit: one turn a day
A satellite whose period matches the Earth’s spin, one turn per sidereal day of 86 164 s (the Earth’s rotation relative to the stars, 4 minutes short of 24 hours), and which orbits above the equator, stays over the same spot. Weather and TV satellites sit there, so a dish can point at them without moving. Kepler’s third law gives the radius.
Fill the blanksInteractive · disabled in the PDF
Solve for in code.
C++
1double GM =3.986e14; // the Earth, m³/s²2double T =86164; // s3double pi = std::numbers::pi;4double r = std::(GM */(4* pi * pi));5std::cout << r /1000<<"\n"; // about 42 164 km from the centre6std::cout <<(r -6.371e6)/1000<<"\n"; // 35 793 km up
Physics105 / 232
Module 9 · Gravity and orbits
Tides come from the difference in the Moon’s pull
The Moon pulls harder on the side of the Earth facing it than on the Earth’s centre, and harder on the centre than on the far side. Relative to the centre, the near ocean is pulled towards the Moon and the far ocean is left behind: two tidal bulges, on opposite sides. As the Earth turns under them, most coasts get two high tides a day. A tidal force goes as , not , because it is the change in gravity across the Earth.
The Sun pulls on the Earth about 180 times harder than the Moon does, but it is 390 times further away, so its tidal effect is only about 46% of the Moon’s. When Sun and Moon line up (new and full moon), their tides add: big spring tides. At half moon they partly cancel: small neap tides.
QuizInteractive · disabled in the PDF
Why do most coasts get two high tides a day, not one?
Why do most coasts get two high tides a day, not one?
Physics106 / 232
Module 9 · Gravity and orbits
Simulate an orbit step by step
With three or more bodies, no formula gives the orbits: astronomers and spacecraft navigators step them. The method is module 2’s loop, in two dimensions, with gravity’s acceleration (that is, pointing at the centre). To keep numbers simple, use units where : then a body at distance 1 moving at speed 1 is in a circular orbit with period .
Code challengeInteractive · disabled in the PDF
Write stepOrbit(s, dt) for a body around a mass at the origin, with GM = 1: work out the acceleration -x / r³, -y / r³ from the current position, update the velocity, then the position with the new velocity (semi-implicit Euler), and return the new State.
1#include<cmath>2#include<iostream>3#include<numbers>45// Plain Euler against semi-implicit Euler, over one lap.6doublelap(bool semiImplicit,double dt){7double x =1, y =0, vx =0, vy =1;8for(double t =0; t <2* std::numbers::pi; t += dt){9double r3 = std::pow(std::hypot(x, y),3);10double ax =-x / r3, ay =-y / r3;11if(semiImplicit){12 vx += ax * dt; vy += ay * dt;13 x += vx * dt; y += vy * dt;14}else{15 x += vx * dt; y += vy * dt;16 vx += ax * dt; vy += ay * dt;17}18}19return std::hypot(x, y);20}2122intmain(){23 std::cout <<"plain Euler, r = "<<lap(false,0.01)<<"\n";24 std::cout <<"semi-implicit, r = "<<lap(true,0.01)<<"\n";25 // Try a start speed of 1.2 for an ellipse, or 1.5 to escape.26return0;27}
Same steps, same physics, different order: one orbit drifts away, the other stays put. Game engines use semi-implicit Euler for exactly this reason.
Going deeper
Semi-implicit Euler is symplectic: it does not conserve energy exactly, but its error stays bounded instead of growing, so orbits stay closed for millions of laps. Serious orbit codes use higher-order symplectic methods (like the leapfrog or Verlet methods) or adaptive Runge–Kutta methods that shrink the step near close approaches, where the force changes fast.
Physics107 / 232
Module 9 · Gravity and orbits
Practice problems
ProblemInteractive · disabled in the PDF
The Earth () and the Moon () are apart, centre to centre. With , find the gravitational force between them, and the acceleration it gives the Moon.
N
m/s²
ProblemInteractive · disabled in the PDF
Mars takes years to go round the Sun. Using Kepler’s third law in astronomical units and years, find the semi-major axis of its orbit. Then find the period, in years, of an asteroid whose semi-major axis is .
AU
years
ProblemInteractive · disabled in the PDF
A rocky planet has twice the Earth’s mass and 1.5 times its radius. The Earth’s surface gravity is and its escape velocity . Find the planet’s surface gravity and its escape velocity.
m/s²
km/s
ProblemInteractive · disabled in the PDF
The Earth goes round the Sun on a nearly circular orbit of radius , once every days. With , find the Earth’s orbital speed and the mass of the Sun.
m/s
kg
Physics108 / 232
Module 9 · Gravity and orbits
Recap
Universal gravitation: , an inverse-square attraction between every pair of masses.
Surface gravity ; the field outside a planet falls as .
Circular orbit: ; orbiting is free fall that keeps missing.
Kepler: ellipses with the Sun at a focus, equal areas in equal times, .
Gravitational potential energy ; escape velocity .
Tides come from the difference in pull across the Earth, falling as .
With several bodies, step the orbits: semi-implicit Euler keeps them stable.
FlashcardsInteractive · disabled in the PDF
Newton’s law of gravitation
, with .
Surface gravity
.
Circular orbital speed
.
Kepler’s third law
; in AU and years, .
Gravitational potential energy
, zero at infinity.
Escape velocity
: about 11.2 km/s from the Earth.
Geostationary orbit
Period one sidereal day, above the equator, 42 164 km from the centre.
Spring tide
Sun and Moon in line: their tides add.
Module 10: Oscillations
Physics109 / 232
Module 10 · Oscillations
Periodic motion repeats itself
A heartbeat, a swing, a guitar string, the quartz crystal in a watch: all repeat the same motion over and over. That is periodic motion, and an oscillation is periodic motion back and forth about a resting position, the equilibrium. Three numbers describe it: how far it goes, how long one cycle takes, and how many cycles happen each second.
Amplitude, $A$
The largest distance from equilibrium, in metres (or radians for a swing).
Period, $T$
The time for one full cycle, in seconds.
Frequency, $f$
Cycles per second, in hertz (Hz): . A 440 Hz tuning fork does 440 cycles a second.
Angular frequency, $\omega$
, in rad/s: the frequency counted in radians, as in module 8.
QuizInteractive · disabled in the PDF
A resting heart beats 72 times a minute. What are its frequency and period?
A resting heart beats 72 times a minute. What are its frequency and period?
Physics110 / 232
Module 10 · Oscillations
Simple harmonic motion: the restoring force is proportional to displacement
The simplest and most important oscillation happens whenever the force pulling back to equilibrium is proportional to the displacement: , like the spring of module 5. Then , so the acceleration is always towards the middle and grows the further out you go. Its solution is a cosine wave in time: simple harmonic motion (SHM).
(phi), the phase, says where in the cycle it starts. Any system with moves like this, whatever it is made of.
x = A cos(ωt + φ)
Period T = 2π/ω (s)3.142
Frequency f (Hz)0.318
Position against time in SHM. The amplitude stretches it up and down; squeezes it sideways; the phase slides it along.
Why SHM is everywhere. Near the bottom of any smooth energy valley, the force is close to proportional to the displacement (the first term of a Taylor series). So almost anything disturbed slightly from a stable equilibrium does SHM: atoms in a crystal, a boat rocking, the air in a bottle, an electric circuit. Learning it once pays off in every later module.
Physics111 / 232
Module 10 · Oscillations
Fastest in the middle, hardest pulled at the ends
The slopes of give the velocity and acceleration (module 2). For : and . The velocity is a quarter cycle out of step with the position: largest, , passing through the middle, and zero at the ends, where it turns round. The acceleration is largest, , at the ends.
x (m)
v (m/s)
a (m/s²)
x0.697
v−0.717
a−0.697
Position, velocity and acceleration for and . Drag the moment: when the position is at a peak, the velocity is zero and the acceleration is at its most negative.
QuizInteractive · disabled in the PDF
A mass bounces on a spring in SHM. Where is its speed largest, and where is its acceleration largest?
A mass bounces on a spring in SHM. Where is its speed largest, and where is its acceleration largest?
Physics112 / 232
Module 10 · Oscillations
A mass on a spring: stiffer is faster, heavier is slower
Comparing with gives . So the period depends only on the mass and the spring, not on the amplitude: a big bounce and a small one take the same time. That is what makes oscillators good clocks.
A 0.50 kg mass on a 200 N/m spring bounces about three times a second. Hanging it vertically changes where it rests, not its period.
Code challengeInteractive · disabled in the PDF
Write springPeriod(mass, k), the period (s) of a mass (kg) on a spring of constant k (N/m), and springFrequency(mass, k), its frequency (Hz).
You pull the same mass on the same spring twice as far before letting go. What happens to the period?
You pull the same mass on the same spring twice as far before letting go. What happens to the period?
ProblemInteractive · disabled in the PDF
A mass on a spring oscillates with a period of . Find the spring constant. If the amplitude is , what is the mass’s top speed?
N/m
m/s
Physics113 / 232
Module 10 · Oscillations
A pendulum keeps time with its length
A simple pendulum is a small mass on a light string of length . Pulled aside by an angle , gravity’s component along its path, , pulls it back. For small angles, (in radians), and the force becomes proportional to the displacement : SHM again, with .
A 1 m pendulum takes two seconds a swing, there and back. The mass cancels: a heavy bob and a light one keep the same time.
T = 2π √(L/g)
Period (s)2.007
Period against length. Drag to take the pendulum to the Moon (1.6) or Jupiter (24.8); drag the length to tune it.
Code challengeInteractive · disabled in the PDF
Measuring a pendulum is a classic way to find . Write gFromPendulum(length, period): solve for and return it (m/s²).
C++
1#include<numbers>23doublegFromPendulum(double length,double period){4return9.8; // TODO: work it out5}
ProblemInteractive · disabled in the PDF
Use . What length of simple pendulum has a period of ? And what length has a period of ?
m
m
Physics114 / 232
Module 10 · Oscillations
Big swings take longer
The pendulum formula relies on , which is excellent for small angles (at 10°, they differ by 0.5%) and poor for big ones. Swing wider and the restoring force is less than SHM assumes, so the swing takes longer. Galileo thought the period was independent of amplitude; for small swings he was right.
The true period of a pendulum divided by the small-angle formula, for different amplitudes. Below 15° the error is under 0.5%; at 90° it is 18%.
QuizInteractive · disabled in the PDF
A pendulum clock runs exactly on time. Over the years its swing grows from 5° to 15° (perhaps its spring was over-wound). What happens?
A pendulum clock runs exactly on time. Over the years its swing grows from 5° to 15° (perhaps its spring was over-wound). What happens?
Going deeper
The exact period needs an elliptic integral, but its first correction is simple: , with in radians. You can also just simulate it: step with the loop from module 2 and time the swing. Christiaan Huygens found in 1673 that a bob moving on a cycloid (module 8’s curve) has a period exactly independent of amplitude.
Physics115 / 232
Module 10 · Oscillations
Energy sloshes between kinetic and potential
With no friction, a spring oscillator’s mechanical energy (module 6) is constant. At the ends it is all elastic potential, ; in the middle, all kinetic, . In between, it is shared: , which gives the speed at any position, .
Potential ½kx²
Kinetic
Total ½kA²
Total energy (J)1.125
Kinetic energy here (J)1
Energy of a 100 N/m spring oscillator against position. The potential energy is a bowl; the total is a flat lid; the kinetic energy is the gap between them.
QuizInteractive · disabled in the PDF
The same spring and mass oscillate with twice the amplitude. What happens to the total energy and the top speed?
The same spring and mass oscillate with twice the amplitude. What happens to the total energy and the top speed?
Physics116 / 232
Module 10 · Oscillations
Damping makes oscillations die away
Real oscillators lose energy, to air drag or friction. Often the damping force is proportional to velocity, , and the result is an oscillation whose amplitude shrinks exponentially: , with . There are three regimes: light damping (it rings down slowly), critical damping (it returns to rest as fast as possible without overshooting), and heavy damping (it creeps back slowly).
x(t)
Envelope
Time for the amplitude to halve (s)1.733
A 1 Hz oscillator with damping rate γ, inside its shrinking envelope . Drag γ from a bell’s long ring to a quick thud.
QuizInteractive · disabled in the PDF
A car’s shock absorbers damp its springs. What damping do engineers aim for?
A car’s shock absorbers damp its springs. What damping do engineers aim for?
Physics117 / 232
Module 10 · Oscillations
Simulate a damped spring
The damped equation has a formula solution, but add a nonlinear spring or a varying push and it does not. Stepping it works for all of them: each step, the force is , so ; update , then , as in modules 2 and 9.
Put in orderInteractive · disabled in the PDF
Put one step of the damped spring simulation in order.
1.Add the new velocity × dt to the position
2.Add acceleration × dt to the velocity
3.Divide by the mass to get the acceleration
4.Work out the force from the current position and velocity: −kx − cv
Code challengeInteractive · disabled in the PDF
Write simulateSpring(m, k, c, x0, dt, steps): a mass m on a spring k with damping c, let go from rest at x0. Take steps steps of semi-implicit Euler with acceleration (-k * x - c * v) / m, and return the final position.
C++
1doublesimulateSpring(double m,double k,double c,double x0,2double dt,int steps){3double x = x0;4double v =0;5 // TODO6return x;7}
Physics118 / 232
Module 10 · Oscillations
Resonance: push at the natural frequency
Push a swing once per cycle, at the right moment, and each push adds a little energy: the swing goes higher and higher. A driven oscillator responds most strongly when the driving frequency is near its own natural frequency . That is resonance. How tall and sharp the peak is depends on the damping: little damping, a tall narrow peak.
Response
Height at the natural frequency5
The steady amplitude of a driven oscillator against how fast you drive it, compared with the natural frequency. Drag the damping: less damping, a taller, sharper peak.
QuizInteractive · disabled in the PDF
A child’s swing has a natural period of 3 s. To make it go highest with gentle pushes, how often should you push?
A child’s swing has a natural period of 3 s. To make it go highest with gentle pushes, how often should you push?
When resonance is a hazard. Engineers design so that natural frequencies stay away from likely driving frequencies. The Millennium Bridge in London swayed on opening day in 2000 because walkers fell into step with its sideways wobble; dampers fixed it. The famous Tacoma Narrows collapse (1940) was not simple resonance but flutter, where the wind’s force itself grew with the twisting, a self-exciting oscillation.
Physics119 / 232
Module 10 · Oscillations
Practice problems
ProblemInteractive · disabled in the PDF
A mass moves as , with in metres and in seconds. Find its amplitude, its period, its top speed and its largest acceleration.
m
s
m/s
m/s²
ProblemInteractive · disabled in the PDF
A mass on a spring oscillates with an amplitude of and no friction. Find its total energy, and its speed when it is from equilibrium.
J
m/s
ProblemInteractive · disabled in the PDF
A pendulum has a period of on the Earth, where . What is its period on the Moon, where ? By what factor must it be shortened to swing with a period on the Moon?
s
ProblemInteractive · disabled in the PDF
A damped oscillator’s amplitude follows . It falls from to in . Find the damping rate , and the amplitude after it was .
1/s
cm
Physics120 / 232
Module 10 · Oscillations
Recap
Period , frequency (Hz), angular frequency .
SHM happens when ; then .
Speed is largest at the middle, acceleration at the ends.
Mass on a spring: ; pendulum, for small swings: .
The period of SHM does not depend on the amplitude; a real pendulum’s does, slightly.
Energy trades between kinetic and potential.
Damping shrinks the amplitude exponentially; critical damping settles fastest.
Resonance: driving at the natural frequency gives the biggest response.
FlashcardsInteractive · disabled in the PDF
Hertz
One cycle per second.
Condition for SHM
A restoring acceleration proportional to displacement: .
Period of a mass on a spring
.
Period of a simple pendulum
, for small swings.
Top speed in SHM
, at equilibrium.
Energy of a spring oscillator
.
Critical damping
The least damping that returns to rest without overshooting.
Resonance
A large response when driven near the natural frequency.
Module 11: Waves and sound
Physics121 / 232
Module 11 · Waves and sound
A wave carries energy, not matter
Drop a stone in a pond. Rings spread out, but a leaf on the water only bobs up and down: it does not travel with the rings. A wave is a disturbance that moves through a medium (water, a rope, air) and carries energy from place to place, while each bit of the medium only wobbles about where it was. In the last module you met one oscillator; a wave is a long row of oscillators, each nudging the next.
Transverse
The medium moves across the direction the wave travels
A wave on a rope or a guitar string
Light, and all electromagnetic waves (no medium needed)
Longitudinal
The medium moves along the direction the wave travels
A push along a stretched spring (a Slinky)
Sound in air: squeezed and stretched layers of air
Medium
The stuff a wave travels through: water, a string, air, rock.
Crest and trough
The highest and lowest points of a transverse wave.
Compression and rarefaction
Regions of a longitudinal wave where the medium is squeezed together, and spread apart.
Amplitude
The biggest displacement from rest, . Bigger amplitude, more energy.
QuizInteractive · disabled in the PDF
In a stadium “wave”, each fan stands up and sits down as the wave sweeps round the stands. What kind of wave is it, and what travels round the stadium?
In a stadium “wave”, each fan stands up and sits down as the wave sweeps round the stands. What kind of wave is it, and what travels round the stadium?
Physics122 / 232
Module 11 · Waves and sound
Speed is wavelength times frequency
The wavelength (the Greek letter lambda) is the length of one full cycle of the pattern: crest to crest. The period is the time one point takes for a full wobble, and the frequency is how many wobbles happen each second, in hertz (Hz). In one period the pattern moves forward exactly one wavelength, so its speed is:
The wave equation: speed in m/s, frequency in Hz, wavelength in m.
The wave at time t
Speed v = fλ (m/s)2
Period T (s)1
A wave . Drag the time and watch the crest P move: it covers one wavelength in one period.A worked example: the sound of middle C in air is longer than you are tall.
Fill the blanksInteractive · disabled in the PDF
Finish the line that works out a wavelength from a speed and a frequency.
C++
1double wavelength =; // metres
ProblemInteractive · disabled in the PDF
Ocean waves pass a moored buoy. Their crests are apart, and the buoy makes complete up-and-down cycles in . Find the period, the frequency and the speed of the waves.
s
Hz
m/s
Physics123 / 232
Module 11 · Waves and sound
The medium sets the speed
How fast a wave travels depends on the medium, not on how hard you shake it. A stiffer medium snaps back faster; a heavier one responds more slowly. For a string under tension with mass per metre (mu):
Wave
Typical speed
Sound in air at 20 °C
343 m/s
Sound in water
about 1480 m/s
Sound in steel
about 5900 m/s
A guitar string
100 to 400 m/s
Light in a vacuum
299 792 458 m/s
QuizInteractive · disabled in the PDF
A sound wave of 500 Hz passes from air into water, where sound is about 4.3 times faster. What happens to its frequency and wavelength?
A sound wave of 500 Hz passes from air into water, where sound is about 4.3 times faster. What happens to its frequency and wavelength?
ProblemInteractive · disabled in the PDF
A guitar string has a mass of per metre and is stretched to a tension of . How fast do waves travel along it? A wave of frequency runs along it: what is its wavelength?
m/s
m
Going deeper
The speed of sound in a gas is , where is the absolute temperature and the molar mass (you meet these in the heat module). It rises with temperature, by about 0.6 m/s per degree near room temperature, and does not depend on pressure. That is why a wind instrument goes slightly sharp as it warms up.
Physics124 / 232
Module 11 · Waves and sound
Waves add up where they meet
When two waves pass through the same place, the displacement there is simply the sum of the two: the principle of superposition. Then each carries on as if the other had never been there. Where crest meets crest they build up, constructive interference; where crest meets trough they cancel, destructive interference. What decides which is the phase difference: how far one wave is shifted along its cycle, as an angle (a full cycle is radians).
Wave 1
Wave 2
Their sum
Amplitude of the sum1.76
Drag the phase difference. At 0 the waves add to amplitude 2; at π (about 3.14) they cancel completely.Two equal waves add to one wave of amplitude .
Noise-cancelling headphones. A microphone picks up the noise outside, and the speaker plays the same wave shifted by half a cycle. In your ear the two add to almost nothing. It works best for steady, low sounds like an engine’s drone, whose wave is easy to predict.
Physics125 / 232
Module 11 · Waves and sound
Path difference decides loud and quiet
Two speakers play the same note in step. At a point in the room, the waves arrive having travelled different distances. If the path difference is a whole number of wavelengths, they arrive in step and add: loud. If it is a whole number plus a half, they arrive in opposite step and cancel: quiet.
QuizInteractive · disabled in the PDF
Two speakers in step play a tone of wavelength 0.80 m. You stand 3.0 m from one and 3.4 m from the other. What do you hear?
Two speakers in step play a tone of wavelength 0.80 m. You stand 3.0 m from one and 3.4 m from the other. What do you hear?
ProblemInteractive · disabled in the PDF
Two speakers play the same note in step, and sound travels at . You stand from the first speaker and further than that from the second. What is the wavelength, and what is the smallest distance from the second speaker that puts you at a quiet spot?
m
m
Physics126 / 232
Module 11 · Waves and sound
Standing waves fit a whole number of halves
Pluck a string fixed at both ends. Waves run to each end, reflect, and run back, and the two directions superpose. At most frequencies the reflections jumble; at special ones they line up into a standing wave: a pattern that wobbles in place without moving along. Points that never move are nodes; points that move most are antinodes. The ends are fixed, so they must be nodes, which means a whole number of half-wavelengths fits the length .
Envelope
The string now
Wavelength 2L/n (m)1
Frequency nv/(2L) (Hz)100
Drag the mode number and the moment in the cycle. The dashed curves are the envelope; the nodes never move. Here L = 1 m and v = 100 m/s.The allowed frequencies are whole-number multiples of the lowest, the fundamental .
Code challengeInteractive · disabled in the PDF
Write harmonic(n, length, speed): the frequency in hertz of the nth harmonic of a string fixed at both ends, of length metres, with wave speed speed in m/s.
C++
1doubleharmonic(int n,double length,double speed){2 // A whole number of half-wavelengths fits the string3return0;4}
Physics127 / 232
Module 11 · Waves and sound
Harmonics give an instrument its voice
A real string vibrates in many modes at once. You hear the fundamental as the note, and the other harmonics (overtones) as its colour, or timbre: why a violin and a flute playing the same note sound different. A pipe works the same way with sound waves in air. An open end is a pressure node and a closed end an antinode, which changes which harmonics fit:
Pipe
What fits
Frequencies
L = 0.50 m, v = 343 m/s
Open at both ends (a flute)
whole halves of λ
, every
343, 686, 1029 Hz…
Closed at one end (a clarinet)
odd quarters of λ
, odd only
171.5, 514.5, 857.5 Hz…
The strengths of the first harmonics of a plucked string (made up but typical): the fundamental leads, the rest fade.
QuizInteractive · disabled in the PDF
A pipe closed at one end has a fundamental of 200 Hz. Which of these is also one of its resonant frequencies?
A pipe closed at one end has a fundamental of 200 Hz. Which of these is also one of its resonant frequencies?
Physics128 / 232
Module 11 · Waves and sound
Sound is a pressure wave
A speaker cone pushes forward and squeezes the air in front of it, then pulls back and leaves it thinner. Those compressions and rarefactions travel outward at about 343 m/s: a longitudinal wave of tiny pressure changes. Your eardrum is pushed in and out by them. Pitch is how you hear frequency, and loudness is how you hear amplitude (more on that next).
People hear roughly 20 Hz to 20 000 Hz (20 kHz); the top falls with age.
Below 20 Hz is infrasound (elephants, earthquakes); above 20 kHz is ultrasound (bats, medical scans).
Sound needs a medium. In space, where there is almost no air, there is no sound.
An octave up is twice the frequency: the musical scale is about ratios, not differences.
QuizInteractive · disabled in the PDF
You see lightning and hear the thunder 3.0 s later. Light takes almost no time to reach you. How far away was the strike?
You see lightning and hear the thunder 3.0 s later. Light takes almost no time to reach you. How far away was the strike?
Physics129 / 232
Module 11 · Waves and sound
Loudness is counted in decibels
The intensity of a wave is the power it carries through each square metre, in W/m². From a small source of power , sound spreads over a sphere of area , so intensity falls with the square of distance. Your ears cover an enormous range, from W/m² (barely audible) to about 1 W/m² (painful), so loudness is measured on a logarithmic scale, the sound level in decibels (dB):
A worked example: a busy street.Typical sound levels. Every 10 dB is ten times the intensity: 120 dB is a million million times 0 dB.
Code challengeInteractive · disabled in the PDF
Write soundLevel(power, distance): the sound level in decibels at distance metres from a small source radiating power watts equally in all directions.
C++
1#include<cmath>2#include<numbers>34constdouble I0 =1e-12; // W/m², the threshold of hearing56doublesoundLevel(double power,double distance){7return0;8}
Physics130 / 232
Module 11 · Waves and sound
A moving source changes the pitch
An ambulance’s siren sounds higher as it comes towards you and lower as it goes away. The siren itself doesn’t change. As the source moves forward it chases its own waves, so the crests ahead of it bunch up (shorter wavelength, higher frequency) and those behind spread out. Moving towards the source as a listener works too: you meet crests more often. This is the Doppler effect. With the speed of sound, the listener’s speed towards the source and the source’s speed towards the listener:
Speeds away from the other are negative.A 700 Hz siren on an ambulance at 30 m/s, heard by someone standing still.
f′
Heard (Hz)547.9
A 500 Hz source moving towards a still listener (negative is away). The rise as it approaches is steeper than the fall as it leaves.
Code challengeInteractive · disabled in the PDF
Write doppler(f, sourceSpeed, listenerSpeed): the frequency heard, in air at 343 m/s. Both speeds are positive when moving towards the other, negative when moving away.
When the source reaches the speed of sound, : its waves pile up into a single front, a shock wave, heard as a sonic boom. Faster still, the waves form a cone whose half-angle obeys ; the ratio is the Mach number. Light has a Doppler effect too, but because light needs no medium its formula depends only on how fast source and observer move apart, and comes from special relativity (the subject of module 18): astronomers measure galaxies’ redshifts with it.
Physics131 / 232
Module 11 · Waves and sound
Practice problems
ProblemInteractive · disabled in the PDF
A violin’s A string is long between its fixed ends and has a mass of per metre. It must sound a fundamental of . What wave speed does that need, what tension, and what is the frequency of its third harmonic?
m/s
N
Hz
ProblemInteractive · disabled in the PDF
An organ pipe closed at one end is long, and sound travels at . What is its lowest resonant frequency, and the next one above it?
Hz
Hz
ProblemInteractive · disabled in the PDF
A small loudspeaker radiates of sound equally in all directions. Find the intensity, in milliwatts per square metre, and the sound level away, with . How far away is the sound level lower?
mW/m²
dB
m
ProblemInteractive · disabled in the PDF
A train’s horn sounds at . The train comes towards you at while you stand still beside the track, passes, and goes away at the same speed. Take the speed of sound as . What frequency do you hear as it approaches, and as it goes away? By how much does the pitch drop as it passes?
Hz
Hz
Hz
Physics132 / 232
Module 11 · Waves and sound
Recap: waves and sound
A wave carries energy through a medium; the medium itself only oscillates. Transverse waves wobble across, longitudinal waves along.
. The medium sets , the source sets , and follows.
Superposition: overlapping waves add. Path difference is constructive, destructive.
Standing waves fit whole halves of a wavelength on a string: . A closed pipe has only odd harmonics.
Sound is a longitudinal pressure wave, about 343 m/s in air. ; +10 dB is ten times the intensity.
Doppler: , speeds positive towards the other.
FlashcardsInteractive · disabled in the PDF
Transverse or longitudinal: sound in air?
Longitudinal: the air moves back and forth along the direction of travel.
What stays the same when a wave enters a new medium?
The frequency. Speed and wavelength change.
Node
A point of a standing wave that never moves.
How many decibels is ten times the intensity?
10 dB more. Twice the intensity is about 3 dB more.
Why does a siren sound higher as it approaches?
The source catches up with its own waves, so they bunch up: shorter wavelength, higher frequency.
Timbre
The colour of a sound, set by the mix of harmonics above the fundamental.
Module 12: Fluids
Physics133 / 232
Module 12 · Fluids
A fluid flows, and density says how heavy it is
A fluid is anything that flows and takes the shape of its container: liquids and gases. You can’t push on one point of a fluid the way you push on a block, so instead of forces on objects we talk about density and pressure. Density (the Greek letter rho) is mass per volume:
Densities in kg/m³ at room temperature. Water is 1000: one litre has a mass of 1 kg.
QuizInteractive · disabled in the PDF
A room is 5 m by 4 m by 2.5 m. Roughly what is the mass of the air in it?
A room is 5 m by 4 m by 2.5 m. Roughly what is the mass of the air in it?
Physics134 / 232
Module 12 · Fluids
Pressure is force spread over area
Pressure is the force pressing on a surface divided by the area it presses on. Its unit, N/m², is the pascal (Pa). A fluid pushes on every surface it touches, at right angles to it, in every direction. The air around you presses at about Pa, one atmosphere.
The same 60 kg person, two shoes: a heel of 1 cm² presses 200 times harder than a 200 cm² sole.
QuizInteractive · disabled in the PDF
Why do snowshoes stop you sinking into soft snow?
Why do snowshoes stop you sinking into soft snow?
Physics135 / 232
Module 12 · Fluids
Pressure grows with depth
Picture a column of water above a small patch at depth . The patch holds up the column’s weight, , as well as the air pressing on top. Divide by the area :
is the pressure at the surface. alone is the gauge pressure, what a tyre gauge reads.
Absolute pressure
Gauge pressure
Pressure at 10 m (kPa)199.4
Drag the density. In water, every 10 m adds about one atmosphere; in mercury it takes only 0.76 m.
Only depth matters. The pressure depends on depth, not on the shape of the container or how much water there is. A dam holds back a lake 1 km long with the same pressure as a lake 10 km long of the same depth. It is thicker at the bottom because the pressure there is greatest.
Code challengeInteractive · disabled in the PDF
Write pressureAtDepth(depth, density): the absolute pressure in pascals at depth metres in a liquid of density kg/m³, with the atmosphere (101 325 Pa) on top and g = 9.81 m/s².
A diver swims below the surface of the sea. Seawater has a density of , , and the air presses on the surface at . What are the gauge pressure and the absolute pressure on the diver?
kPa
kPa
Physics136 / 232
Module 12 · Fluids
A push on a fluid reaches everywhere
Pascal’s principle: a change in pressure applied to an enclosed fluid is passed on undiminished to every part of it. A hydraulic lift uses this. Push a small piston of area with force ; the pressure reaches a big piston of area , which pushes up with:
A hydraulic lift. The liquid barely compresses, so the pressure is shared.
QuizInteractive · disabled in the PDF
In the lift above, you push the small piston down 50 cm. How far does the big piston rise?
In the lift above, you push the small piston down 50 cm. How far does the big piston rise?
Physics137 / 232
Module 12 · Fluids
Archimedes: the push up equals the fluid pushed aside
Pressure is greater lower down, so a fluid pushes up on the bottom of an object harder than it pushes down on its top. The difference is the buoyant force. Archimedes’ principle says how big it is: the weight of the fluid the object displaces (pushes out of the way).
An object sinks if its average density is greater than the fluid’s, and floats if it is less.
A floating object sinks until it displaces its own weight, so the fraction under water is .
A steel ship floats because its hull is mostly air: its average density is less than water’s.
A helium balloon rises because it displaces more weight of air than it weighs.
Fraction of a floating object under the surface of seawater (1025 kg/m³): density divided by 1025. Steel is denser than water, so it sinks: all of it goes under.
QuizInteractive · disabled in the PDF
Ice is 917 kg/m³ and seawater 1025 kg/m³. What fraction of an iceberg is above the water?
Ice is 917 kg/m³ and seawater 1025 kg/m³. What fraction of an iceberg is above the water?
ProblemInteractive · disabled in the PDF
A block of wood across and thick, of density , floats flat in fresh water (). How deep does it sit in the water? What extra mass, placed on top, would push it down until its top is level with the water?
cm
kg
Physics138 / 232
Module 12 · Fluids
Weighing something under water
Hang a stone from a spring scale and lower it into water. The scale reads less, because the buoyant force carries part of the weight. The reading is the apparent weight: true weight minus buoyancy. Archimedes used the difference to find a crown’s density, and so whether it was pure gold, without melting it.
Code challengeInteractive · disabled in the PDF
Write apparentWeight(mass, volume, fluidDensity): the reading in newtons of a scale holding a fully submerged object of mass kg and volume m³. Use g = 9.81 m/s².
C++
1constdouble g =9.81;23doubleapparentWeight(double mass,double volume,4double fluidDensity){5return mass * g;6}
Physics139 / 232
Module 12 · Fluids
Narrower pipe, faster flow
Water hardly compresses, so whatever flows into a pipe each second must flow out. The volume per second through a cross-section is the flow rate : area times speed. Where the pipe narrows, the water must speed up. This is the continuity equation, conservation of mass for a flowing fluid:
A pipe narrowing from 2 cm radius to 1 cm.
QuizInteractive · disabled in the PDF
Why does water squirt further when you put your thumb over the end of a hose?
Why does water squirt further when you put your thumb over the end of a hose?
Physics140 / 232
Module 12 · Fluids
Bernoulli: faster flow, lower pressure
Follow a little parcel of fluid along a smooth flow. Energy is conserved: the work done on it by pressure goes into its kinetic and potential energy. Written per cubic metre, this is Bernoulli’s equation, true along a streamline of a steady flow with no friction:
Pressure energy, kinetic energy and potential energy, each per cubic metre.
Where a fluid speeds up, its pressure drops. A water tank with a hole at depth below the surface: the surface and the jet are both at air pressure, so and the water leaves as fast as if it had fallen from the surface (Torricelli’s law):
v = √(2gh)
Speed (m/s)4.95
Torricelli: speed of the jet against the depth of the hole. Four times deeper, twice as fast.
Fill the blanksInteractive · disabled in the PDF
Water flows through a level pipe that narrows. Fill in the pressure in the narrow part, from Bernoulli with no change in height.
C++
1double rho =1000; // kg/m³2double p1 =150000, v1 =1, v2 =4; // Pa, m/s, m/s3double p2 = p1 +0.5* rho *();4// 142 500 Pa: lower where it is faster
ProblemInteractive · disabled in the PDF
A water tank has a small hole of area in its side, below the water’s surface. Take . How fast does the water leave the hole, and how many litres flow out each second?
m/s
L/s
Going deeper
How a wing really lifts. A popular story says air over the top must “catch up” with air underneath, so it goes faster. It doesn’t: air over the top actually arrives at the back before the air below. The honest account: the wing’s shape and angle turn the airflow downward. By Newton’s third law the air pushes the wing up, and Bernoulli describes the same thing as lower pressure above the wing than below. Both views are correct and agree; the equal-transit-time story is the part that is wrong.
Physics141 / 232
Module 12 · Fluids
Viscosity is a fluid’s internal friction
Real fluids resist flowing: honey more than water, water more than air. This internal friction is viscosity (eta), in pascal-seconds. Water at 20 °C is about Pa·s; honey is thousands of times more. Viscosity makes the fluid touching a pipe wall stand still and the middle flow fastest. For slow, smooth (laminar) flow through a pipe of radius and length , Poiseuille’s law gives the flow rate:
The fourth power of the radius: a slightly narrower pipe carries far less.
Fast flow breaks up into swirling turbulence. Which happens is predicted by the Reynolds number, the ratio of the fluid’s inertia to its viscosity: , with the pipe’s diameter. In a pipe, flow is laminar below about 2000 and turbulent above about 4000.
QuizInteractive · disabled in the PDF
Fatty deposits narrow an artery’s radius by half, with the same pressure difference across it. What happens to the blood flow, by Poiseuille’s law?
Fatty deposits narrow an artery’s radius by half, with the same pressure difference across it. What happens to the blood flow, by Poiseuille’s law?
Physics142 / 232
Module 12 · Fluids
Practice problems
ProblemInteractive · disabled in the PDF
A garage lift holds up a car on a piston of radius . Oil connects it to a small piston of radius . Take and ignore the pistons’ own weight. What force on the small piston holds the car up, and how far must the small piston move down to raise the car by ?
N
m
ProblemInteractive · disabled in the PDF
A crown has a mass of . Hung from a spring scale and fully under water (), it reads . Take . Find the buoyant force, the crown’s volume in cubic centimetres, and its density. (Pure gold is .)
N
cm³
kg/m³
ProblemInteractive · disabled in the PDF
Water flows along a level pipe of radius at , where the pressure is . The pipe then narrows to a radius of . Treat the water as frictionless, with density . Find the flow rate in litres per second, the speed in the narrow part, and the pressure there.
L/s
m/s
kPa
Physics143 / 232
Module 12 · Fluids
Recap: fluids
Density ; water is 1000 kg/m³. Pressure , in pascals.
Pressure grows with depth: , whatever the container’s shape.
Pascal: pressure on an enclosed fluid reaches everywhere, so hydraulics multiply force (not energy).
Archimedes: buoyancy equals the weight of fluid displaced. Things float if their average density is less than the fluid’s.
Continuity ; Bernoulli is constant: fast flow, low pressure.
Viscosity resists flow; Poiseuille’s ; the Reynolds number tells laminar from turbulent.
FlashcardsInteractive · disabled in the PDF
What is a pascal?
One newton per square metre, the unit of pressure. An atmosphere is about 101 325 Pa.
Gauge pressure
Pressure above the atmosphere’s: in a liquid. What a tyre gauge shows.
Archimedes’ principle
The buoyant force equals the weight of the fluid displaced.
Why does a steel ship float?
Its hull encloses so much air that its average density is less than water’s.
Bernoulli in one line
Along a streamline, where the fluid is faster its pressure is lower.
Reynolds number
: inertia over viscosity. Low is laminar, high is turbulent.
Module 13: Heat, temperature and thermodynamics
Physics144 / 232
Module 13 · Heat, temperature and thermodynamics
Temperature measures jiggling, and has a true zero
Everything is made of atoms and molecules that are always moving: jiggling in a solid, tumbling in a liquid, flying about in a gas. Temperature measures how energetic that random motion is, on average. Cool something down and the motion slows; at absolute zero it would be as small as nature allows, and nothing can be colder. The kelvin scale starts there, with steps the same size as degrees Celsius. Physics formulas use kelvin.
Kelvin
Celsius
Fahrenheit
Absolute zero
0 K
−273.15 °C
−459.67 °F
Water freezes
273.15 K
0 °C
32 °F
Body temperature
310 K
37 °C
98.6 °F
Water boils (1 atm)
373.15 K
100 °C
212 °F
QuizInteractive · disabled in the PDF
At which temperature do the Celsius and Fahrenheit scales show the same number?
At which temperature do the Celsius and Fahrenheit scales show the same number?
Physics145 / 232
Module 13 · Heat, temperature and thermodynamics
Most things grow when they warm up
Hotter atoms jiggle further apart, so most materials expand when heated. For a rod of length , the change in length is proportional to the length and the temperature change, with a coefficient of linear expansion that depends on the material:
Steel’s is about per kelvin. Bridges have expansion joints to give it room.
Water is strange. Water is densest at about 4 °C. Cooling below that, it expands, and ice is less dense still, so it floats. Lakes freeze from the top down, and the ice insulates the 4 °C water beneath, which is why fish survive winter.
QuizInteractive · disabled in the PDF
A metal lid is stuck on a glass jar. Why does running hot water over the lid help?
A metal lid is stuck on a glass jar. Why does running hot water over the lid help?
Physics146 / 232
Module 13 · Heat, temperature and thermodynamics
Heat is energy on the move
Heat is energy that flows from a hotter thing to a colder one because of the temperature difference. It is measured in joules, like all energy. Temperature is not heat: a bathtub of warm water holds far more thermal energy than a cup of boiling water. How much heat a material needs to warm up is its specific heat capacity , the joules needed to raise 1 kg by 1 K:
Water’s is 4186 J/(kg·K), very high. A 2 kW kettle needs about 167 s for this, close to three minutes.
Put a hot thing and a cold thing together, insulated from the rest of the world, and heat flows until they reach the same temperature, thermal equilibrium. The heat one loses is the heat the other gains, which fixes the final temperature.
Code challengeInteractive · disabled in the PDF
Write mixTemperature(m1, c1, t1, m2, c2, t2): the final temperature when two bodies (masses in kg, specific heats in J/(kg·K), temperatures in °C) reach equilibrium with no heat lost.
C++
1doublemixTemperature(double m1,double c1,double t1,2double m2,double c2,double t2){3 // heat lost by one = heat gained by the other4return(t1 + t2)/2;5}
ProblemInteractive · disabled in the PDF
A kettle holds of water at 15 °C. Water’s specific heat capacity is . How much heat brings the water to 100 °C, and how long does that take if all the kettle’s power goes into the water?
kJ
s
Physics147 / 232
Module 13 · Heat, temperature and thermodynamics
Melting and boiling take heat without warming
Heat ice at 0 °C and it melts, but its temperature doesn’t rise until all of it is water. The energy goes into breaking the bonds that hold the solid together. The heat per kilogram for a change of phase is the latent heat : . For water, melting takes kJ/kg and boiling kJ/kg, almost seven times more.
Temperature
A heating curve: 1 kg of ice at −20 °C, heated steadily. The flat parts are phase changes; drag the heat added to follow it.Boiling the water away takes more than five times the heat of warming it from 0 to 100 °C.
QuizInteractive · disabled in the PDF
Why does a burn from steam at 100 °C hurt much more than one from water at 100 °C?
Why does a burn from steam at 100 °C hurt much more than one from water at 100 °C?
ProblemInteractive · disabled in the PDF
You drop of ice at 0 °C into of water at 25 °C, in an insulated cup. Use , and for water. How much heat does the ice need to melt, and what is the final temperature once it has all melted and mixed?
kJ
°C
Physics148 / 232
Module 13 · Heat, temperature and thermodynamics
Heat moves by conduction, convection and radiation
Way
How
Example
Conduction
Jiggling passed from atom to atom through a material
A metal spoon in hot tea
Convection
Warm fluid rises and carries its heat with it
A radiator warming a room
Radiation
Electromagnetic waves, mostly infrared; needs no medium
Sunlight on your face
Conduction through a slab of thickness with thermal conductivity ; radiation from a surface at absolute temperature , with W/(m²·K⁴).A 10 m² brick wall 20 cm thick ( W/(m·K)), 20 °C warmer inside than out.
QuizInteractive · disabled in the PDF
A star’s surface goes from 3000 K to 6000 K, its size unchanged. How much more power does it radiate?
A star’s surface goes from 3000 K to 6000 K, its size unchanged. How much more power does it radiate?
Physics149 / 232
Module 13 · Heat, temperature and thermodynamics
The ideal gas law ties pressure, volume and temperature
Gases are simple. At ordinary conditions their molecules are far apart, and nearly every gas obeys the ideal gas law, with the amount in moles (one mole is molecules, Avogadro’s number) and J/(mol·K) the gas constant. must be in kelvin.
One mole of any ideal gas at 0 °C and one atmosphere fills 22.4 litres.
pV = nRT, n = 1 mol
0 °C
Pressure at 24 L (kPa)103.9
Isotherms: pressure against volume for 1 mol at a fixed temperature. Halve the volume and the pressure doubles (Boyle’s law); raise T and the curve moves up.
Code challengeInteractive · disabled in the PDF
Write gasPressure(moles, celsius, litres): the pressure in pascals of an ideal gas. Take the temperature in °C and the volume in litres, and convert them first.
C++
1constdouble R =8.314; // J/(mol·K)23doublegasPressure(double moles,double celsius,double litres){4return moles * R * celsius / litres;5}
Physics150 / 232
Module 13 · Heat, temperature and thermodynamics
Pressure is molecules hitting the walls
Kinetic theory explains the gas law from molecules. Each molecule that bounces off a wall pushes it a little; billions of bounces a second add up to a steady pressure. Working this through shows that temperature is a direct measure of the average kinetic energy of a molecule’s motion from place to place, with Boltzmann’s constant J/K:
is the root-mean-square speed; is the molar mass in kg/mol.Root-mean-square speeds at 300 K. At the same temperature, lighter molecules move faster.
Code challengeInteractive · disabled in the PDF
Write rmsSpeed(kelvin, molarMass): the root-mean-square speed in m/s, with the molar mass in kg/mol.
C++
1#include<cmath>23constdouble R =8.314;45doublermsSpeed(double kelvin,double molarMass){6return0;7}
Physics151 / 232
Module 13 · Heat, temperature and thermodynamics
The first law: energy is conserved
A gas in a cylinder has internal energy , the total energy of its molecules. You can change it two ways: heat it (), or let it do work by pushing a piston out (work done by a gas expanding at pressure is ). The first law of thermodynamics is energy conservation:
is heat added to the gas; is work done by the gas.
Check the sign convention. Some books, and most chemistry, write with the work done on the gas. Both are right; they define with opposite signs. Read which one a problem uses before you plug numbers in.
QuizInteractive · disabled in the PDF
A gas takes in 500 J of heat and pushes a piston out, doing 200 J of work. What is the change in its internal energy?
A gas takes in 500 J of heat and pushes a piston out, doing 200 J of work. What is the change in its internal energy?
ProblemInteractive · disabled in the PDF
A gas in a cylinder takes in of heat while it expands at a constant pressure of , from to . How much work does the gas do, and by how much does its internal energy change?
J
J
Going deeper
Process
What is fixed
Consequence
Isothermal
Temperature
for an ideal gas, so
Isobaric
Pressure
Isochoric
Volume
, so
Adiabatic
No heat in or out
, so : expanding cools the gas
Physics152 / 232
Module 13 · Heat, temperature and thermodynamics
A heat engine can never use all its heat
A heat engine (a car engine, a power station turbine) takes heat from something hot, turns part of it into work , and dumps the rest into something cold. Its efficiency is the useful part. The French engineer Sadi Carnot showed in 1824 that even a perfect engine has a limit set only by the two temperatures, in kelvin:
e = 1 − Tc/Th
Limit at 800 K0.625
The Carnot limit against the hot temperature. Drag the cold side: a colder sink raises the limit.
Find the bugInteractive · disabled in the PDF
This gives a Carnot efficiency of 91% for steam at 300 °C and a river at 50 °C. Which line is wrong?
C++
Physics153 / 232
Module 13 · Heat, temperature and thermodynamics
Entropy never goes down
Heat flows from hot to cold by itself, never the other way: that is the second law of thermodynamics. A fridge can move heat from cold to hot, but only by doing work and dumping more heat outside. The second law has a quantity, entropy . When heat enters a body at absolute temperature , its entropy rises by . In an isolated system, the total entropy never decreases.
The cold body gains more entropy than the hot one loses, so heat flowing from hot to cold raises the total.
Boltzmann gave entropy its meaning: , where is the number of microscopic arrangements that look the same from outside. Shuffled states vastly outnumber tidy ones, so systems drift towards disorder simply because it is overwhelmingly more likely. This is why the Carnot limit exists: an engine must give some heat to the cold side, to make up the entropy it took from the hot side.
QuizInteractive · disabled in the PDF
Which of these would break the second law of thermodynamics?
Which of these would break the second law of thermodynamics?
Physics154 / 232
Module 13 · Heat, temperature and thermodynamics
Practice problems
ProblemInteractive · disabled in the PDF
A car tyre holds of air at 20 °C and an absolute pressure of . How many moles of air does it hold? After a long drive the air is at 45 °C, with the volume unchanged: what is its pressure now? Use .
mol
kPa
ProblemInteractive · disabled in the PDF
Oxygen gas () is at 27 °C. Find the average kinetic energy of one molecule, in units of , and the root-mean-square speed of the molecules. Use and .
× 10⁻²¹ J
m/s
ProblemInteractive · disabled in the PDF
A power station’s boiler makes steam at 550 °C, and it gives its waste heat to a river at 20 °C. What is its Carnot limit, as a percentage? It actually turns 38% of the heat from its fuel into of electrical power: how much heat each second does it take from the fuel, and how much goes into the river?
%
MW
MW
ProblemInteractive · disabled in the PDF
A block of ice at 0 °C melts in a room at 20 °C, taking of heat from the room’s air, which stays at 20 °C. Find the entropy change of the ice, of the room, and of the two together.
J/K
J/K
J/K
Physics155 / 232
Module 13 · Heat, temperature and thermodynamics
Recap: heat and thermodynamics
Temperature measures the average random kinetic energy of molecules; . Physics uses kelvin.
Heat is energy in transit: to warm, to change phase. Expansion: .
Conduction, convection and radiation; radiated power goes as .
Ideal gas: ; kinetic theory: per molecule.
First law: . Second law: heat flows hot to cold; entropy of an isolated system never falls.
No engine beats Carnot: .
FlashcardsInteractive · disabled in the PDF
Heat or temperature: which is energy?
Heat is energy flowing because of a temperature difference. Temperature measures average molecular energy.
Specific heat capacity
Joules to warm 1 kg by 1 K. Water: 4186 J/(kg·K).
Latent heat
Heat per kilogram for a change of phase, at constant temperature.
Absolute zero
0 K = −273.15 °C: the lowest possible temperature.
Carnot efficiency
, in kelvin: the best any engine between those temperatures can do.
Entropy, in one line
A measure of how many microscopic ways a state can happen; it never decreases in an isolated system.
Module 14: Charge and electric fields
Physics156 / 232
Module 14 · Charge and electric fields
Charge comes in two kinds and in fixed lumps
Rub a balloon on your hair and it pulls on the hair, and on bits of paper. Something was moved by rubbing: electric charge. There are two kinds, called positive and negative. Like charges repel and unlike charges attract. Atoms hold both: a nucleus of positive protons (and neutral neutrons), surrounded by negative electrons. Rubbing moves some electrons from one material to the other, leaving one side negative and the other positive.
Charge is measured in coulombs (C).
It comes in whole multiples of the elementary charge, C: a proton carries , an electron . Charge is quantised.
Charge is conserved: it can be moved but never made or destroyed. Rubbing doesn’t create charge, it separates it.
QuizInteractive · disabled in the PDF
How many extra electrons give an object a charge of −1 C?
How many extra electrons give an object a charge of −1 C?
Physics157 / 232
Module 14 · Charge and electric fields
Conductors let charge move; insulators hold it
In a metal, some electrons are free to wander through the whole piece: it is a conductor. In glass, plastic or rubber the electrons stay bound to their atoms: an insulator. Semiconductors like silicon sit between. Even an insulator responds to a nearby charge: its molecules stretch a little, their negative side pulled one way and positive side the other. That is polarisation.
Way to charge
What happens
Friction
Rubbing two materials moves electrons from one to the other.
Contact
A charged conductor shares its charge with one it touches.
Induction
A negatively charged rod brought near pushes a conductor’s electrons to its far side. Earth the conductor and some of them flow away; remove the earth, then the rod, and the conductor keeps a positive charge, opposite to the rod’s, without ever touching it.
Earthing (grounding)
A wire to the ground lets charge flow away into the Earth, which is so large it can take any amount.
QuizInteractive · disabled in the PDF
A negatively charged balloon sticks to a neutral wall. Why, if the wall has no net charge?
A negatively charged balloon sticks to a neutral wall. Why, if the wall has no net charge?
Physics158 / 232
Module 14 · Charge and electric fields
Coulomb's law: an inverse square
Charles-Augustin de Coulomb measured the force between two small charges and a distance apart in 1785. It is proportional to each charge and falls with the square of distance, just like gravity, but it can push as well as pull:
Positive is repulsion (like charges), negative attraction. F/m is the permittivity of free space.
F = kq₁q₂/r²
Force (N)2.5
Force between two 1 μC charges. Halve the distance and the force is four times bigger.
Code challengeInteractive · disabled in the PDF
Write coulombForce(q1, q2, r): the force in newtons between charges q1 and q2 (coulombs) r metres apart. Positive means they repel, negative that they attract.
C++
1constdouble k =8.99e9; // N·m²/C²23doublecoulombForce(double q1,double q2,double r){4return k * q1 * q2 / r;5}
ProblemInteractive · disabled in the PDF
Two small spheres carry charges of and , and their centres are apart. Use . How big is the force between them, in micronewtons? At what separation would it be ?
μN
cm
Going deeper
Compare the electric pull between a proton and an electron with their gravitational pull. Both fall as , so the ratio doesn’t depend on distance: . Electricity is that much stronger. Gravity rules the large scale only because matter is almost exactly neutral, so electric forces cancel, while mass only ever adds.
Physics159 / 232
Module 14 · Charge and electric fields
A charge fills the space around it with a field
How does one charge “know” the other is there? Michael Faraday’s answer: every charge sets up an electric field in the space around it, and a charge placed in the field feels a force from the field where it is. The field is the force per coulomb on a small positive test charge. It is a vector: it points the way a positive charge would be pushed.
Units: N/C, the same as volts per metre (V/m).
Fields superpose: the field of several charges is the vector sum of each one’s field. Along a line through two charges every field points along the line, so the sum is just adding numbers with signs.
Code challengeInteractive · disabled in the PDF
Charges lie on the x axis. Write fieldAt(x, charges): the electric field (N/C) at position x, positive pointing in +x. Each Charge has a position at and charge q. Assume x isn’t at a charge.
C++
1#include<vector>23constdouble k =8.99e9;45structCharge{6double at; // position on the x axis, m7double q; // charge, C8};910doublefieldAt(double x,const std::vector<Charge>& charges){11double field =0;12for(constCharge& c : charges){13 // add this charge's field, with the right sign14}15return field;16}
ProblemInteractive · disabled in the PDF
A charge sits at and a charge at . Where between them is the electric field zero? How strong is the field at the midpoint, ? Use .
cm
N/C
Physics160 / 232
Module 14 · Charge and electric fields
Field lines draw the field
The field of a positive point charge: arrows point straight out, and grow weaker further away.
Field lines start on positive charges and end on negative ones (or go off to infinity).
The field at a point is along the line there, the way the arrow points.
Where lines are closer together the field is stronger.
Lines never cross: the field has one direction at each point.
Between two parallel plates with opposite charges the lines are straight, parallel and evenly spaced: a uniform field, the same everywhere between them.
QuizInteractive · disabled in the PDF
An electron is released at rest in a uniform field that points to the right. What does it do?
An electron is released at rest in a uniform field that points to the right. What does it do?
Physics161 / 232
Module 14 · Charge and electric fields
Voltage is energy per charge
Pushing a positive charge against a field takes work, which is stored as electric potential energy, like lifting a mass against gravity. The potential energy per coulomb at a point is the electric potential , in volts (1 V = 1 J/C). Only differences matter: the potential difference or voltage between two points is the energy each coulomb gains or loses going from one to the other.
An electron accelerated from rest through 100 V.
The electronvolt. The energy an electron gains crossing 1 V is one electronvolt: 1 eV = J. It is the natural unit for atoms: chemical bonds are a few eV, and the quantum module uses it throughout.
QuizInteractive · disabled in the PDF
A 9 V battery pushes 2 C of charge round a circuit. How much energy does it give that charge?
A 9 V battery pushes 2 C of charge round a circuit. How much energy does it give that charge?
ProblemInteractive · disabled in the PDF
An electron gun accelerates electrons from rest through . Find the kinetic energy each one gains, in electronvolts and in units of , and its speed. Use and .
eV
× 10⁻¹⁶ J
m/s
Physics162 / 232
Module 14 · Charge and electric fields
The field points downhill in potential
Field and potential are two views of the same thing. The field points the way the potential falls fastest, and its size is how steeply it falls: . Surfaces of equal potential, equipotentials, are always at right angles to the field lines: moving along one takes no work. Around a point charge they are spheres.
Potential V = kQ/r
Field E = kQ/r²
V (V)30
E (V/m)99.9
Potential and field of a point charge, Q = 1 nC. The field (the slope of the potential) falls faster, as 1/r² against 1/r.
Fill the blanksInteractive · disabled in the PDF
Two parallel plates 2 mm apart are connected to a 12 V supply. Fill in the field between them.
C++
1double voltage =12; // V2double gap =0.002; // m3double field =; // V/m
Physics163 / 232
Module 14 · Charge and electric fields
A capacitor stores charge, and energy
Two conducting plates close together, not touching, make a capacitor. Connect a battery and charge gathers on one plate and on the other, until their voltage matches the battery’s. The charge stored per volt is the capacitance , in farads (F). For flat plates of area a distance apart:
(kappa) is the dielectric constant of what fills the gap: 1 for vacuum, about 3 for plastic, 80 for water.Plates of 10 cm × 10 cm, 1 mm apart, in air, on 12 V. A farad is huge: real capacitors are picofarads to millifarads.
QuizInteractive · disabled in the PDF
You double the voltage across a capacitor. What happens to the energy stored?
You double the voltage across a capacitor. What happens to the energy stored?
ProblemInteractive · disabled in the PDF
A capacitor is made of two plates , apart, with plastic of dielectric constant between them, connected to . Use . Find its capacitance, the charge on each plate, and the energy stored.
nF
nC
nJ
Physics164 / 232
Module 14 · Charge and electric fields
Gauss's law: count the field lines leaving
Draw any closed surface, a bubble, around some charges. The electric flux through it measures how much field passes out through it: field times area, where the field crosses it at right angles. Carl Friedrich Gauss saw that the total flux out of any closed surface depends only on the charge inside. Every field line leaving has to come from a charge in there.
Gauss’s law. The circle on the integral means over the whole closed surface.A sphere of radius round a point charge: the field is the same all over it, so Coulomb’s law falls out.
Inside a conductor in equilibrium the field is zero; otherwise free electrons would still be moving.
So any extra charge on a conductor sits on its outside surface.
A closed metal box, a Faraday cage, keeps outside fields out. A car struck by lightning protects the people inside.
QuizInteractive · disabled in the PDF
A closed surface encloses +3 nC and −3 nC, and a +5 nC charge sits just outside it. What is the total electric flux out of the surface?
A closed surface encloses +3 nC and −3 nC, and a +5 nC charge sits just outside it. What is the total electric flux out of the surface?
Physics165 / 232
Module 14 · Charge and electric fields
Practice problems
ProblemInteractive · disabled in the PDF
Two parallel plates apart are held at a potential difference of . Find the field between them, the force on a proton there (in units of ), and the speed of a proton released at rest at the positive plate when it reaches the negative one. Use and .
V/m
× 10⁻¹⁵ N
m/s
ProblemInteractive · disabled in the PDF
A defibrillator charges a capacitor to . How much energy does it store, and how much charge? If it releases that energy through the patient in , what is the average power?
J
C
kW
ProblemInteractive · disabled in the PDF
A point charge of is fixed in place. Find the electric potential and from it, and the work needed to bring a charge slowly from to away, in microjoules. Use .
V
V
μJ
Physics166 / 232
Module 14 · Charge and electric fields
Recap: charge and fields
Charge is positive or negative, quantised in C, and conserved.
Coulomb: with N·m²/C².
The field ; a point charge gives . Fields add as vectors.
Potential is energy per charge, in volts; , and between plates.
Capacitors: , storing .
Gauss: flux out of a closed surface is ; no field inside a conductor.
FlashcardsInteractive · disabled in the PDF
Elementary charge
C: the charge of a proton; an electron has .
Which way does the electric field point?
The way a positive charge would be pushed: away from + charges, towards − charges.
One volt
One joule per coulomb.
Electronvolt
The energy one electron gains crossing 1 V: J.
Capacitance
Charge stored per volt, , in farads.
Faraday cage
A closed conductor; the field inside it from outside charges is zero.
Module 15: Current and circuits
Physics167 / 232
Module 15 · Current and circuits
Current is charge flowing per second
Connect a wire across a battery and the battery’s voltage sets up a field along the wire. The free electrons in the metal drift along it: an electric current. Current is the charge passing a point each second, in amperes (A), where 1 A = 1 C/s.
Conventional current. By a convention older than the discovery of the electron, current is drawn flowing from + to −, the way positive charge would go. In metals the electrons actually drift the other way, from − to +. Every circuit rule works the same with either picture; just use the convention.
QuizInteractive · disabled in the PDF
Electrons in a household copper wire drift at well under a millimetre per second. Why does a lamp light the instant you flip the switch?
Electrons in a household copper wire drift at well under a millimetre per second. Why does a lamp light the instant you flip the switch?
Physics168 / 232
Module 15 · Current and circuits
A circuit is a closed loop
Charge can only flow round a complete loop: a circuit. The battery is a pump. It lifts each coulomb up by its voltage, giving it energy; the coulomb gives that energy up in the components it passes through (a lamp, a motor), and returns to the battery to be lifted again. Break the loop anywhere, an open switch, and the current stops everywhere at once.
The 9 V battery gives each coulomb 9 J.
Wires and a closed switch carry it with almost no loss.
In the lamp it gives up its 9 J as light and heat.
It returns to the battery with no energy left, to be lifted again.
One loop: the same current flows through every part. Step through what happens to one coulomb.
EMF
Electromotive force: the energy per coulomb a source gives, in volts. Not a force.
Short circuit
A path of almost no resistance across a source: a huge current, and heat.
Open circuit
A loop with a break in it: no current flows.
Physics169 / 232
Module 15 · Current and circuits
Resistance and Ohm's law
Electrons drifting through a metal keep bumping into its vibrating atoms, losing energy as heat. That opposition to current is resistance , in ohms (Ω). For many materials at a fixed temperature the current is proportional to the voltage: Ohm’s law. A wire’s resistance grows with its length and shrinks with its cross-section , with the material’s resistivity :
Copper’s resistivity is Ω·m, so 1 m of 1 mm² copper wire is about 0.017 Ω.
I = V/R
Current at 12 V (A)1.2
Current against voltage for a resistor: a straight line through the origin, slope 1/R. Drag R.
Not everything obeys it. Ohm’s law is a property of some materials, not a law of nature. A filament lamp’s resistance rises as it heats, so its I–V graph curves over. A diode lets current through one way only. still defines resistance at each point; it just isn’t constant.
QuizInteractive · disabled in the PDF
A 230 V heater draws 10 A. What is its resistance?
A 230 V heater draws 10 A. What is its resistance?
ProblemInteractive · disabled in the PDF
An extension cable is long. Current goes out along one copper wire and back along another, each with a cross-section of . Copper’s resistivity is . What is the resistance of the two wires together, and how much voltage is lost along them when flows?
Ω
V
Physics170 / 232
Module 15 · Current and circuits
Power is voltage times current
Each coulomb gives up joules, and coulombs pass each second, so a component turns electrical energy into other forms at a rate of watts. Using Ohm’s law, this can be written in three ways. Electricity bills count energy in kilowatt-hours: 1 kWh is 1 kW for an hour, J.
The power of some household appliances, in watts.
Fill the blanksInteractive · disabled in the PDF
A 2 kW kettle runs for 3 minutes. Fill in the energy in kilowatt-hours.
Two rules, each a conservation law, are enough to solve any circuit. Junction rule (charge is conserved): the current into a junction equals the current out. Loop rule (energy is conserved): around any closed loop, the voltage rises add up to the voltage drops.
A 12 V battery, Ω in series with Ω and Ω in parallel. Check the junction: A.
Put in orderInteractive · disabled in the PDF
Put the steps of solving that circuit in order.
1.Add the series resistance to get the total
2.Find the battery current from Ohm’s law, I = V / R
3.Combine the parallel pair into one equivalent resistance
4.Find the voltage across the series resistor, then what is left for the parallel pair (loop rule)
5.Find each branch current, and check they add up (junction rule)
ProblemInteractive · disabled in the PDF
A battery drives in series with a parallel pair, and . Find the total resistance, the current from the battery, and the current through .
Ω
A
A
Going deeper
A real battery has internal resistance : its terminal voltage is , which falls as you draw more current. That is why car headlights dim while the starter motor runs. When circuits don’t simplify into series and parallel pieces (a bridge, say), you write the junction and loop rules as simultaneous equations and solve them; circuit simulators do exactly this, as a matrix.
Physics173 / 232
Module 15 · Current and circuits
A capacitor charges along an exponential
Connect a resistor and an uncharged capacitor to a battery of voltage . At first the capacitor has no voltage, so all of is across the resistor and the current is large. As charge builds up, the capacitor’s voltage pushes back, the current falls, and charging slows. The product , the time constant, sets the pace:
After one it is at 63%, after above 99%. With 10 kΩ and 100 μF, s.
V_C
Battery
At t = 2 s (V)8.65
Charging to 10 V. Drag the time constant; the dashed line marks t = τ, where the voltage is 63% of the way.
Code challengeInteractive · disabled in the PDF
Simulate charging step by step. Write chargeRC(v0, r, c, t, dt): start with the capacitor at 0 V and repeat, t / dt times, “the voltage rises by (v0 − v) / (r·c) · dt”. Return the voltage.
C++
1#include<cmath>23doublechargeRC(double v0,double r,double c,double t,double dt){4double v =0;5int steps = std::lround(t / dt);6for(int i =0; i < steps; i++){7 // the rate of rise depends on how far v is from v08}9return v;10}
ProblemInteractive · disabled in the PDF
An uncharged capacitor is connected through a resistor to a supply. Find the time constant, the capacitor’s voltage after , and the time it takes to reach .
s
V
s
Physics174 / 232
Module 15 · Current and circuits
Mains electricity, and staying safe
The sockets in a house give alternating current (AC): the voltage swings back and forth, 50 times a second (50 Hz) in Europe and most of the world, 60 Hz in North America. Its quoted value, 230 V or 120 V, is the root-mean-square (RMS) voltage: the steady voltage that would heat a resistor equally. The peak is times higher: about 325 V for 230 V mains.
Wire or device
Its job
Live (hot)
Carries the alternating voltage.
Neutral
The return path, near 0 V.
Earth (ground)
Joins metal cases to the ground, so a fault makes a big current flow and trips the protection instead of leaving the case live.
Fuse or circuit breaker
Cuts the live wire when the current is too high for the cable: it prevents fires.
RCD (GFCI)
Compares live and neutral currents and cuts off in a few hundredths of a second if they differ by milliamps: some current is leaking, perhaps through a person.
Current is what harms. About 10 mA through the body can stop you letting go; around 100 mA through the chest can stop the heart’s rhythm. Dry skin has a high resistance, but wet skin far less, so the same voltage drives much more current: keep mains electricity away from water, and never work on a circuit that is switched on.
QuizInteractive · disabled in the PDF
Why is a fuse always put in the live wire, not the neutral?
Why is a fuse always put in the live wire, not the neutral?
Physics175 / 232
Module 15 · Current and circuits
Practice problems
ProblemInteractive · disabled in the PDF
A battery has an EMF of and an internal resistance of : a resistance inside the battery, in series with whatever it drives. It lights a lamp of resistance . Find the current, the voltage across the battery’s terminals, and the power the lamp gets.
A
V
W
ProblemInteractive · disabled in the PDF
A kettle is rated on (RMS) mains. What RMS current does it draw, what is its resistance, and what is the peak voltage of the supply?
A
Ω
V
ProblemInteractive · disabled in the PDF
A string of fairy lights has identical bulbs in series on , using in all. Find the voltage across each bulb, the current, and each bulb’s resistance.
V
A
Ω
Physics176 / 232
Module 15 · Current and circuits
Recap: current and circuits
Current in amperes; it needs a closed loop.
Ohm’s law for ohmic materials; .
Power ; energy is sold in kWh (3.6 MJ).
Series: , same current. Parallel: , same voltage.
Kirchhoff: currents into a junction equal currents out; voltages round a loop sum to zero.
RC circuits change as ; . Mains is AC; fuses protect cables, RCDs protect people.
FlashcardsInteractive · disabled in the PDF
One ampere
One coulomb per second.
Ohm’s law
: current proportional to voltage, for an ohmic conductor.
Kirchhoff’s junction rule is conservation of…
Charge.
Kirchhoff’s loop rule is conservation of…
Energy.
Time constant
: the time to charge to 63% (or discharge to 37%).
RMS voltage
The steady voltage that would deliver the same average power; the peak is √2 times it.
Module 16: Magnetism and induction
Physics177 / 232
Module 16 · Magnetism and induction
Magnets have poles and fill space with a field
Every magnet has a north and a south pole. Like poles repel and unlike poles attract. Around a magnet is a magnetic field , drawn with field lines that leave the north pole and loop round into the south pole; a compass needle lines up along them. Its unit is the tesla (T). Earth is a giant magnet, with a field at the surface of roughly 25 to 65 microtesla, which is why a compass works.
Source
Field strength
Earth’s surface
about 50 μT
A fridge magnet
about 5 mT
A strong neodymium magnet
about 1 T
A hospital MRI scanner
1.5 to 3 T
A neutron star (magnetar)
up to about 10¹¹ T
QuizInteractive · disabled in the PDF
You snap a bar magnet in half, between its poles. What do you get?
You snap a bar magnet in half, between its poles. What do you get?
Physics178 / 232
Module 16 · Magnetism and induction
A magnetic field pushes moving charges sideways
A magnetic field does nothing to a charge at rest. A charge moving with velocity feels a force at right angles to both and , which is largest when it moves across the field and zero when it moves along it:
Right-hand rule: fingers along , curl them towards , and the thumb points along for a positive charge.
The force is always sideways to the motion, so it does no work: it bends the path without changing the speed. A charge moving across a uniform field goes round in a circle. The magnetic force provides the centripetal force, , so:
The period doesn’t depend on the speed: faster particles go round bigger circles in the same time. Cyclotrons rely on this.
Path
Radius (cm)10.44
A proton at 10⁶ m/s, field into the page. The force (up) points to the centre. Drag B: a stronger field, a tighter circle.
Code challengeInteractive · disabled in the PDF
Write orbitRadius(mass, charge, speed, field) (metres) and orbitPeriod(mass, charge, field) (seconds) for a charged particle moving across a uniform magnetic field.
In a mass spectrometer, sodium ions of mass and charge move at across a field. Find the radius of their circle, in centimetres, and the time for one full circle, in microseconds.
cm
μs
Physics179 / 232
Module 16 · Magnetism and induction
A current in a field feels a force: the motor
A current is many moving charges, so a wire carrying current across a field feels the sum of all their sideways pushes. For a straight length at angle to the field:
Put a loop of wire in a field. Current flows one way along one side and the other way along the opposite side, so the two forces point opposite ways and twist the loop: a torque. A commutator reverses the current every half turn so the twist keeps going the same way. That is an electric motor.
QuizInteractive · disabled in the PDF
A wire carrying 5 A runs exactly along the direction of a 0.2 T field. What force does it feel?
A wire carrying 5 A runs exactly along the direction of a 0.2 T field. What force does it feel?
Physics180 / 232
Module 16 · Magnetism and induction
Currents make magnetic fields
In 1820 Hans Christian Ørsted noticed a compass needle twitch near a wire when he switched on a current: electricity makes magnetism. A long straight wire is surrounded by circular field lines (grip the wire with your right hand, thumb along the current, and your fingers curl the way the field goes). Coil the wire into a solenoid and the fields of the turns add into a strong, uniform field inside, like a bar magnet’s.
is the turns per metre of the solenoid; is the permeability of free space.
B = μ₀I/(2πr)
B at 1 cm (μT)200
The field around a long straight wire falls as 1/r. Drag the current.
Put an iron core inside a solenoid and the field grows hundreds of times: an electromagnet, which you can switch off.
Two parallel wires with currents in the same direction attract; opposite directions repel. The ampere was once defined by this force.
At 1 cm from a wire carrying 10 A, μT: four times Earth’s field.
Fill the blanksInteractive · disabled in the PDF
A solenoid has 1000 turns per metre and carries 2 A. Fill in its field.
C++
1double mu0 =4* std::numbers::pi *1e-7; // T·m/A2double turnsPerMetre =1000;3double current =2;4double field = mu0 **; // about 2.5 mT
ProblemInteractive · disabled in the PDF
A long, straight power cable carries a steady . Use . What is its magnetic field away, in microtesla? How close to the cable would its field equal Earth’s, ?
μT
m
Physics181 / 232
Module 16 · Magnetism and induction
Faraday: changing flux makes a voltage
In 1831 Michael Faraday found the reverse: magnetism can make electricity, but only when something changes. Move a magnet into a coil and a current flows; hold it still and it stops. What matters is the magnetic flux through the coil, the field times the area it crosses, in webers (Wb). A changing flux induces an EMF:
Faraday’s law, for a coil of turns. is the angle between the field and the coil’s axis.A 100-turn coil of 0.01 m², the field through it rising from 0 to 0.5 T in 0.1 s.
Code challengeInteractive · disabled in the PDF
You have the flux through a coil (webers) sampled every dt seconds. Write emfs(turns, flux, dt): the induced EMF between each pair of samples, , so one fewer value than samples.
C++
1#include<vector>23std::vector<double>emfs(double turns,const std::vector<double>& flux,4double dt){5 std::vector<double> result;6 // one EMF for each pair of neighbouring samples7return result;8}
ProblemInteractive · disabled in the PDF
A coil of turns, each of area , sits with its axis along a magnetic field. The field falls steadily from to in . What is the size of the EMF induced? The coil’s ends are joined, and its resistance is : what current flows?
V
A
Physics182 / 232
Module 16 · Magnetism and induction
Lenz's law: induction opposes the change
The minus sign in Faraday’s law has a meaning. The induced current always flows so that its own magnetic field opposes the change that made it. Push a magnet’s north pole into a coil, and the coil’s current makes a north pole facing it, pushing back. You must do work to move the magnet, and that work becomes the electrical energy. If induction helped the change instead, a nudge would run away into endless free energy.
Drop a strong magnet down a copper pipe and it falls slowly: currents swirling in the pipe, eddy currents, make fields that oppose its motion.
Trains and roller coasters use eddy-current brakes: no contact, no wear.
Induction hobs make eddy currents in the pan itself, which heat it.
QuizInteractive · disabled in the PDF
You pull a magnet’s north pole away from a coil. What pole does the coil’s induced current make at the end nearest the magnet?
You pull a magnet’s north pole away from a coil. What pole does the coil’s induced current make at the end nearest the magnet?
Physics183 / 232
Module 16 · Magnetism and induction
A generator spins a coil in a field
Turn a coil of turns and area steadily, at angular speed , in a field . The flux through it goes as , so by Faraday the EMF goes as : alternating current, made from motion. Nearly all the world’s electricity is made this way, the coil turned by steam, water or wind.
EMF
Peak EMF (V)628.3
EMF from a 200-turn, 0.05 m² coil in 0.2 T. Turn it faster and the voltage rises and alternates more quickly.
QuizInteractive · disabled in the PDF
The same coil is turned twice as fast. What happens to the peak EMF?
The same coil is turned twice as fast. What happens to the peak EMF?
Physics184 / 232
Module 16 · Magnetism and induction
Transformers change voltage, and save power on the grid
Wind two coils on one iron core. AC in the primary coil makes a changing flux in the core, which induces an EMF in the secondary. Each turn sees the same flux change, so the voltages go as the numbers of turns. An ideal transformer wastes nothing, so power in equals power out, and if the voltage goes up the current goes down. It only works with AC: steady current makes no changing flux.
Sending 1 MW down a line of 5 Ω. Forty times the voltage cuts the loss 1600 times.Power lost in that 5 Ω line, in watts, at different transmission voltages.
QuizInteractive · disabled in the PDF
A charger’s transformer turns 230 V into 5 V. Its primary has 920 turns. How many does the secondary have?
A charger’s transformer turns 230 V into 5 V. Its primary has 920 turns. How many does the secondary have?
Physics185 / 232
Module 16 · Magnetism and induction
Maxwell's equations unite electricity, magnetism and light
In the 1860s James Clerk Maxwell gathered everything known into four equations, and added one missing piece: a changing electric field makes a magnetic field, just as a changing magnetic field makes an electric one. Each change can then sustain the other, travelling through empty space as a wave.
Equation
In words
Gauss: charges are sources of electric field.
No magnetic monopoles: field lines always close.
Faraday: changing magnetic flux makes an electric field.
Ampère–Maxwell: currents and changing electric flux make a magnetic field.
The waves’ speed, from two constants measured with magnets and capacitors on a bench: the speed of light. Light is an electromagnetic wave.
QuizInteractive · disabled in the PDF
Which of Maxwell’s equations says that magnetic field lines never begin or end?
Which of Maxwell’s equations says that magnetic field lines never begin or end?
Physics186 / 232
Module 16 · Magnetism and induction
Practice problems
ProblemInteractive · disabled in the PDF
A straight wire long carries through a uniform field, at to the field. What force does the field exert on it? At what angle to the field, in degrees, would the force be greatest, and how big would it be then?
N
°
N
ProblemInteractive · disabled in the PDF
A generator’s coil has turns of area and turns times a second in a field. Find the peak EMF and the RMS EMF.
V
V
ProblemInteractive · disabled in the PDF
An ideal transformer steps mains down to for a lamp. Its primary coil has turns. How many turns does the secondary have, what current flows in the lamp, and what current does the transformer draw from the mains?
A
A
ProblemInteractive · disabled in the PDF
A power station sends along a line whose total resistance is . How much power is lost as heat in the line if it is sent at , and how much if it is sent at ?
MW
kW
Physics187 / 232
Module 16 · Magnetism and induction
Recap: magnetism and induction
Magnets have poles that always come in pairs; fields are in teslas.
Currents make fields: round a wire, in a solenoid.
Faraday: . Lenz: the induced current opposes the change.
Generators spin coils to make AC; transformers change AC voltages, and high voltage cuts losses.
Maxwell’s four equations predict electromagnetic waves at : light.
FlashcardsInteractive · disabled in the PDF
Tesla
The unit of magnetic field. Earth’s is about 50 μT.
Why does a magnetic force do no work?
It is always at right angles to the velocity, so it changes the direction, never the speed.
Magnetic flux
, in webers: how much field passes through an area.
Lenz’s law
An induced current flows so as to oppose the change in flux that caused it.
Why can’t a transformer work on DC?
Steady current makes a steady flux, and only a changing flux induces a voltage.
What did Maxwell add?
A changing electric field makes a magnetic field, which predicts electromagnetic waves.
Module 17: Light and optics
Physics188 / 232
Module 17 · Light and optics
Light is one band of the electromagnetic spectrum
Maxwell’s equations predicted waves of electric and magnetic field, at right angles to each other and to their direction of travel, moving through empty space at . Light is one of them. All obey ; they differ only in wavelength, and the full range is the electromagnetic spectrum. Your eyes see only from about 380 nm (violet) to 750 nm (red).
Band
Wavelength
Made by, used for
Radio
over 1 m (up to km)
Radio and television broadcasting
Microwave
1 mm to 1 m
Ovens, radar, phones, Wi-Fi (about 12 cm)
Infrared
750 nm to 1 mm
Warm bodies glow in it; remote controls
Visible
380 to 750 nm
Sight: red is longest, violet shortest
Ultraviolet
10 to 380 nm
Sunburn; it can break chemical bonds
X-rays
0.01 to 10 nm
Pass through soft tissue: medical images
Gamma rays
under 0.01 nm
Nuclear decay; the most energetic
QuizInteractive · disabled in the PDF
Green light has a wavelength of 550 nm. What is its frequency?
Green light has a wavelength of 550 nm. What is its frequency?
Physics189 / 232
Module 17 · Light and optics
Light is fastest in a vacuum
In a vacuum light travels at exactly m/s. That number is exact because the metre is now defined from it: the distance light travels in 1/299 792 458 of a second. In glass, water or air light is slower. The ratio is the material’s refractive index :
Air about 1.0003, water 1.33, glass about 1.5, diamond 2.42. For visible light, always more than 1.
QuizInteractive · disabled in the PDF
The Sun is m away. How old is the sunlight reaching you now?
The Sun is m away. How old is the sunlight reaching you now?
ProblemInteractive · disabled in the PDF
Light of wavelength in a vacuum enters glass of refractive index . Use . Find its speed in the glass, its frequency, and its wavelength in the glass.
m/s
Hz
nm
Physics190 / 232
Module 17 · Light and optics
Reflection: the angles are equal
When the things light meets are far bigger than its wavelength, you can treat it as rays, straight lines along which it travels. Angles are always measured from the normal, the line at right angles to the surface. At a mirror the law of reflection holds: the angle of reflection equals the angle of incidence, and both rays lie in the same plane as the normal.
A smooth surface reflects a beam neatly (specular reflection); a rough one scatters it every way (diffuse), which is how you see most things.
A flat mirror makes an image as far behind it as the object is in front: virtual (no light actually goes there), upright and the same size.
A curved mirror has a focal length , half its radius of curvature: a concave one brings parallel rays to a focus.
QuizInteractive · disabled in the PDF
What is the shortest flat wall mirror in which a 1.80 m tall person can see all of themselves?
What is the shortest flat wall mirror in which a 1.80 m tall person can see all of themselves?
Physics191 / 232
Module 17 · Light and optics
Refraction and Snell's law
When light crosses into a slower material at an angle, it bends towards the normal; into a faster one, away from it. This bending is refraction. Think of a marching band crossing from pavement into mud at a slant: the side that reaches the mud first slows first, and the line swings round. Snell’s law gives the angles:
Surface
Refraction angle (degrees)28.9
Light from air (above) into a material (below). Drag the angle and the index; the faint ray is the part reflected.Light entering water at 30° from the normal.
Code challengeInteractive · disabled in the PDF
Write refractionAngle(n1, n2, degrees): the angle of the refracted ray in degrees, or std::nullopt, no angle, if there is none (when Snell’s law would need a sine above 1).
A ray of light in water () meets the surface at from the normal and passes out into air (). At what angle from the normal does it leave, in degrees?
°
Physics192 / 232
Module 17 · Light and optics
Total internal reflection traps light
Light going from a slow material into a faster one bends away from the normal. At the critical angle the refracted ray skims along the surface, at 90°. Beyond it, no light escapes: all of it reflects back inside. This is total internal reflection, and it is perfect, better than any mirror.
Optical fibres carry light, and the internet, for kilometres by bouncing it off their walls beyond the critical angle.
A diamond () has a critical angle of only 24.4°, so light entering it bounces round inside many times before escaping: its sparkle.
Dispersion: depends slightly on wavelength (violet bends more than red), so a prism spreads white light into colours. A rainbow is sunlight refracted, reflected inside raindrops, and dispersed.
QuizInteractive · disabled in the PDF
A swimmer underwater looks up. Beyond what angle from straight up does the surface look like a silver mirror? (Water .)
A swimmer underwater looks up. Beyond what angle from straight up does the surface look like a silver mirror? (Water .)
Physics193 / 232
Module 17 · Light and optics
Lenses form images: the thin lens equation
A converging (convex) lens is thicker in the middle. Refraction at its curved faces bends parallel rays to meet at the focal point, a distance (the focal length) from the lens. For an object at distance , the image forms at distance and is magnified by :
Sign convention: is a real image on the far side (it can be caught on a screen); is a virtual one on the near side. Negative means upside down. A diverging lens has negative . The same equation works for curved mirrors, where a real image forms in front of the mirror.Far object: a real, inverted, smaller image (a camera). Inside the focal length: a virtual, upright, bigger one (a magnifying glass).
dᵢ
Image distance (cm)15
Magnification−0.5
Image distance against object distance, for a converging lens. Drag the object: crossing the focal point (dashed) flips the image from virtual to real.
Code challengeInteractive · disabled in the PDF
Write imageDistance(f, objectDistance) and magnification(f, objectDistance) from the thin lens equation. Distances are in any one unit; use the sign convention above.
A projector’s lens has a focal length of and makes a sharp image of a slide on a screen from the lens. How far from the lens is the slide, and what is the magnification?
cm
Physics194 / 232
Module 17 · Light and optics
Two slits prove light is a wave
In 1801 Thomas Young shone light through two narrow slits a distance apart. On a screen a distance away he saw not two bright lines but many, fringes: bright where the waves from the two slits arrive in step, dark where they cancel. Only waves do that. Bright fringes are where the path difference is a whole number of wavelengths:
Intensity
Fringe spacing (mm)5.2
Brightness across the screen: slits 0.25 mm apart, screen 2 m away. Drag the wavelength from violet to red.
Diffraction: waves spread round edges and through gaps, most when the gap is near the wavelength. One slit of width gives dark fringes at , for
A diffraction grating, hundreds of slits per millimetre or more, makes sharp bright lines at : it splits light into its wavelengths. A CD’s rainbow sheen is one.
Diffraction limits every telescope and microscope: a lens of diameter can’t resolve angles much below .
QuizInteractive · disabled in the PDF
In Young’s experiment, which change spreads the fringes further apart?
In Young’s experiment, which change spreads the fringes further apart?
ProblemInteractive · disabled in the PDF
Red laser light of wavelength passes through two slits apart onto a screen away. What is the spacing of the bright fringes, in millimetres? At what angle from the centre, in degrees, is the second bright fringe on one side ()?
mm
°
Physics195 / 232
Module 17 · Light and optics
Polarisation shows light is transverse
Light’s electric field wobbles across its direction of travel. In ordinary light the direction of wobble is random and changes constantly: it is unpolarised. A polarising filter lets through only the part of the wobble along its axis, so the light leaving it is polarised, and half as bright. A second filter at angle to the first passes the fraction (Malus’s law):
cos² θ
Fraction through0.5
Light through a second polariser. At 90° (crossed) nothing gets through.
Light reflecting off water or a road is partly polarised, horizontally; at Brewster’s angle, (53° for water), the reflection is completely polarised. Polarised sunglasses have vertical axes and block that glare. Sound, a longitudinal wave, can’t be polarised at all.
QuizInteractive · disabled in the PDF
Two crossed polarisers (at 90°) block all light. You slip a third between them, at 45° to each. What fraction of the original unpolarised light now gets through?
Two crossed polarisers (at 90°) block all light. You slip a third between them, at 45° to each. What fraction of the original unpolarised light now gets through?
Physics196 / 232
Module 17 · Light and optics
Practice problems
ProblemInteractive · disabled in the PDF
An optical fibre has a glass core of refractive index inside a cladding of index . What is the critical angle at the boundary between core and cladding, in degrees? How long does light take to travel through the core, in milliseconds, ignoring its zigzag? Use .
°
ms
ProblemInteractive · disabled in the PDF
You look at a stamp through a magnifying glass of focal length , held from the stamp. Where is the image, and what is the magnification? (A virtual image has a negative image distance.)
cm
ProblemInteractive · disabled in the PDF
Green light of wavelength falls straight onto a diffraction grating with lines per millimetre. At what angle, in degrees, is the first-order bright line? What is the highest order that can be seen?
°
ProblemInteractive · disabled in the PDF
Unpolarised light of intensity passes through a polarising filter, then through a second filter whose axis is at to the first. What is the intensity after the first filter, and after the second?
W/m²
W/m²
Physics197 / 232
Module 17 · Light and optics
Recap: light and optics
Light is an electromagnetic wave; , visible from about 380 to 750 nm.
In a material light is slower: .
Reflection: equal angles from the normal. Refraction: ; beyond , total internal reflection.
Thin lens: , ; real images are inverted, virtual ones upright.
Interference and diffraction: bright fringes at , spacing .
Polarisation (only transverse waves): Malus’s .
FlashcardsInteractive · disabled in the PDF
Refractive index
: how many times slower light is in a material than in a vacuum.
Which way does light bend entering glass from air?
Towards the normal: it slows down.
Critical angle
The angle of incidence beyond which light is totally reflected inside the slower material: .
Real image
One where light actually meets, so a screen can catch it. From a single lens, it is inverted.
Why did Young’s fringes matter?
Interference showed light is a wave.
Unpolarised light through one polariser
Half its intensity gets through.
Module 18: Special relativity
Physics198 / 232
Module 18 · Special relativity
Two postulates, and the speed of light is the same for everyone
Maxwell’s equations give light a speed, , without saying relative to what. If you chased a light beam at , would you see it pass at only ? Experiments, starting with Michelson and Morley’s in 1887, always found the same , however the apparatus moved. In 1905 Albert Einstein took this at face value and built special relativity on two postulates:
The laws of physics are the same in every inertial frame (any viewpoint moving at constant velocity). No experiment can tell which one is “really” at rest.
The speed of light in a vacuum is the same, , for every inertial observer, whatever the motion of the source.
The second sounds harmless and isn’t. Speeds don’t simply add, so something else must give: time and space themselves. Everything in this module follows from these two sentences and some algebra.
Frame of reference
A viewpoint with its own rulers and clocks, from which you measure where and when.
Inertial frame
A frame that isn’t accelerating, where Newton’s first law holds.
Event
Something that happens at one place at one instant: a flash, a tick. Its coordinates are .
Physics199 / 232
Module 18 · Special relativity
Simultaneous for you is not simultaneous for me
A train moves past a platform. A lamp in the exact middle of a carriage flashes, and each door opens when the light reaches it. For a passenger, light reaches the front and back doors at the same moment: the carriage is still in her frame, and the light travels equal distances at equal speed. For someone on the platform, the back door moves towards the light and the front door away from it. Light still travels at for him, so it reaches the back door first.
The relativity of simultaneity. Two events at different places that are simultaneous in one frame are not simultaneous in a frame moving along the line joining them. Neither observer is wrong. There is no universal “now”; this one idea untangles almost every relativity paradox.
QuizInteractive · disabled in the PDF
In the train example, who is right about whether the doors opened at the same time?
In the train example, who is right about whether the doors opened at the same time?
Physics200 / 232
Module 18 · Special relativity
The Lorentz factor measures how relativistic you are
One number appears in every formula of special relativity: the Lorentz factor (gamma), for a speed . It is written with , the speed as a fraction of light’s. It is almost exactly 1 at everyday speeds, grows slowly, then shoots up towards infinity as approaches .
γ
γ1.667
γ against β. Below about 0.1c relativity barely shows; near c it dominates.
Code challengeInteractive · disabled in the PDF
Write lorentz(speed): the Lorentz factor for a speed in m/s. Use c = 299 792 458 m/s.
C++
1#include<cmath>23constdouble c =299792458; // m/s45doublelorentz(double speed){6return1;7}
ProblemInteractive · disabled in the PDF
A spaceship travels at . Find its Lorentz factor. Then find the speed, as a fraction of , at which .
c
Physics201 / 232
Module 18 · Special relativity
Moving clocks run slow
Picture a light clock: a pulse bouncing between two mirrors, each round trip a tick. Watched while it moves past you, the pulse travels a longer, slanted path. Light still goes at , so each tick takes you longer to see. The time between two ticks measured by the clock itself, at rest with them, is the proper time ; anyone watching it move measures more:
Every clock does this, atomic or biological, because the light clock is no different from any other by the first postulate.Muons made by cosmic rays 10 km up live 2.2 μs at rest, yet they reach the ground. Their clocks run slow.
QuizInteractive · disabled in the PDF
One twin flies to a star at 0.8c and back; the other stays on Earth. Each sees the other’s clock running slow while they move apart. Who is younger when they meet again?
One twin flies to a star at 0.8c and back; the other stays on Earth. Each sees the other’s clock running slow while they move apart. Who is younger when they meet again?
ProblemInteractive · disabled in the PDF
Pions live for on average, measured at rest. A beam of them moves at through a laboratory. Use . How long does an average pion live, as measured in the lab, and how far does it travel in that time?
ns
m
Going deeper
The light clock with mirrors a distance apart. In your frame the pulse’s slanted path is the hypotenuse of a right triangle, by Pythagoras.
Physics202 / 232
Module 18 · Special relativity
Moving lengths shrink, along the motion
An object’s length measured at rest is its proper length . Measured by someone it moves past, it is shorter, but only along the direction of motion; widths across it are unchanged.
It is the same physics as time dilation, seen from the other side. In the muon’s own frame its clock is normal, living 2.2 μs. But the atmosphere rushes past it at 0.998c, so the 10.4 km of air is contracted to km, which it crosses easily. Both frames agree the muon arrives; they disagree about why.
QuizInteractive · disabled in the PDF
A spaceship 100 m long at rest flies past you at 0.6c. How long do you measure it to be?
A spaceship 100 m long at rest flies past you at 0.6c. How long do you measure it to be?
ProblemInteractive · disabled in the PDF
Proxima Centauri is light-years from Earth, measured in Earth’s frame (a light-year is the distance light travels in a year). A ship flies there at . How long does the trip take in Earth’s frame, how long by the ship’s clocks, and how far away is the star as measured by the crew?
years
years
light-years
Physics203 / 232
Module 18 · Special relativity
Speeds add in a way that never passes c
A rocket moving at fires a probe forward at relative to itself. Newton says you see the probe at . With time and length changing, the right rule is:
For small speeds the bottom is nearly 1, and you get back Newton’s sum.Light fired from a moving rocket still travels at exactly c, as the second postulate demands.
Code challengeInteractive · disabled in the PDF
Write addVelocities(u, v), with both speeds as fractions of c: the speed you measure for something moving at u relative to a frame that moves at v relative to you.
C++
1doubleaddVelocities(double u,double v){2return u + v;3}
ProblemInteractive · disabled in the PDF
A ship moving at relative to Earth launches a probe at relative to the ship. Find the probe’s speed relative to Earth, as a fraction of , if it is launched straight forward, and if it is launched straight backward.
c
c
Physics204 / 232
Module 18 · Special relativity
Spacetime diagrams draw time and space together
Draw position across and time up, measured as so both are in metres (or light-seconds). An object’s history is a line, its worldline: vertical if it is at rest, tilted if it moves. Light travels at 45°. Nothing can travel faster, so every worldline through an event stays inside its light cone.
Light
Worldline
Its x′ axis (its “now”)
Drag the speed. The accent line is an object’s worldline, and the muted line is the x′ axis of its frame: the events it calls simultaneous, which tilt up as it speeds up.
Different frames disagree about and between two events, but they all agree on the spacetime interval:
Positive is timelike: something could travel between the events, and a clock carried along reads , here 4 s (it moves at 0.6c, with , and ).
QuizInteractive · disabled in the PDF
Two events are 1 s apart in time and 2 light-seconds apart in space. Which is true?
Two events are 1 s apart in time and 2 light-seconds apart in space. Which is true?
Physics205 / 232
Module 18 · Special relativity
Mass is a form of energy
Making momentum conserved in every frame forces new formulas for momentum and energy: and . At rest, and an object still has energy, its rest energy . Mass and energy are the same thing in different units. The kinetic energy is the extra, , which for small speeds becomes the familiar .
Relativity
Newton
Kinetic energy, in units of mc². Newton’s ½mv² (dashed) agrees at low speed; the true value goes to infinity at c. That is why no massive thing reaches c.The rest energy of one gram. The Sun shines by turning about 4 million tonnes of mass into energy every second, by fusion.
Code challengeInteractive · disabled in the PDF
Write kineticEnergy(mass, speed): the relativistic kinetic energy in joules for a mass in kg and a speed in m/s.
C++
1#include<cmath>23constdouble c =299792458; // m/s45doublekineticEnergy(double mass,double speed){6return0.5* mass * speed * speed;7}
Physics206 / 232
Module 18 · Special relativity
A glimpse of general relativity: gravity is curved spacetime
Special relativity leaves out gravity and acceleration. Einstein’s equivalence principle (1907) began the rest: in a closed lift, you can’t tell gravity from acceleration. Falling freely, you feel weightless, as if gravity had vanished. In general relativity (1915) gravity isn’t a force at all: mass and energy curve spacetime, and free objects follow the straightest paths through it. In John Wheeler’s words, matter tells spacetime how to curve, and spacetime tells matter how to move.
Gravitational time dilation: clocks lower in a gravitational field run slower.
Light bends round massive objects: seen in the 1919 eclipse, and in gravitational lenses.
Gravitational waves, ripples in spacetime from merging black holes, were first detected in 2015 by LIGO.
Black holes: where spacetime is so curved that nothing, not even light, gets out past the event horizon.
QuizInteractive · disabled in the PDF
GPS satellite clocks move fast (special relativity: about 7 μs a day slow) and sit higher in Earth’s gravity (general relativity: about 45 μs a day fast). What happens if engineers ignore both?
GPS satellite clocks move fast (special relativity: about 7 μs a day slow) and sit higher in Earth’s gravity (general relativity: about 45 μs a day fast). What happens if engineers ignore both?
Physics207 / 232
Module 18 · Special relativity
Practice problems
ProblemInteractive · disabled in the PDF
In Earth’s frame, event B happens after event A and light-seconds away from it. Find the spacetime interval between them, in light-seconds, the time shown by a clock carried at a steady speed from A to B, and that speed as a fraction of .
light-seconds
s
c
ProblemInteractive · disabled in the PDF
A proton () moves at . Using and , find , the proton’s rest energy in MeV, and its kinetic energy in MeV.
MeV
MeV
ProblemInteractive · disabled in the PDF
A city uses electrical power at an average of for a year (). How much energy is that, and how much mass, in grams, would have to be turned entirely into energy to supply it? Use .
J
g
Physics208 / 232
Module 18 · Special relativity
Recap: special relativity
Two postulates: physics is the same in every inertial frame, and so is .
Simultaneity is relative; there is no universal now.
. Moving clocks run slow, ; moving lengths shrink, .
Velocities add as , never past .
The interval is the same in every frame.
: rest energy , kinetic . General relativity: gravity is curved spacetime.
FlashcardsInteractive · disabled in the PDF
Proper time
Time measured by a clock present at both events: the shortest of any frame’s.
γ at 0.6c
1.25 (since √(1 − 0.36) = 0.8).
Which lengths contract?
Only those along the direction of motion.
Timelike interval
: one event can influence the other, and all frames agree on their order.
Rest energy of 1 kg
J.
Equivalence principle
Locally, gravity can’t be told apart from acceleration.
Module 19: Quantum physics
Physics209 / 232
Module 19 · Quantum physics
Hot things glow, and classical physics got it wrong
Everything glows with light that depends on its temperature: a stove ring glows red, the Sun white. An ideal absorber and emitter is a black body, and its spectrum has a peak that moves to shorter wavelengths as it heats up (Wien’s law). Classical physics predicted the brightness would grow without limit at short wavelengths, the “ultraviolet catastrophe”. In 1900 Max Planck fixed it with a strange guess: light is given out only in lumps of energy .
is Planck’s constant. For the Sun’s surface, 5778 K, the peak is near 500 nm: green-blue, in the middle of what you see.
Planck
Classical
Peak wavelength (nm)580
A black body’s spectrum (relative brightness). The shaded band is visible light; the dashed curve is the classical prediction, which blows up at short wavelengths. Drag the temperature.
QuizInteractive · disabled in the PDF
A red star has a surface of 3000 K and a blue one 12 000 K. How do their peak wavelengths compare?
A red star has a surface of 3000 K and a blue one 12 000 K. How do their peak wavelengths compare?
ProblemInteractive · disabled in the PDF
Your skin is at about 34 °C. At what wavelength, in micrometres, does it glow most brightly? A star’s spectrum peaks at : what is its surface temperature? Use .
μm
K
Physics210 / 232
Module 19 · Quantum physics
The photoelectric effect: light comes in photons
Shine light on a clean metal and it can knock electrons out. Brighter light ejects more electrons, but not faster ones. Below a threshold frequency no electrons come out at all, however bright the light. A wave can’t explain this. Einstein’s answer, in 1905: light itself is made of lumps, photons, each of energy . One photon gives all its energy to one electron, which needs at least the metal’s work function to escape:
hf − φ
Threshold (10¹⁴ Hz)5.51
Fastest electrons’ energy against the light’s frequency. The slope is h, the same for every metal; the work function sets the threshold (dashed).
Code challengeInteractive · disabled in the PDF
Write maxKineticEV(wavelengthNm, workFunctionEV): the largest kinetic energy (eV) of electrons knocked out by light of that wavelength, or 0 if none escape. A photon’s energy in eV is 1239.84 divided by its wavelength in nm.
C++
1#include<algorithm>23constdouble HC =1239.84; // eV·nm45doublemaxKineticEV(double wavelengthNm,double workFunctionEV){6return HC / wavelengthNm;7}
ProblemInteractive · disabled in the PDF
Ultraviolet light of wavelength shines on tungsten, whose work function is . Use . Find each photon’s energy, the largest kinetic energy of the electrons knocked out, and the longest wavelength that can knock out any electrons at all.
eV
eV
nm
Physics211 / 232
Module 19 · Quantum physics
A photon carries energy and momentum
A photon has no mass, but it has momentum: from with . Sunlight pushes solar sails.A 1 mW red laser pointer: each photon is tiny, so the beam looks smooth.
QuizInteractive · disabled in the PDF
Why does ultraviolet light cause sunburn while a much brighter red lamp doesn’t?
Why does ultraviolet light cause sunburn while a much brighter red lamp doesn’t?
ProblemInteractive · disabled in the PDF
A green laser pointer gives out of light of wavelength . Find the energy of one photon in eV and in units of , and the number of photons it gives out each second. Use and .
eV
× 10⁻¹⁹ J
Physics212 / 232
Module 19 · Quantum physics
Everything is both wave and particle
Send light through Young’s two slits so dimly that only one photon is in the apparatus at a time. Each photon arrives at a single point on the screen, like a particle. But as thousands arrive, they build up the interference fringes, like a wave. Each photon somehow passes through both slits. Do the same with electrons, atoms, even molecules of 2000 atoms: the same fringes appear.
The wave says where a particle is likely to be found; each detection is a single particle.
Put a detector at the slits to see which one each particle goes through, and the fringes vanish.
Neither picture alone is the whole truth. A quantum object is something new that behaves like a wave while it travels and like a particle when it is detected.
Louis de Broglie’s idea (1924): every particle with momentum has a wavelength.The electron’s wavelength is atom-sized, so crystals diffract electrons. The baseball’s is far too small ever to notice.
Fill the blanksInteractive · disabled in the PDF
Fill in the de Broglie wavelength of a neutron.
C++
1double h =6.626e-34; // J·s2double mass =1.675e-27; // kg, a neutron3double speed =2200; // m/s, a "thermal" neutron4double wavelength = h /(); // about 0.18 nm
ProblemInteractive · disabled in the PDF
In 1927 Clinton Davisson and Lester Germer fired electrons, accelerated from rest through , at a nickel crystal and saw them diffract. Find the electrons’ momentum, in units of , and their de Broglie wavelength in nanometres. Use , and .
× 10⁻²⁴ kg·m/s
nm
Physics213 / 232
Module 19 · Quantum physics
You can’t know position and momentum exactly at once
A wave spread over a long region has a clear wavelength, so (by de Broglie) a clear momentum, but no definite position. Squeeze it into a short pulse and you have to add many wavelengths together: its position sharpens and its momentum blurs. Werner Heisenberg’s uncertainty principle puts a number on it, with J·s:
An electron confined to an atom, 0.1 nm across, can’t sit still: it must move at hundreds of kilometres a second.
QuizInteractive · disabled in the PDF
What does the uncertainty principle say?
What does the uncertainty principle say?
Physics214 / 232
Module 19 · Quantum physics
Atoms have energy levels, and spectra are their fingerprints
A hot gas doesn’t glow with a smooth spectrum: it gives off sharp lines of particular colours, a different set for each element. Niels Bohr explained hydrogen’s in 1913. Its electron can only have certain energies, the energy levels. Dropping from a higher level to a lower one, it gives off one photon carrying exactly the difference. Absorbing a photon of exactly that energy lifts it back up.
Negative means bound: 13.6 eV is needed to free the electron from the lowest level, the ground state.Hydrogen’s energy levels in eV. They crowd together below 0, where the electron breaks free.
Code challengeInteractive · disabled in the PDF
Write hydrogenLineNm(upper, lower): the wavelength in nm of the photon given off when hydrogen’s electron drops from level upper to level lower. Use eV and eV·nm.
In full quantum mechanics a particle is described by a wavefunction (psi), which obeys the Schrödinger equation. itself isn’t measured. Max Born’s rule: is the probability density of finding the particle at , so the chance of finding it between and is the area under there, and the total area is 1.
A particle in a box of width : like a string’s standing waves, only whole numbers of half-waves fit, so the energy is quantised.
|ψₙ|²
P(left quarter)0.091
Probability density in a box of width 1. The shaded area is the chance of finding the particle in the left quarter. Drag the level.
QuizInteractive · disabled in the PDF
A particle in a box is in the state n = 2. Where are you least likely to find it?
A particle in a box is in the state n = 2. Where are you least likely to find it?
Physics216 / 232
Module 19 · Quantum physics
Particles tunnel through walls
A ball rolling at a hill too high for it always rolls back. A quantum particle meeting a barrier higher than its energy doesn’t quite: its wavefunction leaks into the barrier, dying away exponentially, and if the barrier is thin some of it reaches the other side. The particle can be found there. This is tunnelling. For a barrier of width standing above the particle’s energy:
For an electron and eV, per nanometre.
T ≈ e^(−2κd)
Through 1 nm3.55e−5
Chance an electron gets through, against the barrier’s width. Drag its height: each extra few tenths of a nanometre cuts it many times over.
Alpha decay: an alpha particle tunnels out of a nucleus it hasn’t the energy to climb out of.
Fusion in the Sun: protons tunnel through their electric repulsion; without it the Sun’s core would be too cool to shine.
The scanning tunnelling microscope images single atoms using the current that tunnels across a gap of a nanometre; flash memory stores bits by tunnelling electrons onto an insulated gate.
QuizInteractive · disabled in the PDF
An electron tunnels through a 0.5 nm barrier with a chance of about 0.006. Roughly what is its chance through 1.0 nm of the same barrier?
An electron tunnels through a 0.5 nm barrier with a chance of about 0.006. Roughly what is its chance through 1.0 nm of the same barrier?
Physics217 / 232
Module 19 · Quantum physics
The nucleus, and radioactive decay
A nucleus is protons and neutrons (nucleons) packed into about m, held by the strong force, which beats the protons’ electric repulsion at that range. Atoms of one element with different numbers of neutrons are isotopes: carbon-12 and carbon-14. Some nuclei are unstable and decay at random, turning into others:
Decay
What comes out
Stopped by
Alpha (α)
A helium nucleus: 2 protons, 2 neutrons
A sheet of paper
Beta (β⁻)
An electron (and an antineutrino), as a neutron turns into a proton
A few mm of aluminium
Gamma (γ)
A high-energy photon, as the nucleus settles to a lower level
Thick lead or concrete, partly
No one can say when one nucleus will decay, but a large number decay at a steady rate: half are left after one half-life , a quarter after two, and so on. Carbon-14’s is 5730 years, which lets archaeologists date bones and wood.
N / N₀
Left after 10 000 years0.298
The fraction of nuclei left. Each half-life (dashed) halves what remains.
Code challengeInteractive · disabled in the PDF
Write remaining(n0, halfLife, t): how much is left after time t. Then age(fraction, halfLife): how long it takes to fall to that fraction. Both use the same time unit as halfLife.
A nucleus weighs less than its protons and neutrons apart: the missing mass, times , is its binding energy. Binding energy per nucleon is highest near iron and nickel. So splitting heavy nuclei (fission, in power stations) and joining light ones (fusion, in stars) both release energy, each moving towards iron.
Physics218 / 232
Module 19 · Quantum physics
Practice problems
ProblemInteractive · disabled in the PDF
Hydrogen’s electron drops from level to . Using and , find the photon’s energy and its wavelength. How much energy would free the electron completely from ?
eV
nm
eV
ProblemInteractive · disabled in the PDF
A proton is confined inside a nucleus, so the uncertainty in its position is about . Find the smallest possible uncertainty in its momentum, in units of , and in its speed. Use and .
× 10⁻²¹ kg·m/s
m/s
ProblemInteractive · disabled in the PDF
A wooden bowl has 30% of the carbon-14 that living wood has. Carbon-14’s half-life is years. How many half-lives have passed, and how old is the bowl?
years
ProblemInteractive · disabled in the PDF
An electron is trapped in a box wide. Use with and , and , . Find its lowest energy in eV, and the wavelength of the photon it gives off when it drops from to .
eV
nm
Physics219 / 232
Module 19 · Quantum physics
Recap: quantum physics
Planck: light is emitted in lumps . Wien: .
Photoelectric effect: . Light is photons, with and .
Matter is waves too: . Each detection is a particle; the pattern is a wave.
Uncertainty: .
Atoms have levels ( eV for hydrogen); photons carry the differences, giving line spectra.
is probability density. Particles tunnel through thin barriers. Nuclei decay with a half-life: .
FlashcardsInteractive · disabled in the PDF
Photon energy for 500 nm light
eV.
Work function
The least energy needed to free an electron from a metal’s surface.
de Broglie wavelength
: the wavelength of any particle with momentum .
Born rule
is the probability density of finding the particle.
Ground state
An atom’s lowest energy level.
Half-life
The time for half of a sample’s unstable nuclei to decay.
Module 20: Physics like an expert
Physics220 / 232
Module 20 · Physics like an expert
How an expert attacks a problem
Experts don’t know more formulas so much as use a method. They picture the situation before writing anything, pick the principle that fits (forces, energy, momentum, a conservation law), solve with symbols, and only then put numbers in. Above all they check: units, sizes and limiting cases catch most mistakes before anyone else sees them.
Put in orderInteractive · disabled in the PDF
Put the steps of solving a physics problem in order.
1.Draw a sketch and write down what is known and what is wanted
2.Put in the numbers and judge whether the size is sensible
3.Solve with symbols, to get a formula for the unknown
4.Check the formula’s units and its limiting cases
5.Choose the principle: Newton’s laws, energy, momentum, a field law
Units: both sides of every equation must have the same units. A sum of a length and a time is always a bug.
Limits: let a mass go to zero, an angle to 90°, a speed to . Does the formula do what it must?
Symmetry: if nothing tells left from right, the answer can’t either.
Order of magnitude: estimate first (module 1’s Fermi estimates), so a wrong power of ten jumps out.
QuizInteractive · disabled in the PDF
A student finds that a block sliding from rest down a frictionless ramp of height at angle reaches the bottom at . What shows it is wrong without redoing the work?
A student finds that a block sliding from rest down a frictionless ramp of height at angle reaches the bottom at . What shows it is wrong without redoing the work?
Physics221 / 232
Module 20 · Physics like an expert
Simulating motion: not all steps are equal
Most real problems have no neat formula, so physicists, engineers and game engines step them forward in time. You have used Euler’s method: new position from the old velocity, new velocity from the old acceleration. It is simple, and for oscillations it is bad: each step gains a little energy, and the errors pile up. Better methods cost little more:
Method
Energy error after 100 steps
Over long runs
Euler
+170%
Grows without limit: orbits spiral out
Semi-implicit Euler
−4.4%
Stays bounded (within about 5%)
Velocity Verlet
−0.07%
Stays bounded (within 0.25%)
RK4
−0.00014%
Tiny, but drifts steadily downward
Euler
True (and Verlet, closely)
Euler’s energy at t = 102.705
A spring with ω = 1, started with energy 1. Euler’s energy is multiplied by exactly 1 + ω²Δt² every step. Drag the step size.
Why Verlet wins for orbits. Verlet and semi-implicit Euler are symplectic: they exactly conserve a slightly different energy, so the true energy wobbles but never drifts. RK4 is far more accurate per step but not symplectic, so over millions of steps its energy creeps away. Molecular dynamics, long-term simulations of the planets’ orbits and game physics use symplectic steppers for this reason.
ProblemInteractive · disabled in the PDF
You simulate a spring with by Euler’s method with a step . Each step multiplies the energy by . By what factor has the energy grown after of simulated time? What is the largest step, in milliseconds, that keeps the growth over those under 1%?
ms
Physics222 / 232
Module 20 · Physics like an expert
Write a Verlet stepper
Here is the method as code. The acceleration is passed in as a function of position, so the same stepper works for a spring, a pendulum or gravity. In C++ that parameter is a std::function<double(double)>, from <functional>: any function, or lambda such as [](double x) { return -x; }, that takes a double and returns one.
Code challengeInteractive · disabled in the PDF
Write verletStep(x, v, dt, accel): one velocity Verlet step, returning the new State, its x and v. accel(x) gives the acceleration at position x.
C++
1#include<functional>23structState{4double x; // position5double v; // velocity6};78StateverletStep(double x,double v,double dt,9 std::function<double(double)> accel){10 // This is plain Euler: it gains energy every step11return{x + v * dt, v +accel(x)* dt};12}
Physics223 / 232
Module 20 · Physics like an expert
Runge–Kutta: sample the slope four times
For an equation (a cooling cup, a charging capacitor, a population), the classic fourth-order Runge–Kutta method (RK4) samples the slope at the start, twice at the middle and at the end of each step, and takes a weighted average. Its error per unit time shrinks as : halve the step and it is 16 times more accurate.
Code challengeInteractive · disabled in the PDF
Write rk4Step(f, t, y, h): one RK4 step of size h for dy/dt = f(t, y), returning the new y. A Slope is any function of t and y.
C++
1#include<functional>23usingSlope= std::function<double(doublet,doubley)>;45doublerk4Step(Slope f,double t,double y,double h){6return y + h *f(t, y); // Euler, for now7}
Physics224 / 232
Module 20 · Physics like an expert
The Lagrangian: physics from one function
Newton works with forces, which are vectors and can be awkward with constraints (a bead on a wire, a pendulum). Lagrange’s approach works with energies, which are plain numbers. Pick any coordinates that describe the system, write the Lagrangian (kinetic minus potential energy), and the motion is what makes the action stationary. That gives the Euler–Lagrange equation:
is . A partial derivative treats every other variable as fixed.A pendulum, from its energies alone: no tension, no resolving forces. For small θ, sin θ ≈ θ gives module 10’s simple harmonic motion.
QuizInteractive · disabled in the PDF
A mass on a spring of stiffness has . What equation of motion does the Euler–Lagrange equation give?
A mass on a spring of stiffness has . What equation of motion does the Euler–Lagrange equation give?
Physics225 / 232
Module 20 · Physics like an expert
Noether: every symmetry gives a conservation law
In 1918 Emmy Noether proved one of the deepest results in physics. If a system’s Lagrangian doesn’t change when you shift it in some smooth way, a symmetry, then some quantity is conserved. The conservation laws you have used all course aren’t separate facts: they are symmetries of nature in disguise.
If the laws are the same…
This is conserved
at every moment (shift in time)
Energy
at every place (shift in space)
Linear momentum
in every direction (rotation)
Angular momentum
under a shift of the quantum phase
Electric charge
You can see it in the Euler–Lagrange equation. If doesn’t contain a coordinate at all (only its rate ), then , and so : the momentum belonging to is constant.
QuizInteractive · disabled in the PDF
A puck slides without friction over a vast surface whose height changes along x but not along y. Which component of the puck’s momentum must be conserved?
A puck slides without friction over a vast surface whose height changes along x but not along y. Which component of the puck’s momentum must be conserved?
Physics226 / 232
Module 20 · Physics like an expert
Chaos: simple rules, unpredictable motion
A pendulum hanging from a pendulum, the double pendulum, follows Newton’s laws exactly, with no randomness. Yet two runs that start a millionth of a radian apart soon do completely different things. That is chaos: deterministic, but so sensitive to its start that it can’t be predicted for long. The gap grows roughly exponentially, as , where is the Lyapunov exponent. Weather is chaotic, which is why forecasts fade after a week or two.
Two double pendulums (equal 1 kg masses on 1 m arms), both arms starting at 2 rad, one a millionth of a radian further. The bars are log₁₀ of the gap between their lower-arm angles: from 10⁻⁶ to several radians in 16 s.
PlaygroundInteractive · disabled in the PDF
C++
1#include<array>2#include<cmath>3#include<iostream>45usingS= std::array<double,4>; // angle1, angle2, speed1, speed26constdouble g =9.81; // equal 1 kg masses, 1 m arms78Sderiv(S s){9auto[a, b, p, q]= s;10double d = a - b, den =3- std::cos(2* d);11double pa =(-3* g * std::sin(a)- g * std::sin(a -2* b)12-2* std::sin(d)*(q * q + p * p * std::cos(d)))/ den;13double qa =(2* std::sin(d)*(2* p * p +2* g * std::cos(a)14+ q * q * std::cos(d)))/ den;15return{p, q, pa, qa};16}17Sadd(S s,S k,double h){18for(int i =0; i <4; i++) s[i]+= k[i]* h;19return s;20}21Sstep(S s,double h){22S k1 =deriv(s), k2 =deriv(add(s, k1, h /2));23S k3 =deriv(add(s, k2, h /2)), k4 =deriv(add(s, k3, h));24for(int i =0; i <4; i++)25 s[i]+= h /6*(k1[i]+2* k2[i]+2* k3[i]+ k4[i]);26return s;27}28intmain(){29S one ={2,2,0,0}, two ={2+1e-6,2+1e-6,0,0};30 std::cout.precision(2);31for(int i =1; i <=20000; i++){32 one =step(one,0.001);33 two =step(two,0.001);34double gap = std::abs(one[1]- two[1]);35if(i %2000==0)36 std::cout <<"t = "<< i /1000<<" s, gap "<< gap <<"\n";37}38return0;39}
RK4 on the double pendulum. Make the starting difference 10⁻¹² instead: it buys only a few more seconds of predictability.
QuizInteractive · disabled in the PDF
A chaotic system’s gap grows by a factor of 10 every 2 s. You measure its start 1000 times more precisely. How much longer can you predict it?
A chaotic system’s gap grows by a factor of 10 every 2 s. You measure its start 1000 times more precisely. How much longer can you predict it?
ProblemInteractive · disabled in the PDF
In a weather model, small errors grow as and double every days. Find the Lyapunov exponent , per day. An error starts at 0.1% of the size that makes a forecast useless: after how many days is the forecast useless?
per day
days
Physics227 / 232
Module 20 · Physics like an expert
The Standard Model: what everything is made of
Every experiment so far fits the Standard Model of particle physics, built through the 1960s and 70s and completed with the discovery of the Higgs boson at CERN in 2012. Matter is made of fermions, in three families of increasing mass; forces are carried by bosons.
Standard Model
Quarksfeel the strong force
up, charm, topcharge +2/3
down, strange, bottomcharge −1/3
Leptons
electron, muon, taucharge −1
three neutrinosneutral, nearly massless
Bosons
photonelectromagnetism
gluonsstrong force
W and Zweak force
Higgsgives mass
Force
Carrier
Rough relative strength
Range
Strong
Gluons
1
About 10⁻¹⁵ m (inside nuclei)
Electromagnetic
Photon
10⁻²
Infinite
Weak
W and Z
10⁻⁶
About 10⁻¹⁸ m
Gravity
Not in the Standard Model
10⁻³⁹
Infinite
QuizInteractive · disabled in the PDF
A proton is made of three quarks and has charge +1. Which three?
A proton is made of three quarks and has charge +1. Which three?
Physics228 / 232
Module 20 · Physics like an expert
What physics doesn’t know yet
What the universe’s energy is made of, by percentage, from measurements of the cosmic microwave background. Everything you have studied is the first bar.
Dark matter: galaxies spin too fast for their visible mass; something unseen, five times more than ordinary matter, holds them together. No one knows what.
Dark energy: the universe’s expansion is speeding up, as if empty space had energy of its own.
Quantum gravity: general relativity and quantum mechanics both work superbly, and contradict each other inside black holes and at the Big Bang. String theory and loop quantum gravity are candidates; neither is tested.
Matter over antimatter: the Big Bang should have made equal amounts, which would have annihilated. Something tipped the balance.
Neutrino masses: neutrinos have tiny masses the Standard Model doesn’t explain.
QuizInteractive · disabled in the PDF
What is the main evidence that dark matter exists?
What is the main evidence that dark matter exists?
Physics229 / 232
Module 20 · Physics like an expert
Mastery questions: everything at once
QuizInteractive · disabled in the PDF
Which combination of (m/s²) and a length (m) has the units of a speed?
Which combination of (m/s²) and a length (m) has the units of a speed?
QuizInteractive · disabled in the PDF
An electron and a proton are both accelerated from rest through 1000 V. Which has the shorter de Broglie wavelength?
An electron and a proton are both accelerated from rest through 1000 V. Which has the shorter de Broglie wavelength?
QuizInteractive · disabled in the PDF
You simulate a capacitor discharging, , with Euler’s method and a step of . What does the simulation do?
You simulate a capacitor discharging, , with Euler’s method and a step of . What does the simulation do?
QuizInteractive · disabled in the PDF
A satellite in a circular orbit fires its engine forward along its motion, twice (once to climb, once to round off the orbit), and ends in a higher circular orbit. How does its new speed compare with the old?
A satellite in a circular orbit fires its engine forward along its motion, twice (once to climb, once to round off the orbit), and ends in a higher circular orbit. How does its new speed compare with the old?
Physics230 / 232
Module 20 · Physics like an expert
Practice problems: motion and energy
ProblemInteractive · disabled in the PDF
A skier starts from rest and slides down a frictionless slope, dropping vertically to a ramp that launches her horizontally. The ramp’s lip is above flat ground. Take and ignore air resistance. How fast does she leave the ramp, how long is she in the air, and how far from the lip, horizontally, does she land?
m/s
s
m
ProblemInteractive · disabled in the PDF
A block slides at on a frictionless floor and hits a block at rest, which is attached to a horizontal spring of stiffness whose other end is fixed to a wall. The blocks stick together. Find their speed just after the collision, the spring’s greatest compression, and the period of the oscillation that follows.
m/s
m
s
ProblemInteractive · disabled in the PDF
A space station orbits Earth in a circle above the surface. Earth’s mass is , its radius , and . Find the station’s orbital speed, and its period in minutes.
m/s
minutes
Physics231 / 232
Module 20 · Physics like an expert
Practice problems: heat, fields and light
ProblemInteractive · disabled in the PDF
A kettle on heats of water from 20 °C to 100 °C in minutes. Assume all the electrical energy goes into the water, with . Find the kettle’s power, the current it draws, and the resistance of its element.
W
A
Ω
ProblemInteractive · disabled in the PDF
Protons start at rest, are accelerated through , then enter a uniform magnetic field at right angles to it. Use and . Find their speed, and the radius of the circle they follow in centimetres.
m/s
cm
ProblemInteractive · disabled in the PDF
Sunlight near Earth carries . A solar sail of area , facing the Sun, absorbs all the light that falls on it, and the craft’s total mass is . Use and ignore gravity. Find the force of the light in millinewtons, the craft’s acceleration, and the speed it gains in 30 days, starting from rest.
mN
m/s²
m/s
Physics232 / 232
Module 20 · Physics like an expert
Recap: physics like an expert
Method: sketch, choose a principle, solve in symbols, check units and limits, then numbers and a sanity check.
Simulation: Euler drifts; symplectic methods (semi-implicit Euler, Verlet) keep energy bounded; RK4 is very accurate per step.
Lagrangian mechanics: and the Euler–Lagrange equation give motion from energies.
Noether: time symmetry gives energy, space symmetry momentum, rotation angular momentum.
Chaos: deterministic but exponentially sensitive; precision buys time only logarithmically.
The Standard Model accounts for all known matter and three forces; dark matter, dark energy and quantum gravity are open.
FlashcardsInteractive · disabled in the PDF
Symplectic integrator
A stepper (like Verlet) that conserves a nearby energy exactly, so the true energy never drifts.
Lagrangian
: kinetic minus potential energy.
Noether’s theorem
Every continuous symmetry of the laws gives a conserved quantity.
Lyapunov exponent
The rate at which nearby starts separate in a chaotic system, .
The four forces
Strong, electromagnetic, weak and gravity.
Higgs boson
Found in 2012; its field gives the W, Z and matter particles their mass.
Answer key
1. Measuring the world: units, sizes and estimates · Physics looks for the few rules behind everything · QuizA model treats a thrown object as a point with no air resistance. For which object does it predict the flight best?A. A 7 kg shot put thrown 15 mAir pushes on everything, but what matters is how big that push is compared with the object’s weight. A heavy, compact shot put barely notices the air over 15 m, so the simple model is excellent. A feather or a sheet of paper is light with a large surface, so the air decides how it moves and the model fails completely. A model is not right or wrong in general: it is good enough for some cases and not for others.
1. Measuring the world: units, sizes and estimates · Seven base units measure everything · QuizWhich of these is an SI base unit?C. The kilogramThe kilogram is the base unit of mass, oddly the only one with a prefix already in its name. The gram is a thousandth of it, not a base unit in its own right. The newton is derived (), and kilometres per hour is a unit people use, but it is not SI at all: the SI unit of speed is the metre per second.
1. Measuring the world: units, sizes and estimates · Powers of ten and prefixes · Fill the blanksGive each prefix its power of ten, in metres per unit.1: 3, 2: -3, 3: -6, 4: -9Kilo is a thousand, ; milli a thousandth, ; micro a millionth, ; nano a billionth, . The classic slip is confusing the two "m"s: capital M is mega, a million times bigger, and small m is milli, a thousand times smaller. A 5 MW turbine and a 5 mW laser pointer differ by a factor of a billion.
1. Measuring the world: units, sizes and estimates · Convert units by multiplying by one · Code challengeWrite kmhToMs(kmh), which turns a speed in kilometres per hour into metres per second, and msToKmh(ms), which goes back.One solution:
Solution
1doublekmhToMs(double kmh){2return kmh *1000/3600;3}45doublemsToKmh(double ms){6return ms *3600/1000;7}
One kilometre is 1000 m and one hour is 3600 s, so km/h to m/s is , which is . Going back flips both factors. The usual mistake is multiplying by 3.6 in the wrong direction: a quick sense check catches it, because a number in m/s is always smaller than the same speed in km/h: an hour is 3600 times longer than a second, but a kilometre is only 1000 times longer than a metre. The parameters are doubles on purpose: with an int speed, kmh / 3600 * 1000 would be 0, since an int divided by an int drops the fraction. The tests use EXPECT_NEAR with a small tolerance, never EXPECT_EQ, since need not come out as exactly 20 in binary.
1. Measuring the world: units, sizes and estimates · Convert units by multiplying by one · ProblemA cyclist rides in . What is her average speed in metres per second, and in kilometres per hour?In m/s 20/3 ≈ 6.66667 m/s; In km/h 24 km/h
Convert both quantities to SI units, writing each conversion factor out:
In kilometres per hour, 45 minutes is :
Check: , the same speed. The average speed is , or .
1. Measuring the world: units, sizes and estimates · Dimensional analysis checks a formula before you trust it · QuizA stone is dropped from rest. Which formula for the distance it falls in time could be right? ( is an acceleration.)B. has dimension , a length, as a distance must be. is , a speed, and is , which is nothing useful. Dimensions cannot check the number in front, : a formula with the right dimensions can still be wrong by a factor, but one with the wrong dimensions is always wrong.
1. Measuring the world: units, sizes and estimates · Dimensional analysis checks a formula before you trust it · ProblemA mass bobs on a spring of stiffness , measured in N/m, which is : its dimension is . Suppose the period is , where is a number with no dimension. Match the dimensions of the two sides to find the powers and .1/2 ≈ 0.5; -1/2 ≈ −0.5
Write the dimensions of the right side:
The left side, a period, is . Match the powers:
So : a heavier mass is slower, a stiffer spring faster. Module 10 shows that . The answer is , .
1. Measuring the world: units, sizes and estimates · Significant figures say how precise a number is · QuizA floor measures by . What is its area, to the right number of significant figures?C. , but has only 2 significant figures, so the answer gets 2: . Writing claims you know the area to a thousandth of a square metre when one side was only measured to a tenth of a metre. Calculators print every digit; deciding how many mean something is your job.
1. Measuring the world: units, sizes and estimates · Every measurement comes with an uncertainty · Code challengeWrite mean(values), the sum of the measurements divided by how many there are, and halfRange(values), half the difference between the largest and the smallest. Both get a non-empty vector.One solution:
Solution
1#include<algorithm>2#include<vector>34doublemean(const std::vector<double>& values){5double sum =0;6for(double v : values) sum += v;7return sum / values.size();8}910doublehalfRange(const std::vector<double>& values){11double lo = std::ranges::min(values);12double hi = std::ranges::max(values);13return(hi - lo)/2;14}
The mean adds every value and divides by the count, values.size(). That division is safe because sum is a double; an int sum of whole-number readings would be cut to a whole number. The half-range uses std::ranges::min and std::ranges::max, from <algorithm>, which find the smallest and largest in the vector; a loop that keeps the smallest and largest so far does the same. Forgetting the / 2 gives the full range, twice the uncertainty you should quote. The half-range is crude: one wild timing inflates it. Careful experiments and any statistics course use the standard deviation instead, which weighs every value.
1. Measuring the world: units, sizes and estimates · Every measurement comes with an uncertainty · ProblemA rectangular tile measures by . Find its area, the relative uncertainty in the area as a percentage, and the absolute uncertainty in the area. Use the rule that relative uncertainties add when you multiply.Area 60 cm²; Relative uncertainty 17/6 ≈ 2.83333 %; Absolute uncertainty 1.7 cm²
The area is length times width: .
Each side’s relative uncertainty, then their sum:
Turn it back into an absolute uncertainty:
So the area is , a relative uncertainty of about . The short side dominates: the same is a bigger share of 5 cm than of 12 cm.
1. Measuring the world: units, sizes and estimates · Fermi estimates get within a factor of ten in a minute · Put in orderPut the steps of a Fermi estimate in order.1. Say exactly what number you want, with its unit 2. Break it into factors you can each guess 3. Guess each factor to one significant figure 4. Multiply, keeping track of the units and powers of ten 5. Check the answer against anything you know, and the units against what you wantedA clear question comes first, or you cannot tell which factors you need. Then split, guess, multiply. The last step is the one people skip: if the units left over are not the unit you asked for, a factor is missing, and if the answer contradicts something you know (ten times more heartbeats than seconds in a life, say, when a heart beats about once a second), a guess is badly off.
1. Measuring the world: units, sizes and estimates · From protons to the observable universe · QuizAn atom is about across and a grain of sand about . Roughly how many atoms side by side span the grain?C. About ten million, so the count is , ten million. Dividing powers of ten subtracts the exponents: . "About 7" is the tempting slip, the number of orders of magnitude rather than the count itself.
1. Measuring the world: units, sizes and estimates · Practice problems · ProblemThe Sun is from the Earth, and light travels at . How long does sunlight take to reach us, in seconds and in minutes?In seconds 500 s; In minutes 25/3 ≈ 8.33333 min
Time is distance over speed:
Sunlight is about 8 minutes 20 seconds old when it arrives: , or .
1. Measuring the world: units, sizes and estimates · Practice problems · ProblemDensity is mass per unit volume. Gold has a density of . Convert that to . Then find the mass, in grams, of a solid gold cube on each side.Density 19300 kg/m³; Mass of the cube 154.4 g
Convert grams to kilograms and cubic centimetres to cubic metres, with :
The cube’s volume is , and mass is density (, rho) times volume:
Gold is , and a 2 cm cube has a mass of about . Forgetting to cube the 100 gives , lighter than water: a sense check catches it.
1. Measuring the world: units, sizes and estimates · Practice problems · ProblemA leaking tap drips once a second, and each drop is . How many litres does it waste in a year of 365 days, and how many cubic metres is that? ( and .)Water wasted 1576.8 L; In cubic metres 1.5768 m³
One drop a second, so the number of drops is the number of seconds in a year:
Multiply by the volume of one drop, and convert:
About , or , a year: about ten bathtubs, from one drip a second.
1. Measuring the world: units, sizes and estimates · Practice problems · ProblemA human hair is about wide, and an atom about across. Roughly how many atoms side by side span the width of the hair?800000
In metres, the hair is and the atom .
About , nearly a million atoms across one hair. The metres cancel, leaving a plain count, as they should.
2. Motion in a line · Position is measured from an origin you choose · QuizYou walk 40 m east, then 60 m west. Taking east as positive, what are the distance and the displacement?B. Distance 100 m, displacement −20 mDistance counts every metre walked: , and is never negative. Displacement is where you ended minus where you started: , 20 m west of the start. The sign carries the direction, which is exactly what distance throws away.
2. Motion in a line · Speed has no direction; velocity does · QuizA runner does one full lap of a 400 m track in 50 s and finishes where she started. What are her average speed and average velocity?B. Speed 8 m/s, velocity 0 m/sAverage speed is . Her displacement is zero, because she ends where she began, so her average velocity is . It sounds odd, but it is what the definition says: average velocity only cares about where you started and ended, not the route.
2. Motion in a line · On a position–time graph, the slope is the velocity · QuizOn a position–time graph, a straight line sloping down means the object is:A. Moving in the negative direction at a constant speedA straight line has one slope, so the velocity is constant, and a downward slope makes it negative. The graph is not a picture of the path: "down" on the graph is not "down" in space. Slowing down would show as a curve that gets flatter, and standing still is a horizontal line, wherever it sits.
2. Motion in a line · Acceleration is how fast the velocity changes · QuizPositive is to the right. A car drives to the left and brakes, slowing from 15 m/s to 5 m/s in 2 s. What is its acceleration?B. Moving left, its velocities are negative: then . So . It is braking, yet the acceleration is positive, because it points right, against the leftward motion. Writing every velocity with its sign before subtracting is what avoids the tempting .
2. Motion in a line · Acceleration is how fast the velocity changes · ProblemA ball is rolled up a ramp at . later it is rolling back down at . Taking up the ramp as positive, what was its average acceleration? Give it with its sign. -2 m/s²
With up the ramp positive, the velocities are and .
The acceleration is , down the ramp the whole time: it slows the ball on the way up and speeds it up on the way down. Using speeds without signs, , is the trap.
2. Motion in a line · On a velocity–time graph, the area is the displacement · QuizA cyclist’s velocity rises steadily from 2 m/s to 8 m/s over 4 s. How far does she travel in that time?B. 20 mThe area under a straight line from 2 to 8 over 4 s is a trapezium: the average of the two velocities times the time, . Taking the final speed for the whole time gives 32 m, too much, because she was slower for most of it. 24 m is , the change of velocity times the time, which has the units of a distance but is not the one travelled.
2. Motion in a line · Four equations for constant acceleration · Fill the blanksPut the same example in code: the final velocity, then the displacement.1: a * t, 2: t * t is v0 + a * t, and is 0.5 * a * t * t: C++ has no power operator, so a square is t * t or std::pow(t, 2). A common slip is 0.5 * a * t, forgetting to square the time: that gives 13.5, and the units say why it is wrong, since is a speed, not a distance. Another is writing the half as 1 / 2: both are ints, so it is 0, and so is the distance.
2. Motion in a line · Four equations for constant acceleration · ProblemA plane starts from rest and accelerates steadily at along the runway. It needs to take off. How long must the runway be, at least, and how long does the take-off run last?Runway length 1125 m; Time 30 s
With , and , use the equation without time:
Then the time, from :
Check with the fourth equation: . The runway must be at least long, and the run takes .
2. Motion in a line · Stopping distance grows with the square of speed · Code challengeWrite stoppingDistance(speed, reactionTime, braking): the distance in metres a car at speed (m/s) covers while the driver reacts for reactionTime (s) and then brakes with a deceleration of size braking (m/s², a positive number).One solution:
Thinking distance is , braking distance , 60 m in all. The usual mistake is instead of ; checking units catches it, since is seconds. Also watch the brackets: speed * speed / 2 * braking divides by 2 and then multiplies by braking.
2. Motion in a line · Free fall is constant acceleration downward · QuizA ball is thrown straight up. At the very top of its flight, what are its velocity and acceleration?B. Velocity zero, acceleration 9.8 m/s² downwardAt the top the ball stops for an instant, so . But gravity has not switched off: the velocity is changing from upward to downward, and a changing velocity is an acceleration, still down. If the acceleration were zero there, the ball would stay hanging in the air. Zero velocity and zero acceleration are different things.
2. Motion in a line · Step motion through time, the way simulations do · Put in orderPut one step of semi-implicit Euler in order.1. Work out the acceleration from the current state 2. Add acceleration × Δt to the velocity 3. Add the new velocity × Δt to the position 4. Add Δt to the timeThe acceleration depends on where things are now, so it comes first. Then velocity, then position using the updated velocity: that order is what makes it semi-implicit. Updating position with the old velocity (plain Euler) works for a falling stone but slowly gains energy in anything that oscillates, like a spring, so orbits spiral outwards in a game.
2. Motion in a line · Step motion through time, the way simulations do · Code challengeWrite simulateFall(v0, dt, steps): start at height y = 0 with velocity v0 (up is positive), take steps steps of semi-implicit Euler with a = -9.8, and return the final State, its y and v.One solution:
Solution
1structState{2double y; // height, m3double v; // velocity, m/s4};56StatesimulateFall(double v0,double dt,int steps){7double y =0;8double v = v0;9for(int i =0; i < steps; i++){10 v +=-9.8* dt;11 y += v * dt;12}13return{y, v};14}
Each step subtracts from v and adds the new v * dt to y. The velocity comes out exact, since its change is constant, but the position does not: with 0.1 s steps the stone falls 5.39 m in a second instead of 4.9 m, because each step uses the speed at the end of the step for all of it. Shrinking dt shrinks the error in proportion; that trade between speed and accuracy is the heart of every simulation. A function returns one value, so the small State struct carries both, and return {y, v}; fills its fields in order.
2. Motion in a line · Practice problems · ProblemA ball is thrown straight up at . Use and ignore air. How high above the hand does it rise, how long does it take to reach the top, and how long until it is back at the hand?Maximum height 11.025 m; Time to the top 1.5 s; Time back to the hand 3 s
Up is positive: , , and at the top. The equation without gives the height:
Back at the hand, :
It rises , reaches the top after and is back after : the way down takes exactly as long as the way up.
2. Motion in a line · Practice problems · ProblemYou drop a stone into a well, and it hits the water later. Use , and ignore air and the time the sound takes to come back up. How far below you is the water, and how fast is the stone moving when it hits?Depth 30.625 m; Speed 24.5 m/s
Down is positive, , , :
The water is about down, and the stone hits it at . Sound, at about 340 m/s, takes some 0.09 s to come back up, so a real timing would make the well seem slightly deeper than it is.
2. Motion in a line · Practice problems · ProblemThe graph shows a tram’s velocity between two stops: it speeds up steadily from rest to in the first , cruises until , then slows steadily to rest at . Find its acceleration while speeding up, the distance between the stops, and its average velocity over the trip.Acceleration at first 2 m/s²; Distance 80 m; Average velocity 40/7 ≈ 5.71429 m/s
The slope of the first part is the acceleration: .
The area under the graph is the displacement, in three pieces:
The tram accelerates at , the stops are apart, and its average velocity is , less than its cruising speed because of the slow start and finish.
2. Motion in a line · Practice problems · ProblemA car waits at a red light. As the light turns green, the car sets off with a constant acceleration of , and at that same moment a truck passes it at a steady . How long does the car take to catch the truck, how far from the light does it catch it, and how fast is the car going then?Time 12 s; Distance 144 m; Car’s speed 24 m/s
From the light, with when it turns green:
The car catches up when the positions match:
Then , and the car’s speed is .
It catches the truck after , from the light, going : twice the truck’s speed, so that its average speed over those 12 s matches the truck’s 12 m/s.
3. Vectors and motion in two dimensions · A vector is a size and a direction · QuizWhich of these is a vector?C. A wind of 30 km/h from the north-westThe wind has a size (30 km/h) and a direction (from the north-west), so it is a velocity, a vector. Speed is the magnitude of a velocity with the direction thrown away, so it is a scalar, as are temperature and mass: there is no sense in which 12 kg points anywhere.
3. Vectors and motion in two dimensions · Break a vector into components · ProblemA plane flies at , heading north of east. Taking east as and north as , find the components of its velocity. 191.511 m/s; 160.697 m/s
The angle is above the axis, so:
Check with Pythagoras: . The plane moves about east and north.
3. Vectors and motion in two dimensions · Add vectors tip to tail, or by components · Code challengeWrite components(size, angleDeg), returning a Vec with the x and y of a vector of that magnitude at angleDeg degrees above the x axis, and magnitude(x, y). std::cos and std::sin take radians, and std::numbers::pi is .One solution:
Degrees become radians by ; skipping that is the classic mistake, and std::sin(30) happily returns , the sine of 30 radians. std::hypot(x, y) also works for the magnitude. The last test is the useful check: going to components and back must give the size you started with, whatever the angle.
3. Vectors and motion in two dimensions · Add vectors tip to tail, or by components · ProblemA hiker walks east, then in a direction north of west. Taking east as and north as , how far is she from where she started, and in what direction, in degrees north of east?Distance sqrt(19) ≈ 4.3589 km; Direction 83.4132 ° north of east
The two walks as components, in km:
She ends up from the start, north of east: almost due north, though she walked 8 km.
3. Vectors and motion in two dimensions · Velocity depends on who is watching · QuizThat boat, steering straight across at 4 m/s in a 3 m/s current, crosses a river 60 m wide. How long does the crossing take?B. 15 sOnly the across component of the velocity carries the boat across: . The current pushes it sideways, downstream, but does not speed up the crossing. Dividing by the 5 m/s resultant gives 12 s, but the boat then also covers a longer, slanted path, , so the time is the same 15 s.
3. Vectors and motion in two dimensions · A projectile is two motions at once · QuizFrom the same height, at the same moment, one ball is dropped and another is fired horizontally at 50 m/s. Ignoring air, which lands first?C. They land at the same timeBoth start with zero vertical velocity and both fall with , so their heights match at every instant and they land together. The fired ball also travels sideways, but horizontal motion does not change vertical motion. People expect the fast ball to "stay up" longer; that is how it looks, not how it falls.
3. Vectors and motion in two dimensions · Forty-five degrees goes farthest · QuizAt the same speed, which goes farther on flat ground: a ball launched at 30° or at 60°?C. They land the same distance away and are equal, so the ranges are equal. The 60° ball goes higher and stays up longer, but moves sideways more slowly, and the two effects cancel exactly. Mass does not appear in any of the formulas: without air, a heavy ball and a light one fly the same path.
3. Vectors and motion in two dimensions · Simulate a projectile step by step · Find the bugThis gives nonsense ranges. Which line is wrong?Line 4: return speed * speed * std::sin(2 * angle) / g;Line 3 converts to radians, and line 4 then uses the degrees anyway: std::sin(90) is the sine of 90 radians, about 0.89, so a 45° kick at 20 m/s comes out as 36.5 m instead of 40.8 m, and other angles are even worse. It is wrong without crashing, the worst kind of bug. Naming variables with their unit, like angleDeg, is what makes this one visible.
3. Vectors and motion in two dimensions · Simulate a projectile step by step · Code challengeWrite simulateRange(speed, angleDeg, dt): launch from (0, 0), step with semi-implicit Euler (update vy by -9.8 * dt, then x and y by the velocities times dt) until y is no longer above 0, and return x.One solution:
Solution
1#include<cmath>2#include<numbers>34doublesimulateRange(double speed,double angleDeg,double dt){5double angle = angleDeg * std::numbers::pi /180;6double x =0;7double y =0;8constdouble vx =speed* std::cos(angle);9double vy =speed* std::sin(angle);10do{11 vy -=9.8* dt;12 x += vx * dt;13 y += vy * dt;14}while(y >0);15return x;16}
vx never changes, so it is a const double; only vy feels gravity. A do … while takes the first step before testing, which matters because y starts at 0 and a while (y > 0) loop would never run. With 1 ms steps it lands within about a centimetre of the formula. Add a drag term to the accelerations (module 5) and the same loop handles what no formula can.
3. Vectors and motion in two dimensions · Moving in a circle means accelerating towards the centre · QuizThe same car takes the same curve at twice the speed. What happens to its centripetal acceleration?C. It becomes four times as bigThe speed is squared in , so doubling it multiplies the acceleration by . That is why taking a bend too fast is so dangerous: a little more speed asks a lot more of the tyres’ grip. Module 5 looks at the force that provides this acceleration.
3. Vectors and motion in two dimensions · Moving in a circle means accelerating towards the centre · ProblemA child sits from the centre of a playground merry-go-round that turns steadily once every . What is her speed, and what is her centripetal acceleration?Speed pi ≈ 3.14159 m/s; Centripetal acceleration pi^2/2 ≈ 4.9348 m/s²
Speed is the circumference over the period:
She moves at with a centripetal acceleration of towards the centre, about half of , even though her speed never changes.
3. Vectors and motion in two dimensions · Practice problems · ProblemA ball rolls off the edge of a high cliff, moving horizontally at . Use and ignore air. How long does it take to land, how far from the foot of the cliff does it land, and how fast is it moving when it lands?Time 2.02031 s; Distance from the cliff 30.3046 m; Speed on landing sqrt(617) ≈ 24.8395 m/s
Vertically it starts with and falls :
Horizontally it keeps all the way: .
On landing, downward, so
It lands after , out, at . Adding the speeds, , is the slip: they are at right angles.
3. Vectors and motion in two dimensions · Practice problems · ProblemA football is kicked from the ground at , above the horizontal, and lands back on the ground. Use and ignore air. Find its time of flight, its range and its greatest height.Time of flight 2.92641 s; Range 59.9294 m; Greatest height 10.4908 m
The components: and .
Check the range with . The ball flies for , lands away and rises .
3. Vectors and motion in two dimensions · Practice problems · ProblemA swimmer swims at through still water. She wants to cross a river wide that flows at , and land directly opposite her start. At what angle upstream of straight across must she head, in degrees, and how long does the crossing take?Angle upstream 36.8699 °; Time 50 s
Heading at angle upstream, the upstream part of her swimming, , must cancel the current:
What is left carries her across:
She heads upstream and crosses in . Heading straight across would take only 40 s, but land her 36 m downstream.
3. Vectors and motion in two dimensions · Practice problems · ProblemThe Moon goes round the Earth on a nearly circular path of radius , once every days. Find its speed and its centripetal acceleration.Speed 1022.9 m/s; Centripetal acceleration 0.00272482 m/s²
The period in seconds: .
The Moon moves at about , with a centripetal acceleration of . That is , and the Moon is 60 Earth radii away, with : the clue that led Newton to gravity’s inverse-square law (module 9).
4. Forces and Newton's laws · A force is a push or a pull · QuizWhich of these forces acts without the objects touching?B. The pull of a magnet on a paperclip a few centimetres awayA magnet pulls a paperclip across a gap: a non-contact force, like gravity. Friction, the floor’s push and a rope’s pull all need contact. (Look closely enough and contact forces are electric forces between atoms that come very close, but in mechanics the split is useful.)
4. Forces and Newton's laws · With no net force, motion does not change · QuizA hockey puck slides across perfectly smooth ice at 10 m/s. Ignoring air, what keeps it moving?B. Nothing: no force is needed to keep a constant velocityOnce it leaves the stick, nothing pushes it forward, and nothing needs to. With no net force its velocity stays the same, so it slides on at 10 m/s in a straight line. The stick’s force acted only while they touched. There is no "force of motion" stored inside; that is the Aristotle idea dressed up. Gravity pulls down, and the ice pushes up equally: they cancel.
4. Forces and Newton's laws · Forces add as vectors into one net force · QuizIn a tug of war, one team pulls left with 1200 N and the other right with 1150 N. What is the net force on the rope?B. 50 N to the leftTake right as positive: , so 50 N to the left, and the rope (and both teams) start to accelerate left. Adding the sizes, 2350 N, ignores direction. The net force is zero only when the pulls match exactly.
4. Forces and Newton's laws · The second law: force equals mass times acceleration · Code challengeForces along a line are numbers (positive one way, negative the other). Write netForce(forces), their sum, and acceleration(forces, mass), the net force divided by the mass.One solution:
Solution
1#include<vector>23doublenetForce(const std::vector<double>& forces){4double sum =0;5for(double f : forces) sum += f;6return sum;7}89doubleacceleration(const std::vector<double>& forces,double mass){10returnnetForce(forces)/ mass;11}
Add every force with its sign, then divide by the mass. Reusing netForce inside acceleration keeps the physics in one place. The mistake the second law guards against is using one force, the engine’s 4000 N, instead of the net force: that would give and ignore everything pushing back.
4. Forces and Newton's laws · The second law: force equals mass times acceleration · ProblemYou push a shopping trolley forward with , while friction pushes back on it with . What is its acceleration, and how fast is it moving after if it starts from rest?Acceleration 1.8 m/s²; Speed after 4.0 s 7.2 m/s
With forward positive, the net force and the acceleration are
The acceleration is constant, so module 2’s equation gives the speed:
The trolley accelerates at and reaches , a fast run. Using the 60 N push alone would give .
4. Forces and Newton's laws · Mass is how much stuff; weight is gravity’s pull on it · QuizAn astronaut has a mass of 80 kg on Earth. On the Moon, where , what are her mass and weight?A. Mass 80 kg, weight about 130 NMass does not change with place: still 80 kg, and still as hard to push sideways. Weight is , a sixth of her 784 N on Earth. Everyday language says "I weigh 80 kilos", which mixes the two; in physics, kilograms are mass and newtons are weight.
4. Forces and Newton's laws · Free-body diagrams show every force on one object · Put in orderPut the steps for solving a force problem in order.1. Choose the one object you are asking about 2. Draw it alone and add an arrow for every force acting on it 3. Choose axes, ideally one along the acceleration 4. Add the components of the forces along each axis 5. Set each sum equal to mass times the acceleration along that axis, and solvePick the object first: the forces on a book and on the table are different lists. Then draw every force on it, choose axes, and only then write and . Choosing an axis along the acceleration makes the other sum zero, which is often the easiest equation to start with.
4. Forces and Newton's laws · The normal force is whatever stops you going through the floor · QuizThe same 60 kg person stands on scales in a lift that accelerates downward at . What do the scales read?A. 468 NWith up positive, , so . The person feels lighter. Their weight is still 588 N; only the floor’s push has changed. If the cable snapped, and the scales would read 0: the "weightlessness" of free fall, which astronauts in orbit feel all the time.
4. Forces and Newton's laws · The normal force is whatever stops you going through the floor · ProblemA person stands on bathroom scales in a lift, and the scales read . Use . Taking up as positive, what is the lift’s acceleration? Give it with its sign. -1 m/s²
Two forces act on the person: the normal force up and the weight down.
The acceleration is , downward. The lift is either starting to go down or slowing on its way up: the scales cannot tell which, only the acceleration.
4. Forces and Newton's laws · Tension pulls along a rope · Code challengeWrite pulledBlocks(force, front, back): a force pulls a block of mass front, roped to a block of mass back behind it, on a frictionless floor. Return a Result holding a, their shared acceleration, and tension, the rope’s tension.One solution:
Solution
1structResult{2double a; // m/s²3double tension; // N4};56ResultpulledBlocks(double force,double front,double back){7double a = force /(front + back);8double tension = back * a;9return{a, tension};10}
The pull accelerates both blocks, so ; dividing by the front mass alone is the starter’s mistake, and it forgets the block being dragged. The back block’s only horizontal force is the rope, so . Check with the front block: , . The tension is always less than the pull, since the pull also accelerates the front block.
4. Forces and Newton's laws · Forces come in pairs on different objects · QuizA truck hits a fly on the motorway. Which feels the bigger force?C. Both feel forces of exactly the same sizeThe third law says the forces are equal and opposite, always. What differs is the effect: by the second law, the same force on the fly’s tiny mass is a colossal acceleration, and on the truck’s an unnoticeable one. "Same force, very different acceleration" is the whole answer.
4. Forces and Newton's laws · Equilibrium: when the forces balance · Fill the blanksA 10 kg sign hangs from two ropes at 30° above the horizontal. Finish the code for the tension.1: g, 2: sinThe weight is , and the two vertical components must add to it, so : each rope carries as much as the whole sign weighs. It is sin because the angle is measured from the horizontal and we want the vertical part; with cos, you would get the horizontal part and 56.6 N, too little.
4. Forces and Newton's laws · Practice problems · ProblemTwo horizontal forces act on a box on smooth ice: east and north. Find the size of the net force, the size of the box’s acceleration, and its direction, in degrees north of east.Net force 15 N; Acceleration 3.75 m/s²; Direction 36.8699 ° north of east
The net force has components :
The box accelerates at , north of east, along the net force. Adding the sizes, , ignores their directions.
4. Forces and Newton's laws · Practice problems · ProblemThree blocks sit in a row on a frictionless floor, joined by light ropes: at the front, in the middle and at the back. A pull on the front block drags them all forward. Find the acceleration, the tension in the rope between the front and middle blocks, and the tension in the rope between the middle and back blocks.Acceleration 4 m/s²; Front rope 20 N; Back rope 8 N
As one object of : .
The front rope is the only horizontal force on the middle and back blocks together ():
The back rope pulls only the back block:
Check the middle block: , and . So , with tensions and : less the further back the rope.
4. Forces and Newton's laws · Practice problems · ProblemA street lamp hangs from the middle of a cable, each half of which is at above the horizontal. Use . What is the tension in each half of the cable? 91.4766 N
Vertically, the two upward components balance the weight:
Horizontally, the two halves pull equally in opposite directions, so that sum is zero by symmetry.
Each half carries about . Flatten the cable and the tension climbs: at it would be about .
4. Forces and Newton's laws · Practice problems · ProblemA baseball arrives at , and the catcher’s glove moves back as it stops the ball. Assume a constant force, and ignore the ball’s weight during the short catch. What is the size of the ball’s deceleration, and of the force on it from the glove?Deceleration 4000 m/s²; Force 580 N
From , with :
The ball decelerates at , about 400 , under a force. Letting the glove give more, over a longer distance, makes the force smaller: catchers pull their hands back for exactly this reason.
5. Friction, springs, slopes and circles · Friction holds until it can’t, then slides · QuizA 10 kg box rests on a floor with . You push it sideways with 20 N and it does not move. How big is the friction force?B. 20 NThe box is in equilibrium, so friction exactly balances your push: 20 N. The 49 N, , is only the largest static friction can be, reached just before the box moves. Reaching for whenever you see static friction is the usual mistake; it is a ceiling, not a value.
5. Friction, springs, slopes and circles · Pushing a box: friction in the second law · Code challengeWrite boxAcceleration(push, mass, muS, muK): a horizontal push (N) on a box of mass (kg) on a level floor, with g = 9.8. If the push is not more than the largest static friction, return 0; otherwise return its acceleration with kinetic friction.One solution:
Solution
1doubleboxAcceleration(double push,double mass,double muS,2double muK){3double normal = mass *9.8;4if(push <= muS * normal)return0;5return(push - muK * normal)/ mass;6}
Two regimes, two formulas: below the static limit, friction cancels the push and ; above it, kinetic friction is and the net force is the push minus that. A common bug is using for the moving box, or subtracting friction even when the box is still, which gives a negative acceleration for a gentle push: a box that pushes back on its own.
5. Friction, springs, slopes and circles · Pushing a box: friction in the second law · ProblemYou pull a sled across level snow with a horizontal rope, pulling with . The coefficient of kinetic friction is . Use . Once the sled is sliding, what is the friction force on it, and what is its acceleration?Friction 17.64 N; Acceleration 1.49067 m/s²
The normal force is the weight, and kinetic friction is :
Friction is , and the sled accelerates at .
5. Friction, springs, slopes and circles · On a slope, split gravity along and across it · QuizWith no friction, what is the acceleration down a slope of 90°, a vertical wall?B. , free fall: a vertical "slope" is just falling, which is reassuring. At 0° it gives , a flat floor. Checking extreme cases like these is a quick test of any formula: if had sneaked in by mistake, the wall would give zero.
5. Friction, springs, slopes and circles · On a slope, split gravity along and across it · ProblemA block slides down a ramp tilted at , with a coefficient of kinetic friction of . Use . Find the normal force on the block and its acceleration down the ramp.Normal force 44.4091 N; Acceleration 1.47711 m/s²
Across the ramp nothing accelerates, so the normal force balances the weight’s component into the ramp:
Along the ramp, the pull down it minus friction:
The normal force is , less than the weight of , and the block accelerates at . The shortcut gives the same, without the mass.
5. Friction, springs, slopes and circles · Tilt until it slips to measure friction · QuizA phone on a tilted book starts to slide when the book is at 25°. What is between them?B. About 0.47. is the tempting wrong function. The phone’s mass does not matter, because both the pull down the slope and the friction are proportional to it.
5. Friction, springs, slopes and circles · An Atwood machine: two masses and a pulley · Code challengeWrite atwood(m1, m2) for an Atwood machine with g = 9.8: return a Result holding the acceleration a, positive when m1 falls, and the rope’s tension.One solution:
The difference in weights drives both masses, which is why the total mass is on the bottom. A frequent mistake is assuming the tension equals the heavier weight; then the heavy mass would not accelerate at all. The tension sits between the two weights, and equals each when they balance. Atwood used this in 1784 to slow free fall down enough to measure with a clock.
5. Friction, springs, slopes and circles · Hooke’s law: a spring pulls back in proportion · Fill the blanksA 2 N weight stretches a spring by 4 cm. Find , then how far a 5 N weight stretches it.1: force / stretch, 2: 5 / k, then . Leaving the stretch in centimetres, , gives in N/cm, which is fine on its own but wrong by 100 as soon as it meets SI units. Hooke’s law holds only up to the elastic limit: stretch too far and the spring stays bent.
5. Friction, springs, slopes and circles · Drag grows with speed until it balances weight · QuizA skydiver is falling at terminal velocity. Which statement is true?B. The drag equals the weight, so the net force and the acceleration are zeroConstant velocity means zero acceleration, and by the second law zero net force: drag up exactly equals weight down. Both forces are still large (about 784 N each). If drag were bigger, the skydiver would slow down, which is what happens for a moment when the parachute opens.
5. Friction, springs, slopes and circles · Simulate a fall with drag · Code challengeWrite fallWithDrag(mass, k, dt, steps): start from rest, take steps steps of size dt, each with acceleration 9.8 - (k / mass) * v * v (down is positive), and return the final speed v.One solution:
Solution
1doublefallWithDrag(double mass,double k,double dt,int steps){2double v =0;3for(int i =0; i < steps; i++){4double a =9.8-(k / mass)* v * v;5 v += a * dt;6}7return v;8}
The acceleration must be recalculated inside the loop, from the current speed; computing it once before the loop is the classic mistake, and gives free fall forever. As approaches , the acceleration shrinks to zero by itself: the simulation finds terminal velocity without being told it. For a body moving up, drag points down, and you would write -k * v * std::abs(v) to keep its direction right: std::abs(v) keeps the size of and v brings its sign.
5. Friction, springs, slopes and circles · Something must supply the centripetal force · QuizA car takes a flat, dry bend at a steady speed. What force points towards the centre of the bend?B. Static friction between the tyres and the roadThe tyres grip the road sideways without sliding over it, so it is static friction, even though the car moves. The engine’s force points forward, along the motion. "Centrifugal force" is what passengers seem to feel, thrown outward, but from the road there is no such force: their bodies are just carrying on in a straight line (the first law) while the car turns under them.
5. Friction, springs, slopes and circles · Going over the top of a loop · QuizWhat is the slowest speed at which a car can pass the top of a loop of radius 10 m without leaving the track?B. About 9.9 m/s. Forgetting the square root gives 98, and alone gives 3.1. Any slower and gravity pulls the car down faster than the circle curves away: it falls off the track. Riders at exactly this speed feel weightless at the top, since .
5. Friction, springs, slopes and circles · Practice problems · ProblemA mass and a mass hang on either side of a light, frictionless pulley, joined by one rope, and are let go from rest. Use . Find their acceleration, the tension in the rope, and how far the heavier mass falls in the first .Acceleration 1.96 m/s²; Tension 47.04 N; Distance fallen 2.205 m
For the 6.0 kg mass (down positive) and the 4.0 kg mass (up positive):
Adding them removes :
Then , between the two weights, 39.2 N and 58.8 N.
The masses accelerate at , the rope carries , and the heavier mass falls in 1.5 s.
5. Friction, springs, slopes and circles · Practice problems · ProblemA spring hangs from a hook. Hanging a mass on it stretches it by . Use . What is its spring constant, and how far, in centimetres, does a mass stretch it? 196 N/m; Stretch 7.5 cm
At rest, the spring force equals the weight. With :
The spring constant is , and the heavier mass stretches it : 2.5 times the mass, 2.5 times the stretch, as Hooke’s law says.
5. Friction, springs, slopes and circles · Practice problems · ProblemA car takes a flat curve of radius at a steady . Use . What sideways friction force must the road supply, and what is the smallest coefficient of static friction that can provide it?Friction force 7000 N; Smallest 0.510204
Friction must supply all of the centripetal force:
Static friction can reach , so it must be that large at least:
The road must supply , which needs : fine on dry tarmac, impossible on ice.
5. Friction, springs, slopes and circles · Practice problems · ProblemA curve of radius is banked so that cars going round at need no friction at all. Use . At what angle, in degrees, is the road banked? 27.989 °
Square and solve for the angle:
The road is banked at about . Slower cars would slide down the bank without friction, and faster ones up it.
5. Friction, springs, slopes and circles · More practice: drag and loops · ProblemA skydiver has a terminal velocity of . Take the drag as , with fixed, and . Find , then the drag force and the skydiver’s acceleration at the moment they are falling at . 0.242975 kg/m; Drag at 30 m/s 218.678 N; Acceleration at 30 m/s 6.8843 m/s²
At terminal velocity the forces balance:
At 30 m/s, drag is smaller than the weight:
So , and at 30 m/s the drag is and the skydiver still accelerates at , less than and shrinking as the speed climbs.
5. Friction, springs, slopes and circles · More practice: drag and loops · ProblemA roller-coaster car passes the top of a circular loop of radius at , its riders upside down. Use . What is the size of the normal force from the seat on a rider there, and what is the slowest speed at which the car could pass the top without leaving the track?Normal force 537 N; Slowest speed sqrt(117.6) ≈ 10.8444 m/s
Towards the centre (down), the two forces together supply the centripetal force:
With , gravity alone bends the path:
The seat pushes on the rider with , a little less than their weight, and the car must pass the top at or more.
6. Work and energy · Energy is never made or destroyed, only moved · QuizA car brakes to a stop. Where does its energy of motion go?B. Mostly into thermal energy in the brakes, tyres and roadEnergy is never destroyed: friction in the brake pads turns the motion into thermal energy, which is why brakes get hot (and some into sound). An ordinary car cannot get it back. Electric and hybrid cars use regenerative braking: the motor runs as a generator and stores part of that energy in the battery instead.
6. Work and energy · Work is force times distance along the force · QuizYou carry a heavy bag across a level room at constant velocity. How much work does the upward force of your hand do on the bag?B. Zero, because the force is at right angles to the motionYour hand pushes straight up and the bag moves sideways: and , so the work is zero. You get tired because muscles burn energy just to hold a force (their fibres keep twitching), but none of it goes into the bag. In physics, "work" means energy transferred to the object, not effort.
6. Work and energy · Work is force times distance along the force · ProblemYou pull a sled across level snow with a rope, pulling with at above the horizontal. Friction on the sled is a steady . Find the work done by your pull, the work done by friction (with its sign), and the net work done on the sled.By your pull 1087.57 J; By friction -750 J; Net work 337.569 J
Your pull is at to the motion:
Friction is at to the motion, and :
The weight and the normal force are at right angles to the motion, so they do no work. The net work is the sum:
Your pull does , friction , and the net is what speeds the sled up (next slide).
6. Work and energy · Kinetic energy, and the work–energy theorem · QuizThe same car, with the same brakes, travels at 40 m/s instead of 20 m/s. How far does it need to stop?C. 100 mKinetic energy goes as , so twice the speed is four times the energy, 800 kJ, and the same braking force needs four times the distance: 100 m. Expecting 50 m, twice the distance, is the intuition the square law breaks, and why speed limits near schools are so low.
6. Work and energy · Kinetic energy, and the work–energy theorem · ProblemA car slows from to . How much work do the brakes do on it? Give it with its sign. If the braking force is a steady , over what distance does the car slow down?Work by the brakes -315000 J; Distance 52.5 m
The work done is the change in kinetic energy:
The brakes do of work over . Slowing from 25 to 10 m/s takes away 84% of the kinetic energy, though the speed only fell by 60%.
6. Work and energy · Potential energy is stored work · Fill the blanksA toy launcher’s spring () is squashed by 10 cm and fires a 50 g ball. Find the stored energy and the launch speed.1: x * x, 2: 2 * stored / mass. Setting gives . The two usual slips: forgetting to square (giving 10 J, ten times too much), and writing the mass as 50, in grams, which gives a speed of 0.2 m/s.
6. Work and energy · Without friction, kinetic plus potential stays constant · Code challengeWrite speedAfterDrop(startSpeed, drop): something moving at startSpeed (m/s) descends a height drop (m) with no friction, g = 9.8. Return its speed at the bottom. (It does not matter which way it was moving.)One solution:
Solution
1#include<cmath>23doublespeedAfterDrop(double startSpeed,double drop){4 // 0.5 v² = 0.5 v0² + g h; the mass cancels5return std::sqrt(startSpeed * startSpeed +2*9.8* drop);6}
Energy at the top, , equals energy at the bottom, ; divide by and solve: . Adding speeds instead, , is the common mistake: it is the energies that add, not the speeds. For the coaster, , not .
6. Work and energy · Energy ignores the shape of the path · QuizTwo children start from rest at the top of two frictionless water slides, both 6 m high. One is straight and steep; the other is long and winding. Which child is faster at the bottom?C. Both have the same speedBoth lose of potential energy and gain the same , so for both, whatever they weigh. The steep one gets there sooner, but speed and time are different questions. The normal force from the slide does no work, because it always acts at right angles to the motion.
6. Work and energy · Friction turns mechanical energy into heat · QuizA ball dropped from 2.0 m bounces back to 1.5 m. What fraction of its mechanical energy did the bounce lose?A. 25%At the tops of both flights the ball is still, so all its mechanical energy is . It went from to : a quarter less, 25%. The lost energy is not gone; it warmed the ball and the floor and made the sound of the bounce. Total energy is conserved; mechanical energy is not, once friction or squashing is involved.
6. Work and energy · Power is how fast energy is moved · Code challengeWrite inputPower(mass, height, seconds, efficiency): the power (W) that must be supplied to lift mass (kg) by height (m) in seconds, by a machine that turns only the fraction efficiency (between 0 and 1) of its input into lifting. Use g = 9.8.One solution:
The useful power is the energy over the time; a machine that wastes some must take in more, so divide by the efficiency. Multiplying by it instead is the slip to watch for: then a worse machine would need less power, which no real one does. Your muscles are about 25% efficient, which is why running up stairs makes you hot: three-quarters of the energy becomes heat.
6. Work and energy · Power is how fast energy is moved · ProblemA pump lifts of water every minute through a height of . Use . What useful power does it deliver, and how much electrical power does it draw if it is 70% efficient?Useful power 980 W; Power drawn 1400 W
Each minute, the water gains . Per second:
Only 70% of the power drawn does the lifting, so
The pump delivers and draws ; the other becomes heat and noise.
6. Work and energy · Efficiency: how much of the energy does the job · QuizAn electric winch uses 500 J of electrical energy to lift a 10 kg box by 4.0 m. What is its efficiency?B. About 78%The useful energy is , so , 78%. Dividing the wrong way round, , gives 128%, which is impossible and a sure sign of the slip. 8% comes from forgetting (): mass times height is not an energy.
6. Work and energy · Practice problems · ProblemA roller-coaster car starts from rest at the top of a hill. Ignore friction and use . How fast is it moving at ground level, and at the top of the next hill, high?At ground level 29.6985 m/s; On the 30 m hill 17.1464 m/s
Kinetic energy gained equals potential energy lost, and the mass cancels: .
It reaches at the bottom and still has on the 30 m hill, whatever the shape of the track in between.
6. Work and energy · Practice problems · ProblemA toy’s spring, with , is squashed by and then fires a ball straight up. Ignore air and use . Find the energy stored in the spring, and how high above its starting point the ball rises. How high would a ball rise?Energy stored 9 J; Height, 0.20 kg 4.59184 m; Height, 0.40 kg 2.29592 m
At the top, all of it is , measured from where the ball started:
The same 9.0 J lifts a ball twice as heavy half as high: .
The spring stores ; the 0.20 kg ball rises , and a 0.40 kg ball would rise .
6. Work and energy · Practice problems · ProblemA child slides from rest down a playground slide that is high and long, and reaches the bottom at . Use . How much mechanical energy did friction turn into heat, and what was the average friction force along the slide?Energy lost 456 J; Average friction 91.2 N
The difference went to heat: , so .
Friction turned into heat, with an average force of along the slide. The length is what matters for friction’s work, not the height.
6. Work and energy · Practice problems · ProblemA block slides from rest down a frictionless ramp high, then out onto a rough level floor, where the coefficient of kinetic friction is . Use . How fast is it moving at the bottom of the ramp, and how far does it slide across the floor before it stops?Speed at the bottom 5.9397 m/s; Distance on the floor 7.2 m
Down the frictionless ramp, becomes kinetic energy:
On the floor, friction does work , which must remove all of that energy, :
The block reaches and slides . Its mass and cancel: any block from 1.8 m stops 7.2 m out on this floor.
7. Momentum and collisions · Momentum is mass times velocity · QuizWhich has more momentum: a 1500 kg car rolling at 1 m/s, or a 10 g bullet flying at 400 m/s?A. The car: 1500 kg·m/s against 4 kg·m/sThe car has ; the bullet (10 g is 0.010 kg, the slip behind 4000). Yet the bullet has more kinetic energy: against the car’s 750 J. Momentum grows with , energy with , so fast light things carry energy and slow heavy things carry momentum.
7. Momentum and collisions · Impulse: a force over time changes momentum · QuizIn a crash, how does an airbag protect your head?B. It makes the stop take longer, so the same impulse needs a smaller forceYour head goes from moving to stopped either way, so the change in momentum, and the impulse, are fixed. The airbag stretches the stop from a few milliseconds against the dashboard to tens of milliseconds, and since , the force falls by the same factor. Crumple zones, bike helmets and bending your knees on landing all work the same way.
7. Momentum and collisions · Impulse: a force over time changes momentum · ProblemA tennis ball arrives at a racket at and leaves at , straight back the way it came, after of contact. Find the size of the impulse on the ball and the average force of the racket on it.Impulse 4.06 kg·m/s; Average force 812 N
With the outgoing direction positive, and :
The impulse is and the average force , over a thousand times the ball’s weight. Forgetting the reversal, , gives a seventh of the right answer.
7. Momentum and collisions · In an isolated system, total momentum never changes · QuizA 500 kg cannon on frictionless wheels fires a 5 kg ball forward at 200 m/s. How fast does the cannon roll backwards?B. 2 m/sBefore firing, the total momentum is zero, so afterwards , giving . The ball’s 1000 kg·m/s forward is matched by the cannon’s 1000 kg·m/s backward. The explosion is an internal force, so it cannot change the total. Kinetic energy is another story: the ball gets 100 kJ and the cannon only 1 kJ.
7. Momentum and collisions · In an isolated system, total momentum never changes · ProblemA skater stands at rest on smooth ice and throws a ball forward at . How fast does she slide backwards?Her speed 12/35 ≈ 0.342857 m/s
Take forward as positive. The total momentum stays zero:
She slides backwards at : the ball’s forward is matched by hers backward, spread over a mass more than 23 times bigger.
7. Momentum and collisions · Objects that stick together lose kinetic energy · Code challengeWrite stickTogether(m1, v1, m2, v2) for two objects on a line that collide and stick. Return a Collision holding v, their shared velocity, and energyLost, the kinetic energy lost (J).One solution:
Solution
1structCollision{2double v; // shared velocity afterwards, m/s3double energyLost; // J4};56CollisionstickTogether(double m1,double v1,double m2,double v2){7double v =(m1 * v1 + m2 * v2)/(m1 + m2);8double before =0.5* m1 * v1 * v1 +0.5* m2 * v2 * v2;9double after =0.5*(m1 + m2)* v * v;10return{v, before - after};11}
Averaging the velocities, as the starter does, is only right for equal masses: momentum weights each velocity by its mass. Signs matter too: in the last test the momenta cancel, so the pair stops and all 18 J of kinetic energy is lost. That is the most a collision can lose while conserving momentum, and why head-on crashes are the worst.
7. Momentum and collisions · Elastic collisions keep the kinetic energy too · Code challengeWrite elastic(m1, v1, m2, v2) for an elastic collision on a line. Return the two velocities afterwards, as a Velocities with fields v1 and v2.One solution:
Each formula is the other with 1 and 2 swapped, which is a good check that it is typed right. The last test checks the physics rather than numbers: kinetic energy before equals after. A neat fact behind the formulas: in an elastic collision the speed at which the balls separate equals the speed at which they approached, .
7. Momentum and collisions · Elastic, inelastic, perfectly inelastic · QuizTwo cars collide and lock together. Comparing just before with just after the crash, what is conserved?B. Momentum onlyDamage does not affect momentum: the crash forces are internal, and in the instant of the collision friction from the road is small next to them. So total momentum is the same. Kinetic energy is not, since the cars stick, which is the most inelastic case there is. Crash investigators use exactly this to work out how fast cars were going from where they ended up.
7. Momentum and collisions · In two dimensions, each component is conserved · QuizOn a pool table, a moving ball hits an identical ball at rest, off-centre, in an (almost) elastic collision. What is the angle between their paths afterwards?C. 90°With equal masses, momentum conservation says , and energy conservation says . The only way both hold is if the two final velocities form a right angle, by Pythagoras. Pool players use it: after a clean cut, the cue ball leaves at 90° to the object ball (ignoring spin).
7. Momentum and collisions · The centre of mass moves as if all the mass were there · Code challengeWrite centreOfMass(masses, positions): given matching vectors of masses and positions on a line, return the position of their centre of mass.One solution:
Solution
1#include<vector>23doublecentreOfMass(const std::vector<double>& masses,4const std::vector<double>& positions){5double total =0;6double weighted =0;7for(std::size_t i =0; i < masses.size(); i++){8 total += masses[i];9 weighted += masses[i]* positions[i];10}11return weighted / total;12}
Multiply each position by its mass, add them up, and divide by the total mass. Dividing by the number of objects instead gives the plain average, 2 for the second test instead of 1, which ignores that the 3 kg mass matters three times as much. The loop runs an index i over both vectors at once, from 0 to masses.size() - 1. The last test allows 5 km, 5e3 m: a tolerance is in the quantity’s own units, so astronomical numbers need one to match their size.
7. Momentum and collisions · A rocket pushes itself by throwing mass backwards · QuizWhy do rockets that reach orbit use several stages?B. Dropping empty tanks and engines means the rest of the burn does not accelerate dead weightThe logarithm is cruel: doubling the fuel adds only to . Once a stage’s fuel is used, its tanks and engines are pure dead mass. Throwing them away gives each later stage a good mass ratio of its own, and their $\Delta v$s add up. That is how a mass ratio no single structure could survive is achieved in practice.
7. Momentum and collisions · A rocket pushes itself by throwing mass backwards · ProblemA rocket in deep space, far from any planet, has an exhaust speed of . It starts at and burns of fuel per second until its mass is . Find its thrust, how long the burn lasts, and how much its speed changes.Thrust 500000 N; Burn time 150 s; 2500*ln(2.5) ≈ 2290.73 m/s
It burns of fuel, at : .
The thrust is for , and the rocket gains about , less than its exhaust speed, though 60% of it was fuel.
7. Momentum and collisions · Practice problems · ProblemA railway wagon rolling at runs into a stationary wagon, and they couple together. Find their speed just afterwards, and the kinetic energy lost in the coupling.Speed afterwards 1.8 m/s; Kinetic energy lost 21600 J
The wagons move off at , and of kinetic energy goes into the couplings as heat, sound and strain: 40% of it.
7. Momentum and collisions · Practice problems · ProblemOn a smooth track, a cart moving at hits a cart at rest, in an elastic collision. Taking the first cart’s direction as positive, find both velocities afterwards, with their signs.Light cart, -2 m/s; Heavy cart, 2 m/s
The light cart bounces back at , and the heavy one moves off forward at .
7. Momentum and collisions · Practice problems · ProblemTo measure a bullet’s speed, it is fired into a wooden block hanging from strings. The bullet stays in the block, which swings up until it is higher than where it started. Use . How fast did the block (with the bullet in it) move just after the hit, and how fast was the bullet going before it?Block just after 1.53362 m/s; Bullet before 308.258 m/s
During the swing, kinetic energy becomes potential energy, and the mass cancels:
During the hit, momentum is conserved (kinetic energy is not: the bullet tears the wood):
The block moves off at , and the bullet was doing about . Using energy conservation across the hit would be wrong: over 99% of the bullet’s kinetic energy goes into heat and torn wood.
7. Momentum and collisions · Practice problems · ProblemAt a crossroads, a car heading east at collides with a van heading north at , and they lock together. Just after the crash, how fast do they move, and in what direction, in degrees north of east?Speed 7.5*sqrt(2) ≈ 10.6066 m/s; Direction 45 ° north of east
Momentum before, east and north, in kg·m/s:
After, the wreck has the same components:
The components are equal, so the direction is . The wreck moves off at , north of east: investigators work backwards from exactly this.
8. Rotation and torque · Angles, angular velocity and angular acceleration · QuizA washing machine drum spins at 1200 revolutions per minute. What is its angular velocity?B. About 126 rad/s1200 rev/min is 20 rev/s, and each revolution is radians: . 20 forgets the ; 7540 forgets to divide by 60. The same unit-conversion habit from module 1: write the factors out, .
8. Rotation and torque · The equations of motion, for spinning · ProblemA grinding wheel spinning at 3000 revolutions per minute is switched off and slows steadily to rest in . Find its starting angular velocity in rad/s, the size of its angular deceleration, and how many turns it makes while stopping.100*pi ≈ 314.159 rad/s; Deceleration 5*pi ≈ 15.708 rad/s²; Turns 500
It starts at , decelerates at and makes 500 turns: the average rate, 1500 rev/min, for a third of a minute.
8. Rotation and torque · Rolling without slipping: the bottom is still · QuizA bicycle moves along the road at 5 m/s. How fast is the top of its tyre moving, relative to the road?C. 10 m/sThe top moves forward with the centre (5 m/s) and forward with the spin (another ): 10 m/s. The bottom moves forward at 5 and backward at 5, so it is still. Look at a photo of a moving bike: the top spokes are blurred and the bottom ones sharp. The size cancels, since for any wheel that rolls.
8. Rotation and torque · Torque is the turning effect of a force · QuizA bolt needs 60 N·m to loosen. Pushing square-on, what force does that take with a 0.20 m spanner, and with a 0.50 m one?A. 300 N and 120 N: and . A longer lever arm needs less force for the same torque, which is why mechanics slip a pipe over a spanner for a stubborn bolt. 12 and 30 come from multiplying instead of dividing, and they get the trend backwards.
8. Rotation and torque · Torque is the turning effect of a force · ProblemYou push on a door at its handle, from the hinges, with a force of at to the door’s surface. What torque do you apply about the hinges? What force, pushing square-on at the same place, would give the same torque?Torque 12*sqrt(3) ≈ 20.7846 N·m; Square-on force 15*sqrt(3) ≈ 25.9808 N
Square-on, , so the force needed is
You apply ; a square-on push of only would do the same. The slanted part of your push presses along the door towards the hinges and turns nothing.
8. Rotation and torque · Moment of inertia: mass, and where it sits · Code challengeWrite momentOfInertia(masses, radii): for small masses at the given distances from an axis, return .One solution:
Solution
1#include<vector>23doublemomentOfInertia(const std::vector<double>& masses,4const std::vector<double>& radii){5double total =0;6for(std::size_t i =0; i < masses.size(); i++){7 total += masses[i]* radii[i]* radii[i];8}9return total;10}
Each mass contributes : the radius is squared, and forgetting to square it gives 6 instead of 18 in the first test. Distances are from the axis, so a mass on the axis adds nothing at all. The table’s formulas are this sum done with calculus over a solid shape: a hoop is because all its mass is at ; a disc has mass nearer the middle, so it is less.
8. Rotation and torque · Moment of inertia: mass, and where it sits · ProblemA flywheel is a solid disc of mass and radius , turning about its centre. A motor applies a steady torque of to it, starting from rest. Ignoring friction, find its moment of inertia, its angular acceleration, and its angular velocity after . 0.625 kg·m²; 8 rad/s²; after 8.0 s 64 rad/s
The flywheel has , speeds up at , and reaches , about 10 turns a second, after 8 s.
8. Rotation and torque · A rolling object has two kinds of kinetic energy · QuizA hoop, a solid disc and a solid sphere are let go together at the top of the same slope and roll without slipping. Which reaches the bottom first?C. The sphereThe sphere has the smallest , , so the least of its energy goes into spinning and the most into moving down the slope. The hoop, with all its mass at the rim (), comes last, sharing its energy half and half. Mass and size do not matter: a marble beats a bowling ball’s hollow cousin, and ties with a solid bowling ball.
8. Rotation and torque · Try it: the speed of a rolling object · Code challengeWrite rollingSpeed(height, k): the speed (m/s) at the bottom of a slope of height (m) for an object rolling from rest without slipping, whose moment of inertia is k * m * R * R. Use g = 9.8; k = 0 is a block sliding without friction.One solution:
From , . The brackets matter: std::sqrt(2 * 9.8 * height / 1 + k) divides by 1 and then adds . The starter is the sliding answer, which is right only for , and too fast for anything that spins.
8. Rotation and torque · Angular momentum is conserved: spin faster by pulling in · QuizA spinning skater pulls her arms in and her moment of inertia halves. What happens to her angular velocity and her rotational kinetic energy?C. Her angular velocity doubles; her kinetic energy doubles is conserved, so halving doubles . Kinetic energy is , so halving doubles it. The extra energy is not free: her muscles do work pulling her arms inward against their tendency to fly outwards. Angular momentum is conserved; kinetic energy is not.
8. Rotation and torque · Balance needs zero net force and zero net torque · Fill the blanksA 30 kg child sits 2.0 m from a seesaw’s pivot. Where must a 40 kg child sit, on the other side, to balance it?1: childDistance, 2: otherMass * gTorque about the pivot is weight times distance: . The other child needs the same, so . The cancels, so would do. Without the brackets, torque / otherMass * g divides by the mass and then multiplies by , giving 144 m.
8. Rotation and torque · A spinning top turns sideways instead of falling · QuizYou hold a fast-spinning bicycle wheel by one end of its axle, axle horizontal, and let go of the other end. What happens?B. It stays horizontal and slowly swings round, sideways, about your handGravity’s torque points horizontally, at right angles to the wheel’s angular momentum. So each moment it nudges sideways, and the axle swings round in a horizontal circle instead of dropping. A wheel that is not spinning has , and the same torque simply tips it over. As friction slows the spin, shrinks and the precession speeds up until it finally droops.
8. Rotation and torque · Practice problems · ProblemA solid ball rolls from rest, without slipping, down a ramp high. Use . How fast is it moving at the bottom? How fast would a hoop be moving, rolling down the same ramp?Solid ball sqrt(35) ≈ 5.91608 m/s; Hoop sqrt(24.5) ≈ 4.94975 m/s
With and , energy conservation gives .
The ball reaches and the hoop only , because half the hoop’s energy goes into spinning. A frictionless sliding block would reach .
8. Rotation and torque · Practice problems · ProblemA skater spins at 1.5 revolutions per second with her arms out, when her moment of inertia is . She pulls her arms in, and it drops to . Ignoring friction with the ice, how fast does she now spin, in revolutions per second, and by what factor does her rotational kinetic energy grow?New spin rate 4.5 rev/s; Energy grows by a factor of 3
Angular momentum is conserved:
With fixed, , so the energy grows by the factor shrank by:
She spins at 4.5 revolutions per second, with three times the kinetic energy, all of it supplied by her arms pulling in.
8. Rotation and torque · Practice problems · ProblemA uniform plank long, of mass , rests on two supports, one under each end. A painter stands on it from the left end. Use . Find the upward force from each support.Left support 539 N; Right support 245 N
The weights: plank at 2.0 m, painter at 1.0 m. Torques about the left end, anticlockwise equal to clockwise:
The vertical forces balance:
The left support pushes up with and the right with : the painter is nearer the left, so it takes more of the load.
8. Rotation and torque · Practice problems · ProblemA mass hangs from a light string wound round a pulley, a solid disc of mass and radius , free to turn on a frictionless axle. The mass is let go. Use . Find the mass’s acceleration and the tension in the string.Acceleration 4.9 m/s²; Tension 9.8 N
For the mass (down positive) and for the pulley, with and :
Put the second into the first:
The mass accelerates at , half of , and the string carries . The pulley behaves like an extra being dragged along. Notice the radius cancels.
9. Gravity and orbits · Every mass attracts every other mass · QuizA space probe moves from 1 million km to 3 million km from a planet. By what factor does the planet’s pull on it change?B. It drops to a ninthThe force goes as : three times the distance gives of the force. This inverse-square law is the same rule light, sound and electric forces follow from a point source, because the effect spreads over a sphere whose area grows as . "A third" is the linear guess the square makes wrong.
9. Gravity and orbits · Little g comes from big G · QuizThe International Space Station orbits about 400 km up, where the Earth’s gravity is about . Why do astronauts there float?B. They and the station are both in free fall, falling together around the EarthAt 400 km, : nearly 90% of its value on the ground. The astronauts float because they, the station and everything in it fall with the same acceleration, so nothing presses on anything, like the lift whose cable snapped in module 4. "Zero gravity" is a misleading name for free fall.
9. Gravity and orbits · Little g comes from big G · ProblemMars has a mass of and a radius of . With , find the gravitational field strength at its surface, and the weight there of an astronaut whose mass is . 3.72839 m/s²; Weight 298.272 N
Mars’s surface gravity is , about 38% of the Earth’s, so the astronaut weighs there, though her mass is still 80 kg.
9. Gravity and orbits · An orbit is falling and always missing · Code challengeWith G = 6.674e-11, write orbitalSpeed(mass, r), the speed (m/s) of a circular orbit of radius r (m) around a body of mass (kg), and orbitalPeriod(mass, r), the time (s) for one orbit.One solution:
Solution
1#include<cmath>2#include<numbers>34constdouble G =6.674e-11;56doubleorbitalSpeed(double mass,double r){7return std::sqrt(G * mass / r);8}910doubleorbitalPeriod(double mass,double r){11return2* std::numbers::pi * r /orbitalSpeed(mass, r);12}
Setting gravity equal to the centripetal force gives , and the period is one circumference over the speed. The radius is from the centre of the Earth: using the 400 km altitude instead gives a speed of 31.6 km/s, absurdly fast. The Moon test checks the formula far from where it was tested: its real sidereal month is 27.3 days, the small gap being the Moon’s own mass, which the simple formula ignores.
9. Gravity and orbits · An orbit is falling and always missing · ProblemGPS satellites move on circular orbits of radius around the Earth, for which . Find their orbital speed, and their period in hours.Speed 3871.04 m/s; Period 11.9931 h
They move at about , half the space station’s speed, and go round in hours: twice a day, by design.
9. Gravity and orbits · Farther planets take much longer · QuizAn asteroid orbits the Sun with a semi-major axis of 4 AU. What is its period?B. 8 years, so years. 64 forgets the square root and 16 squares instead of cubing. Four times as far, but eight times as long: the asteroid has a longer path and moves more slowly, since shrinks with distance.
9. Gravity and orbits · Gravitational energy is negative, and escape means reaching zero · QuizAt the same distance from a planet, how does the escape velocity compare with the speed of a circular orbit?B. Escape is times faster and , so the ratio is . A spacecraft already in orbit needs only 41% more speed to leave for good, which is why missions to the Moon and planets start from a parking orbit. "Twice" is the slip of forgetting the square root over the 2.
9. Gravity and orbits · Try it: escape velocity · Code challengeWith G = 6.674e-11, write escapeSpeed(mass, r): the speed (m/s) needed to escape from distance r (m) of a body of mass (kg).One solution:
Solution
1#include<cmath>23constdouble G =6.674e-11;45doubleescapeSpeed(double mass,double r){6return std::sqrt(2* G * mass / r);7}
The starter is the orbital speed; escape needs twice the kinetic energy, so the 2 goes inside the root. The Moon’s low escape speed is why Apollo’s small ascent stage could leave it, and why it has no air: its gas molecules, warmed by the Sun, are fast enough to leak away. A black hole is a body so compact that exceeds the speed of light.
9. Gravity and orbits · Geostationary orbit: one turn a day · Fill the blanksSolve for in code.1: cbrt, 2: T * TRearranged, , so is a cube root: std::cbrt, from <cmath>. That puts geostationary satellites 42 164 km from the centre, about 35 800 km above the ground, more than five Earth radii up. Using std::sqrt instead gives about 270 million km, nearly twice the distance to the Sun: the power and the root must match.
9. Gravity and orbits · Tides come from the difference in the Moon’s pull · QuizWhy do most coasts get two high tides a day, not one?B. There are two bulges, on the sides facing towards and away from the Moon, and the Earth turns under bothThe near side is pulled towards the Moon more than the centre is, and the centre more than the far side, so the ocean stretches both ways along the Earth–Moon line. A spot on the turning Earth passes through both bulges each day. The Moon takes a month to go round, not half a day, and the high tides come about 12 hours 25 minutes apart because it moves along its orbit meanwhile.
9. Gravity and orbits · Simulate an orbit step by step · Code challengeWrite stepOrbit(s, dt) for a body around a mass at the origin, with GM = 1: work out the acceleration -x / r³, -y / r³ from the current position, update the velocity, then the position with the new velocity (semi-implicit Euler), and return the new State.One solution:
The acceleration is towards the origin; multiplying the unit vector by gives . Writing r * r instead of r * r * r leaves an extra factor of and is the usual bug. Using the new velocity for the position is what keeps the orbit closed: plain Euler (old velocity) spirals out, ending a lap 12% too far away with these steps.
9. Gravity and orbits · Practice problems · ProblemThe Earth () and the Moon () are apart, centre to centre. With , find the gravitational force between them, and the acceleration it gives the Moon.Force 198603000000000000000 N; Moon’s acceleration 0.00270208 m/s²
The pull is about , giving the Moon : within 1% of the centripetal acceleration its orbit needs, from its period alone (module 3). Gravity is exactly what keeps it going round.
9. Gravity and orbits · Practice problems · ProblemMars takes years to go round the Sun. Using Kepler’s third law in astronomical units and years, find the semi-major axis of its orbit. Then find the period, in years, of an asteroid whose semi-major axis is .Mars, 1.88^(2/3) ≈ 1.52325 AU; Asteroid, 2.5^1.5 ≈ 3.95285 years
For Mars, solve for :
For the asteroid, solve for :
Mars orbits at ; the asteroid, in the belt between Mars and Jupiter, takes years.
9. Gravity and orbits · Practice problems · ProblemA rocky planet has twice the Earth’s mass and 1.5 times its radius. The Earth’s surface gravity is and its escape velocity . Find the planet’s surface gravity and its escape velocity.Surface gravity 9.8*2/2.25 ≈ 8.71111 m/s²; Escape velocity 11.2*sqrt(2/1.5) ≈ 12.9326 km/s
Surface gravity goes as :
Escape velocity goes as :
You would weigh a little less there, , yet leaving takes more, : surface gravity and escape speed depend on mass and radius differently.
9. Gravity and orbits · Practice problems · ProblemThe Earth goes round the Sun on a nearly circular orbit of radius , once every days. With , find the Earth’s orbital speed and the mass of the Sun.Orbital speed 29785.7 m/s; Mass of the Sun 1.98866e+30 kg
The period is .
The Earth moves at about , and the Sun’s mass comes out as , over 300 000 Earths: weighed with nothing but a calendar and a distance.
10. Oscillations · Periodic motion repeats itself · QuizA resting heart beats 72 times a minute. What are its frequency and period?B. 1.2 Hz and about 0.83 s72 beats per minute is beats per second, so , and . 72 Hz forgets that hertz means per second. Frequency and period are always reciprocals: if one is bigger than 1, the other is smaller.
10. Oscillations · Fastest in the middle, hardest pulled at the ends · QuizA mass bounces on a spring in SHM. Where is its speed largest, and where is its acceleration largest?B. Speed is largest at the middle; acceleration is largest at the endsAt the ends the mass stops to turn round, so , but the spring is stretched most, so the force and acceleration () are largest. At the middle the spring is relaxed: no force, no acceleration, and it has been speeding up all the way in, so it is fastest. Zero velocity with maximum acceleration is the same lesson as the ball at the top of its throw in module 2.
10. Oscillations · A mass on a spring: stiffer is faster, heavier is slower · Code challengeWrite springPeriod(mass, k), the period (s) of a mass (kg) on a spring of constant k (N/m), and springFrequency(mass, k), its frequency (Hz).One solution:
: mass on top, because heavier is slower. Swapping it to is the common mistake, and the units catch it: , while is in , an angular frequency. The square root also means you need four times the mass to double the period.
10. Oscillations · A mass on a spring: stiffer is faster, heavier is slower · QuizYou pull the same mass on the same spring twice as far before letting go. What happens to the period?C. It stays the sameThe period has no amplitude in it. Twice as far means twice the force at the ends, so it moves twice as fast and covers twice the distance in the same time. This independence is the defining feature of SHM, and it holds as long as Hooke’s law does.
10. Oscillations · A mass on a spring: stiffer is faster, heavier is slower · ProblemA mass on a spring oscillates with a period of . Find the spring constant. If the amplitude is , what is the mass’s top speed?4*pi^2 ≈ 39.4784 N/m; Top speed 0.16*pi ≈ 0.502655 m/s
The spring constant is , and the mass passes through the middle at .
10. Oscillations · A pendulum keeps time with its length · Code challengeMeasuring a pendulum is a classic way to find . Write gFromPendulum(length, period): solve for and return it (m/s²).One solution:
Solution
1#include<numbers>23doublegFromPendulum(double length,double period){4double pi = std::numbers::pi;5return4* pi * pi * length /(period * period);6}
Square both sides, , then rearrange: . A common slip is squaring only the or only the . In a lab, time 20 swings and divide by 20: the timing uncertainty of your reaction (module 1) is then shared over all of them, and since depends on , its relative uncertainty is twice ’s.
10. Oscillations · A pendulum keeps time with its length · ProblemUse . What length of simple pendulum has a period of ? And what length has a period of ?For 1.0 s 9.8/(4*pi^2) ≈ 0.248237 m; For 2.0 s 9.8/pi^2 ≈ 0.992948 m
A 1 s pendulum is long, and a 2 s one : twice the period needs four times the length.
10. Oscillations · Big swings take longer · QuizA pendulum clock runs exactly on time. Over the years its swing grows from 5° to 15° (perhaps its spring was over-wound). What happens?B. It runs slightly slow, because wider swings take a little longerAmplitude-independence is only approximate. A 15° swing has a period about 0.4% longer than a 5° one, which is several minutes a day: the clock falls behind. Clockmakers keep the swing small and constant for exactly this reason. "Faster bob" is true, but it also travels further, and the extra distance wins.
10. Oscillations · Energy sloshes between kinetic and potential · QuizThe same spring and mass oscillate with twice the amplitude. What happens to the total energy and the top speed?B. Energy ×4; top speed doublesTotal energy is , so doubling quadruples it. The top speed is , and does not change, so it doubles; check: is four times , matching the energy. The unchanged period is the third piece of the same picture: twice as far at twice the speed.
10. Oscillations · Damping makes oscillations die away · QuizA car’s shock absorbers damp its springs. What damping do engineers aim for?C. Close to critical, so it settles quickly without bouncingLight damping leaves the car bobbing after every bump, which is uncomfortable and loses tyre grip; worn shock absorbers do exactly this. Very heavy damping makes the suspension so slow that it cannot follow the road, and bumps come straight through. Near-critical damping settles fastest. Door closers and measuring needles are tuned the same way.
10. Oscillations · Simulate a damped spring · Put in orderPut one step of the damped spring simulation in order.1. Work out the force from the current position and velocity: −kx − cv 2. Divide by the mass to get the acceleration 3. Add acceleration × dt to the velocity 4. Add the new velocity × dt to the positionThe force depends on the current state, so it comes first, then . Updating the velocity before the position is semi-implicit Euler, which keeps an undamped spring’s energy steady. Updating the position first, with the old velocity, makes even an undamped spring’s amplitude grow a little every cycle, so it seems to gain energy from nowhere.
10. Oscillations · Simulate a damped spring · Code challengeWrite simulateSpring(m, k, c, x0, dt, steps): a mass m on a spring k with damping c, let go from rest at x0. Take steps steps of semi-implicit Euler with acceleration (-k * x - c * v) / m, and return the final position.One solution:
Solution
1doublesimulateSpring(double m,double k,double c,double x0,2double dt,int steps){3double x = x0;4double v =0;5for(int i =0; i < steps; i++){6double a =(-k * x - c * v)/ m;7 v += a * dt;8 x += v * dt;9}10return x;11}
Recompute the acceleration every step from both and : the damping term needs the current velocity. The first two tests check against the formula for , so they test the physics too. The last uses the envelope with : after a second the amplitude must be below . Forgetting the - c * v passes the first two and fails the last.
10. Oscillations · Resonance: push at the natural frequency · QuizA child’s swing has a natural period of 3 s. To make it go highest with gentle pushes, how often should you push?B. Every 3 sPushing once per natural period, every 3 s, keeps each push in step with the motion, so every push adds energy. Pushing at other rates is sometimes in step and sometimes against it, and the gains cancel. (Every 6 s, every other swing, also works, more weakly.) The same matching is how a radio tunes to one station, and how a singer can shatter a wine glass.
10. Oscillations · Practice problems · ProblemA mass moves as , with in metres and in seconds. Find its amplitude, its period, its top speed and its largest acceleration.Amplitude 0.08 m; Period 2*pi/5 ≈ 1.25664 s; Top speed 0.4 m/s; Largest acceleration 2 m/s²
Matching : and .
The amplitude is , the period , the top speed (in the middle) and the largest acceleration (at the ends).
10. Oscillations · Practice problems · ProblemA mass on a spring oscillates with an amplitude of and no friction. Find its total energy, and its speed when it is from equilibrium.Total energy 0.8 J; Speed at 0.060 m 1.6 m/s
At the spring holds , so the rest is kinetic:
Check with , where : . The total energy is and the speed there .
10. Oscillations · Practice problems · ProblemA pendulum has a period of on the Earth, where . What is its period on the Moon, where ? By what factor must it be shortened to swing with a period on the Moon?Period on the Moon 2*sqrt(9.8/1.62) ≈ 4.9191 s; Shorten by a factor of 9.8/1.62 ≈ 6.04938
With the same length, :
To keep , keep the same, so shrinks by the same factor as :
On the Moon it swings with a period of , and it must be about times shorter to keep time there, about 16 cm instead of 99 cm.
10. Oscillations · Practice problems · ProblemA damped oscillator’s amplitude follows . It falls from to in . Find the damping rate , and the amplitude after it was .ln(2)/4 ≈ 0.173287 1/s; Amplitude after 12 s 1.25 cm
The amplitude halves in 4.0 s:
Twelve seconds is three halvings:
The damping rate is , and after 12 s the amplitude is : exponential decay loses the same fraction in each equal time, not the same amount.
11. Waves and sound · A wave carries energy, not matter · QuizIn a stadium “wave”, each fan stands up and sits down as the wave sweeps round the stands. What kind of wave is it, and what travels round the stadium?B. Transverse; only the pattern travels round, the fans stay in their seatsThe fans move up and down while the pattern moves sideways round the stadium: motion across the direction of travel is transverse. The fans stay in their seats, just as the leaf stays put on the pond. That is the defining feature of every wave: the pattern and its energy travel, the medium does not.
11. Waves and sound · Speed is wavelength times frequency · Fill the blanksFinish the line that works out a wavelength from a speed and a frequency.1: speed / frequencyFrom , divide both sides by : . A common slip is multiplying instead; a units check catches it, since (m/s) ÷ (1/s) = m, while (m/s) × (1/s) is m/s², not a length.
11. Waves and sound · Speed is wavelength times frequency · ProblemOcean waves pass a moored buoy. Their crests are apart, and the buoy makes complete up-and-down cycles in . Find the period, the frequency and the speed of the waves.Period 5 s; Frequency 0.2 Hz; Speed 2.4 m/s
One cycle takes the total time divided by the number of cycles, and the frequency is its reciprocal:
The distance between crests is the wavelength, m, so:
The buoy itself goes nowhere: it only bobs, while the pattern moves past it at 2.4 m/s.
11. Waves and sound · The medium sets the speed · QuizA sound wave of 500 Hz passes from air into water, where sound is about 4.3 times faster. What happens to its frequency and wavelength?A. The frequency stays 500 Hz; the wavelength becomes about 4.3 times longerThe frequency is set by the source: each wobble of the air at the boundary pushes the water once, so the water wobbles 500 times a second too. The speed is set by the new medium, so must change: 4.3 times faster means 4.3 times longer waves. Frequency is what survives crossing a boundary.
11. Waves and sound · The medium sets the speed · ProblemA guitar string has a mass of per metre and is stretched to a tension of . How fast do waves travel along it? A wave of frequency runs along it: what is its wavelength?Wave speed 100*sqrt(2) ≈ 141.421 m/s; Wavelength 100*sqrt(2)/220 ≈ 0.642824 m
In SI units the mass per metre is . Then:
The wavelength follows from the wave equation:
Leaving in grams per metre would make the speed times too small.
11. Waves and sound · Path difference decides loud and quiet · QuizTwo speakers in step play a tone of wavelength 0.80 m. You stand 3.0 m from one and 3.4 m from the other. What do you hear?B. A quiet spot: the path difference is half a wavelengthThe path difference is 3.4 − 3.0 = 0.4 m, and 0.4 / 0.80 = 0.5 wavelengths. A crest from one speaker arrives with a trough from the other, so they cancel. Step sideways by a little and the path difference changes, and the sound comes back: rooms have loud and quiet spots for each frequency.
11. Waves and sound · Path difference decides loud and quiet · ProblemTwo speakers play the same note in step, and sound travels at . You stand from the first speaker and further than that from the second. What is the wavelength, and what is the smallest distance from the second speaker that puts you at a quiet spot?Wavelength 0.5 m; Distance from the second speaker 4.25 m
Destructive interference needs . The smallest is , half a wavelength:
The next quiet spots are at path differences of 0.75 m, 1.25 m and so on, with loud spots in between.
11. Waves and sound · Standing waves fit a whole number of halves · Code challengeWrite harmonic(n, length, speed): the frequency in hertz of the nth harmonic of a string fixed at both ends, of length metres, with wave speed speed in m/s.One solution:
The $n$th mode fits half-wavelengths, so , and . A common mistake is : but the fundamental is half a wave (one hump), not a whole one. Pressing a guitar string against a fret halves and doubles : up an octave.
11. Waves and sound · Harmonics give an instrument its voice · QuizA pipe closed at one end has a fundamental of 200 Hz. Which of these is also one of its resonant frequencies?C. 600 HzA closed pipe has only odd harmonics: 200, 600, 1000 Hz and so on (1, 3, 5 times the fundamental). 400 and 800 Hz are even multiples: they would fit a whole number of half-wavelengths in the pipe, which needs the same kind of point at both ends, but the closed end (where the air can’t move) and the open end (where it moves most) are opposite kinds. 500 Hz is not a multiple at all. A clarinet’s hollow, woody sound comes from this lack of even harmonics.
11. Waves and sound · Sound is a pressure wave · QuizYou see lightning and hear the thunder 3.0 s later. Light takes almost no time to reach you. How far away was the strike?B. About 1 kmDistance is speed times time: 343 m/s × 3.0 s ≈ 1030 m, about 1 km. The rule of thumb “3 seconds per kilometre” comes from this. Light covers 1 km in about 3 microseconds, so treating its arrival as instant is safe.
11. Waves and sound · Loudness is counted in decibels · Code challengeWrite soundLevel(power, distance): the sound level in decibels at distance metres from a small source radiating power watts equally in all directions.One solution:
Solution
1#include<cmath>2#include<numbers>34constdouble I0 =1e-12; // W/m², the threshold of hearing56doublesoundLevel(double power,double distance){7double area =4* std::numbers::pi * distance * distance;8double intensity = power / area;9return10* std::log10(intensity / I0);10}
First intensity, , then the logarithm of its ratio to , times 10. The tests show the two rules of thumb: doubling intensity adds dB, and doubling distance quarters intensity, which takes off about 6 dB. A usual slip is std::log, which is the natural logarithm: decibels use base 10, std::log10.
11. Waves and sound · A moving source changes the pitch · Code challengeWrite doppler(f, sourceSpeed, listenerSpeed): the frequency heard, in air at 343 m/s. Both speeds are positive when moving towards the other, negative when moving away.One solution:
The listener’s speed adds to the rate crests are met (top), and the source’s speed shortens the wavelength (bottom). The usual mistake is a sign: going away is the same formula with a negative speed, so you never need a second formula. Note the asymmetry: a source at 10 m/s gives Hz, a listener at 10 m/s gives 720.4 Hz, because only the source changes the wavelength in the air.
11. Waves and sound · Practice problems · ProblemA violin’s A string is long between its fixed ends and has a mass of per metre. It must sound a fundamental of . What wave speed does that need, what tension, and what is the frequency of its third harmonic?Wave speed 286 m/s; Tension 0.0006*286^2 ≈ 49.0776 N; Third harmonic 1320 Hz
The fundamental has m, so the waves must travel at:
Squaring and solving for the tension, with kg/m:
Harmonics are whole-number multiples of the fundamental: Hz.
11. Waves and sound · Practice problems · ProblemAn organ pipe closed at one end is long, and sound travels at . What is its lowest resonant frequency, and the next one above it?Lowest 343/3.4 ≈ 100.882 Hz; Next 3*343/3.4 ≈ 302.647 Hz
The fundamental fits a quarter of a wavelength in the pipe, so m:
A closed pipe has only odd harmonics, so the next is three times the fundamental, not twice:
11. Waves and sound · Practice problems · ProblemA small loudspeaker radiates of sound equally in all directions. Find the intensity, in milliwatts per square metre, and the sound level away, with . How far away is the sound level lower?Intensity 500/(64*pi) ≈ 2.4868 mW/m²; Sound level 93.96 dB; Distance for 20 dB less 40 m
The power spreads over a sphere of radius 4.0 m:
20 dB less is times less intensity. Intensity goes as , so the distance must be times greater: m.
11. Waves and sound · Practice problems · ProblemA train’s horn sounds at . The train comes towards you at while you stand still beside the track, passes, and goes away at the same speed. Take the speed of sound as . What frequency do you hear as it approaches, and as it goes away? By how much does the pitch drop as it passes?Approaching 500*343/318 ≈ 539.308 Hz; Going away 500*343/368 ≈ 466.033 Hz; Drop 500*343/318 - 500*343/368 ≈ 73.2756 Hz
The drop is Hz. It isn’t symmetric about 500 Hz: the rise (39 Hz) is bigger than the fall (34 Hz).
12. Fluids · A fluid flows, and density says how heavy it is · QuizA room is 5 m by 4 m by 2.5 m. Roughly what is the mass of the air in it?C. About 60 kgThe volume is 5 × 4 × 2.5 = 50 m³, and kg: about the mass of a person. Air feels like nothing because you are immersed in it and it presses equally all round, but it is far from weightless.
12. Fluids · Pressure is force spread over area · QuizWhy do snowshoes stop you sinking into soft snow?B. They spread your weight over a bigger area, so the pressure is lowerYour weight, the force, is unchanged. Spreading it over a larger area lowers , and snow gives way when the pressure, not the force, is too high. A sharp knife works the other way: a tiny area turns a modest force into a huge pressure.
12. Fluids · Pressure grows with depth · Code challengeWrite pressureAtDepth(depth, density): the absolute pressure in pascals at depth metres in a liquid of density kg/m³, with the atmosphere (101 325 Pa) on top and g = 9.81 m/s².One solution:
Solution
1constdouble ATMOSPHERE =101325; // Pa2constdouble g =9.81; // m/s²34doublepressureAtDepth(double depth,double density){5return ATMOSPHERE + density * g * depth;6}
The surface pressure plus the weight of the column per square metre, . At the bottom of the Mariana Trench that is about 111 MPa, over a thousand atmospheres. Forgetting gives the gauge pressure instead: fine for a tyre, wrong for a diver’s lungs.
12. Fluids · Pressure grows with depth · ProblemA diver swims below the surface of the sea. Seawater has a density of , , and the air presses on the surface at . What are the gauge pressure and the absolute pressure on the diver?Gauge pressure 251.4 kPa; Absolute pressure 352.7 kPa
About 3.5 atmospheres: the air the diver breathes must be supplied at this pressure too.
12. Fluids · A push on a fluid reaches everywhere · QuizIn the lift above, you push the small piston down 50 cm. How far does the big piston rise?C. 1 cmThe oil pushed out of the small cylinder, m³, fills the big one: m, 1 cm. Fifty times the force over one fiftieth of the distance: the work in, 100 × 0.5 = 50 J, equals the work out, 5000 × 0.01 = 50 J. A hydraulic lift multiplies force, never energy.
12. Fluids · Archimedes: the push up equals the fluid pushed aside · QuizIce is 917 kg/m³ and seawater 1025 kg/m³. What fraction of an iceberg is above the water?B. About 11%The fraction below is , so about 89% is hidden and 11% shows: “the tip of the iceberg”. The trap is answering 89%, which is the part under water.
12. Fluids · Archimedes: the push up equals the fluid pushed aside · ProblemA block of wood across and thick, of density , floats flat in fresh water (). How deep does it sit in the water? What extra mass, placed on top, would push it down until its top is level with the water?Depth under water 6 cm; Extra mass 4.8 kg
The fraction under water is the ratio of the densities, , so the block sits cm deep.
Its volume is , so its mass is kg.
Fully under, it displaces of water, a mass of kg. It floats just level when the block and its load together have that mass:
Notice that cancels: floating is a balance of weights, so it can be worked out in masses.
12. Fluids · Weighing something under water · Code challengeWrite apparentWeight(mass, volume, fluidDensity): the reading in newtons of a scale holding a fully submerged object of mass kg and volume m³. Use g = 9.81 m/s².One solution:
Solution
1constdouble g =9.81;23doubleapparentWeight(double mass,double volume,4double fluidDensity){5double buoyancy = fluidDensity * volume * g;6return mass * g - buoyancy;7}
Weight down, buoyancy up, and the scale takes the rest. The buoyancy uses the fluid’s density and the object’s volume: mixing them up is the usual slip. If the answer is negative, the object would float, and you would need to hold it under.
12. Fluids · Narrower pipe, faster flow · QuizWhy does water squirt further when you put your thumb over the end of a hose?B. A smaller opening means the same flow must leave fasterWith roughly the same flow rate forced through a smaller area, goes up, and faster water flies further. (In a real hose the flow drops a little too, because the tap can only supply so much pressure, but the speed still rises.)
12. Fluids · Bernoulli: faster flow, lower pressure · Fill the blanksWater flows through a level pipe that narrows. Fill in the pressure in the narrow part, from Bernoulli with no change in height.1: v1 * v1 - v2 * v2With the same, , so . The pressure drops where the flow is fast. This is how a Venturi meter measures flow, and how a perfume atomiser pulls liquid up a tube.
12. Fluids · Bernoulli: faster flow, lower pressure · ProblemA water tank has a small hole of area in its side, below the water’s surface. Take . How fast does the water leave the hole, and how many litres flow out each second?Speed sqrt(2*9.81*3.2) ≈ 7.92364 m/s; Flow rate 0.2*sqrt(2*9.81*3.2) ≈ 1.58473 L/s
As the tank empties, falls and so does the flow: a tank drains fast at first and slowly at the end.
12. Fluids · Viscosity is a fluid’s internal friction · QuizFatty deposits narrow an artery’s radius by half, with the same pressure difference across it. What happens to the blood flow, by Poiseuille’s law?C. It falls to a sixteenth, and . That is why small narrowings of blood vessels matter so much, and why the heart must work much harder to keep up. Continuity says the speed rises where a pipe narrows for a given flow; Poiseuille says how much flow viscosity lets through at all.
12. Fluids · Practice problems · ProblemA garage lift holds up a car on a piston of radius . Oil connects it to a small piston of radius . Take and ignore the pistons’ own weight. What force on the small piston holds the car up, and how far must the small piston move down to raise the car by ?Force 147.15 N; Distance 10 m
The area ratio is , and the car weighs N. The pressure is the same at both pistons:
The same volume of oil leaves one cylinder and enters the other, , so m.
Work in, J, equals the car’s gain in potential energy, J. Real lifts pump the small piston in many short strokes.
12. Fluids · Practice problems · ProblemA crown has a mass of . Hung from a spring scale and fully under water (), it reads . Take . Find the buoyant force, the crown’s volume in cubic centimetres, and its density. (Pure gold is .)Buoyant force 0.872 N; Volume 88.89 cm³; Density 13500 kg/m³
Its weight is N and the scale takes N of it, so the water holds up the rest:
The buoyant force is the weight of the water displaced, and the crown displaces its own volume:
Far below gold’s 19 300 kg/m³: the crown is gold mixed with something lighter, such as silver. No melting needed.
12. Fluids · Practice problems · ProblemWater flows along a level pipe of radius at , where the pressure is . The pipe then narrows to a radius of . Treat the water as frictionless, with density . Find the flow rate in litres per second, the speed in the narrow part, and the pressure there.Flow rate 2.4*pi ≈ 7.53982 L/s; Speed in the narrow part 6 m/s; Pressure in the narrow part 163.125 kPa
Halving the radius quarters the area, so by continuity the water goes four times faster: m/s.
With no change in height, Bernoulli gives:
Faster flow, lower pressure: the drop of about 17 kPa is what a Venturi meter reads to measure the flow.
13. Heat, temperature and thermodynamics · Temperature measures jiggling, and has a true zero · QuizAt which temperature do the Celsius and Fahrenheit scales show the same number?B. −40Set in : , so and . Check: . Kelvin is written “K”, not “°K”, and never goes negative.
13. Heat, temperature and thermodynamics · Most things grow when they warm up · QuizA metal lid is stuck on a glass jar. Why does running hot water over the lid help?B. The metal expands more than the glass for the same temperature riseMetals have larger expansion coefficients than glass (aluminium about /K, ordinary glass about /K), so the lid grows away from the rim. Glass doesn’t shrink when heated; it grows too, just less.
13. Heat, temperature and thermodynamics · Heat is energy on the move · Code challengeWrite mixTemperature(m1, c1, t1, m2, c2, t2): the final temperature when two bodies (masses in kg, specific heats in J/(kg·K), temperatures in °C) reach equilibrium with no heat lost.One solution:
Set the heat lost equal to the heat gained, , and solve for : a weighted average, weighted by each body’s heat capacity . The plain average only works for equal . The iron barely warms the water, because water’s heat capacity is so large: against .
13. Heat, temperature and thermodynamics · Heat is energy on the move · ProblemA kettle holds of water at 15 °C. Water’s specific heat capacity is . How much heat brings the water to 100 °C, and how long does that take if all the kettle’s power goes into the water?Heat 533.715 kJ; Time 533715/2200 ≈ 242.598 s
About four minutes. A real kettle takes a little longer, because some of the heat warms the kettle and the air.
13. Heat, temperature and thermodynamics · Melting and boiling take heat without warming · QuizWhy does a burn from steam at 100 °C hurt much more than one from water at 100 °C?B. Steam condensing on your skin releases its latent heat, 2256 kJ/kg, before it even starts to coolSteam at 100 °C turning into water at 100 °C gives up 2256 kJ for every kilogram, and that goes into your skin. Water at 100 °C cooling to skin temperature releases only about kJ/kg. The same latent heat, taken from your skin, is why sweating cools you.
13. Heat, temperature and thermodynamics · Melting and boiling take heat without warming · ProblemYou drop of ice at 0 °C into of water at 25 °C, in an insulated cup. Use , and for water. How much heat does the ice need to melt, and what is the final temperature once it has all melted and mixed?Heat to melt the ice 16.7 kJ; Final temperature (41860 - 16700)/(0.45*4186) ≈ 13.3567 °C
Cooling the 0.40 kg of water all the way to 0 °C would give J, more than enough, so all the ice melts.
Call the final temperature . The warm water’s loss pays for the melting and for warming the melted ice from 0 °C to :
Melting does most of the cooling: 50 g of water at 0 °C would only have brought the drink down to about 22 °C.
13. Heat, temperature and thermodynamics · Heat moves by conduction, convection and radiation · QuizA star’s surface goes from 3000 K to 6000 K, its size unchanged. How much more power does it radiate?D. 16 timesRadiated power goes as , and . That steep fourth power is why hot objects glow so much brighter. It only works with kelvin: in Celsius the “doubling” would be meaningless, since 0 °C isn’t zero energy.
13. Heat, temperature and thermodynamics · The ideal gas law ties pressure, volume and temperature · Code challengeWrite gasPressure(moles, celsius, litres): the pressure in pascals of an ideal gas. Take the temperature in °C and the volume in litres, and convert them first.One solution:
The starter makes both classic mistakes: Celsius instead of kelvin (so a gas at 0 °C would have no pressure) and litres instead of cubic metres (1 L = 0.001 m³, a factor of 1000). The ideal gas law only works in SI units with absolute temperature.
13. Heat, temperature and thermodynamics · Pressure is molecules hitting the walls · Code challengeWrite rmsSpeed(kelvin, molarMass): the root-mean-square speed in m/s, with the molar mass in kg/mol.One solution:
Solution
1#include<cmath>23constdouble R =8.314;45doublermsSpeed(double kelvin,double molarMass){6return std::sqrt(3* R * kelvin / molarMass);7}
. The air molecules hitting you now average about 500 m/s, faster than sound (which makes sense: sound is carried by them). Speed grows only as . The usual slip is the molar mass in g/mol (28) instead of kg/mol (0.028), which gives a speed about 32 times too small.
13. Heat, temperature and thermodynamics · The first law: energy is conserved · QuizA gas takes in 500 J of heat and pushes a piston out, doing 200 J of work. What is the change in its internal energy?B. +300 J J. Of the heat that came in, 200 J left again as work and 300 J stayed, warming the gas. Adding them, +700 J, would mean the gas gained energy by doing work, which runs the wrong way.
13. Heat, temperature and thermodynamics · The first law: energy is conserved · ProblemA gas in a cylinder takes in of heat while it expands at a constant pressure of , from to . How much work does the gas do, and by how much does its internal energy change?Work done by the gas, 300 J; 500 J
The volume grows by :
Of the 800 J that came in, 300 J left as work on the piston and 500 J stayed, warming the gas.
13. Heat, temperature and thermodynamics · A heat engine can never use all its heat · Find the bugThis gives a Carnot efficiency of 91% for steam at 300 °C and a river at 50 °C. Which line is wrong?Line 3: double cold = coldCelsius + 273.15;Both temperatures must be absolute, and line 3 leaves the cold one in Celsius. As written it computes . With the fix, , 44%. Any formula with a ratio of temperatures needs kelvin on both sides. Real power stations turn about 35 to 45% of their heat into work, not far below their limit.
13. Heat, temperature and thermodynamics · Entropy never goes down · QuizWhich of these would break the second law of thermodynamics?B. An engine that turns all the heat from a hot source into work, with no cold sideA cycle that only takes heat and gives out work would lower the hot side’s entropy with nothing to make up for it. The others are fine: the fridge and freezer run on work and push extra heat out into the room, and a living thing lowers its own entropy while raising its surroundings’ more, by eating and giving off heat.
13. Heat, temperature and thermodynamics · Practice problems · ProblemA car tyre holds of air at 20 °C and an absolute pressure of . How many moles of air does it hold? After a long drive the air is at 45 °C, with the volume unchanged: what is its pressure now? Use .Amount 300000*0.025/(8.314*293.15) ≈ 3.07724 mol; New pressure 300*318.15/293.15 ≈ 325.584 kPa
In kelvin the temperatures are 293.15 K and 318.15 K. From :
With , and unchanged, the pressure is proportional to the absolute temperature:
Using Celsius, kPa, would be badly wrong: the pressure rises by about 9%, not 125%.
13. Heat, temperature and thermodynamics · Practice problems · ProblemOxygen gas () is at 27 °C. Find the average kinetic energy of one molecule, in units of , and the root-mean-square speed of the molecules. Use and .Average kinetic energy 1.5*0.01381*300.15 ≈ 6.21761 × 10⁻²¹ J; rms speed sqrt(3*8.314*300.15/0.032) ≈ 483.682 m/s
In kelvin, K.
Every gas at 27 °C has the same average kinetic energy per molecule; lighter molecules just move faster to have it.
13. Heat, temperature and thermodynamics · Practice problems · ProblemA power station’s boiler makes steam at 550 °C, and it gives its waste heat to a river at 20 °C. What is its Carnot limit, as a percentage? It actually turns 38% of the heat from its fuel into of electrical power: how much heat each second does it take from the fuel, and how much goes into the river?Carnot limit 100*(1 - 293.15/823.15) ≈ 64.3868 %; Heat from the fuel 600/0.38 ≈ 1578.95 MW; Heat into the river 600/0.38 - 600 ≈ 978.947 MW
More heat goes into the river than comes out as electricity, even though the station reaches more than half of its Carnot limit.
13. Heat, temperature and thermodynamics · Practice problems · ProblemA block of ice at 0 °C melts in a room at 20 °C, taking of heat from the room’s air, which stays at 20 °C. Find the entropy change of the ice, of the room, and of the two together.Ice 334000/273.15 ≈ 1222.77 J/K; Room -334000/293.15 ≈ −1139.35 J/K; Total 334000/273.15 - 334000/293.15 ≈ 83.4229 J/K
The total rises, as the second law demands. Run it backwards, water freezing by giving its heat to a warmer room, and the total would fall: that never happens by itself.
14. Charge and electric fields · Charge comes in two kinds and in fixed lumps · QuizHow many extra electrons give an object a charge of −1 C?B. About 6.2 × 10¹⁸ electrons. A coulomb is a lot of charge: static on a balloon is a few nanocoulombs. The tempting is Avogadro’s number, the size of a mole, which is a different count.
14. Charge and electric fields · Conductors let charge move; insulators hold it · QuizA negatively charged balloon sticks to a neutral wall. Why, if the wall has no net charge?B. The wall’s molecules polarise, with their positive sides nearer the balloon, and nearer charges pull harderThe balloon pushes the wall’s negative charges slightly away and pulls positive ones slightly nearer. Attraction and repulsion both act, but the attracted charges are closer, and the force grows sharply as distance falls (next slide), so attraction wins. Nothing is transferred: the wall stays neutral overall.
14. Charge and electric fields · Coulomb's law: an inverse square · Code challengeWrite coulombForce(q1, q2, r): the force in newtons between charges q1 and q2 (coulombs) r metres apart. Positive means they repel, negative that they attract.One solution:
Solution
1constdouble k =8.99e9; // N·m²/C²23doublecoulombForce(double q1,double q2,double r){4return k * q1 * q2 /(r * r);5}
The distance is squared, r * r: C++ has no power operator, and r ^ 2 won’t compile for a double (^ is a bitwise operation on whole numbers, where 3 ^ 2 is 1). Leaving the sign of the charges in the product does the sign work for you: like charges give a positive product and repel. Two charges of one microcoulomb a centimetre apart push with the weight of a 9 kg mass: tiny charges, big forces.
14. Charge and electric fields · Coulomb's law: an inverse square · ProblemTwo small spheres carry charges of and , and their centres are apart. Use . How big is the force between them, in micronewtons? At what separation would it be ?Force 239.73 μN; Separation 1.4689 cm
The charges are unlike, so it is an attraction.
Check with the inverse square: the force grew times, so the distance shrank times, from 3.0 to 1.47 cm.
14. Charge and electric fields · A charge fills the space around it with a field · Code challengeCharges lie on the x axis. Write fieldAt(x, charges): the electric field (N/C) at position x, positive pointing in +x. Each Charge has a position at and charge q. Assume x isn’t at a charge.One solution:
Solution
1#include<vector>23constdouble k =8.99e9;45structCharge{6double at; // position on the x axis, m7double q; // charge, C8};910doublefieldAt(double x,const std::vector<Charge>& charges){11double field =0;12for(constCharge& c : charges){13double r = x - c.at;14double size = k * c.q /(r * r);15if(r >0) field += size;16else field -= size;17}18return field;19}
A positive charge’s field points away from it: to the right on its right (), to the left on its left. The if on the sign of r gives that direction, and the size; a negative flips it to point inward. Between a + and a − charge the fields both point from + to −, so they add. Forgetting the direction and adding sizes would give 17.98 in the cancelling case too.
14. Charge and electric fields · A charge fills the space around it with a field · ProblemA charge sits at and a charge at . Where between them is the electric field zero? How strong is the field at the midpoint, ? Use .Zero field at 10 cm; Field strength at the midpoint 2397000 N/C
Between the charges, the left one’s field points right and the right one’s points left. They cancel where (with in cm):
The zero is nearer the smaller charge, as it must be. At the midpoint both charges are 0.15 m away:
It points towards the smaller charge, because the bigger charge’s push wins there.
14. Charge and electric fields · Field lines draw the field · QuizAn electron is released at rest in a uniform field that points to the right. What does it do?C. It accelerates to the leftThe force is , and the electron’s is negative, so the force points opposite to the field: left. A constant force gives a constant acceleration, so it speeds up steadily. The field’s direction is defined for a positive charge; negative ones go the other way.
14. Charge and electric fields · Voltage is energy per charge · QuizA 9 V battery pushes 2 C of charge round a circuit. How much energy does it give that charge?D. 18 JVoltage is joules per coulomb: J. Dividing (4.5) mixes up which is per which. The voltage tells you how much energy each coulomb carries; how many coulombs flow is the current’s job (next module).
14. Charge and electric fields · Voltage is energy per charge · ProblemAn electron gun accelerates electrons from rest through . Find the kinetic energy each one gains, in electronvolts and in units of , and its speed. Use and .Energy in eV 1000 eV; Energy in joules 1.602 × 10⁻¹⁶ J; Speed sqrt(2*1.602e-16/9.109e-31) ≈ 18754700 m/s
Crossing 1000 V, each electron gains 1000 eV: that is what an electronvolt means. In joules:
About 6% of the speed of light, so Newton’s is still good to well under 1%.
14. Charge and electric fields · The field points downhill in potential · Fill the blanksTwo parallel plates 2 mm apart are connected to a 12 V supply. Fill in the field between them.1: voltage / gap, 2: 6000In a uniform field, V/m. This is why V/m and N/C are the same unit. Make the gap smaller and the field grows: air breaks down and sparks at about V/m.
14. Charge and electric fields · A capacitor stores charge, and energy · QuizYou double the voltage across a capacitor. What happens to the energy stored?B. It is four times as much, so twice the voltage stores four times the energy. Both the charge and the voltage doubled, and the energy is (half) their product. Camera flashes and defibrillators charge a capacitor slowly and dump its energy in a fraction of a second.
14. Charge and electric fields · A capacitor stores charge, and energy · ProblemA capacitor is made of two plates , apart, with plastic of dielectric constant between them, connected to . Use . Find its capacitance, the charge on each plate, and the energy stored.Capacitance 2.125 nF; Charge 19.125 nC; Energy 86.06 nJ
The plates’ area is and the gap is m:
Without the plastic, all three would be three times smaller.
14. Charge and electric fields · Gauss's law: count the field lines leaving · QuizA closed surface encloses +3 nC and −3 nC, and a +5 nC charge sits just outside it. What is the total electric flux out of the surface?A. ZeroOnly charge inside counts, and . The outside charge’s field lines go in one side and out the other, adding nothing in total. The field on the surface is not zero (the outside charge makes sure of that); only the total flux is.
14. Charge and electric fields · Practice problems · ProblemTwo parallel plates apart are held at a potential difference of . Find the field between them, the force on a proton there (in units of ), and the speed of a proton released at rest at the positive plate when it reaches the negative one. Use and .Field 30000 V/m; Force 4.806 × 10⁻¹⁵ N; Speed sqrt(2*1.602e-19*150/1.673e-27) ≈ 169490 m/s
Crossing 150 V, the proton gains V of kinetic energy:
An electron crossing the same gap would end about 43 times faster, , because it is 1836 times lighter.
14. Charge and electric fields · Practice problems · ProblemA defibrillator charges a capacitor to . How much energy does it store, and how much charge? If it releases that energy through the patient in , what is the average power?Energy 300 J; Charge 0.3 C; Average power 60 kW
A modest energy, about what lifting a 30 kg bag by one metre takes, but delivered in milliseconds, so the power is huge.
14. Charge and electric fields · Practice problems · ProblemA point charge of is fixed in place. Find the electric potential and from it, and the work needed to bring a charge slowly from to away, in microjoules. Use .Potential at 0.50 m 89.9 V; Potential at 0.20 m 224.75 V; Work 0.2697 μJ
Positive work: you push one positive charge towards another against their repulsion, and the energy is stored as potential energy.
15. Current and circuits · Current is charge flowing per second · QuizElectrons in a household copper wire drift at well under a millimetre per second. Why does a lamp light the instant you flip the switch?B. The wire is already full of electrons; the field that pushes them spreads along the wire at nearly the speed of light, so they all start moving at onceLike water in a full hose, the electrons are already in the lamp. Switching on sets up the electric field along the whole circuit almost at once, and every electron starts drifting together. The signal travels fast; the charges themselves crawl.
15. Current and circuits · Resistance and Ohm's law · QuizA 230 V heater draws 10 A. What is its resistance?C. 23 Ω Ω. Multiplying gives 2300, which is the power in watts (next slide), not the resistance: check the units, V/A is ohms, V × A is watts.
15. Current and circuits · Resistance and Ohm's law · ProblemAn extension cable is long. Current goes out along one copper wire and back along another, each with a cross-section of . Copper’s resistivity is . What is the resistance of the two wires together, and how much voltage is lost along them when flows?Resistance 0.56 Ω; Voltage lost 5.6 V
Out and back, the current passes through m of wire with :
On 230 V mains that is a loss of about 2.4%, and the lost energy heats the cable, which is why a coiled-up cable carrying a big load can get hot.
15. Current and circuits · Power is voltage times current · Fill the blanksA 2 kW kettle runs for 3 minutes. Fill in the energy in kilowatt-hours.1: 60, 2: *Energy is power times time: kWh, or 360 000 J. Kilowatt-hours need the time in hours: 3 minutes is 3/60 of an hour. That is why it says 3.0: with 3 / 60, both are ints, the division drops the fraction and gives 0, and the kettle would seem to use no energy at all.
15. Current and circuits · Power is voltage times current · ProblemA heater on has a resistance of . What current does it draw, what is its power, and how many kilowatt-hours does it use in hours?Current 230/26.5 ≈ 8.67925 A; Power 230^2/26.5 ≈ 1996.23 W; Energy 230^2/26.5*5/1000 ≈ 9.98113 kWh
Rounding the power to 2.0 kW first gives 10 kWh, close enough for a bill.
15. Current and circuits · Series adds resistance; parallel adds paths · Code challengeWrite series(rs) and parallel(rs): the total resistance in ohms of a list of resistors connected in series, and in parallel.One solution:
Solution
1#include<vector>23doubleseries(const std::vector<double>& rs){4double sum =0;5for(double r : rs) sum += r;6return sum;7}89doubleparallel(const std::vector<double>& rs){10double conductance =0;11for(double r : rs) conductance +=1/ r;12return1/ conductance;13}
In parallel you add the reciprocals (conductances), then take the reciprocal of the sum. The classic mistake is returning the sum of reciprocals itself: for 6 and 3 that is 0.5, which is in siemens, not ohms. 1 / r is a fraction only because r is a double: with whole-number resistances in a std::vector<int>, 1 / 6 would be 0. Remember the sanity check: a parallel total is always smaller than any single branch.
15. Current and circuits · Kirchhoff's laws solve any circuit · Put in orderPut the steps of solving that circuit in order.1. Combine the parallel pair into one equivalent resistance 2. Add the series resistance to get the total 3. Find the battery current from Ohm’s law, I = V / R 4. Find the voltage across the series resistor, then what is left for the parallel pair (loop rule) 5. Find each branch current, and check they add up (junction rule)Simplify from the inside out until one resistor is left, find the total current, then work back out, splitting voltages with the loop rule and currents with the junction rule. The final check costs nothing and catches most slips.
15. Current and circuits · Kirchhoff's laws solve any circuit · ProblemA battery drives in series with a parallel pair, and . Find the total resistance, the current from the battery, and the current through .Total resistance 9 Ω; Battery current 8/3 ≈ 2.66667 A; Current through 2/3 ≈ 0.666667 A
The series resistor takes V, which leaves V across the pair:
Check the junction: A. The smaller resistor takes the larger share of the current.
15. Current and circuits · A capacitor charges along an exponential · Code challengeSimulate charging step by step. Write chargeRC(v0, r, c, t, dt): start with the capacitor at 0 V and repeat, t / dt times, “the voltage rises by (v0 − v) / (r·c) · dt”. Return the voltage.One solution:
Solution
1#include<cmath>23doublechargeRC(double v0,double r,double c,double t,double dt){4double v =0;5int steps = std::lround(t / dt);6for(int i =0; i < steps; i++){7 v +=(v0 - v)/(r * c)* dt;8}9return v;10}
This is Euler’s method: each small step adds rate × time. It agrees with to within about 0.001 V here, because is a ten-thousandth of . Make close to and the answer goes badly wrong: the step size must be small compared with the fastest change in the system.
15. Current and circuits · A capacitor charges along an exponential · ProblemAn uncharged capacitor is connected through a resistor to a supply. Find the time constant, the capacitor’s voltage after , and the time it takes to reach .Time constant 1.034 s; Voltage after 2.0 s 12*(1 - exp(-2/1.034)) ≈ 10.2656 V; Time to reach 9.0 V 1.034*ln(4) ≈ 1.43343 s
75% of the way takes time constants, a little more than the one time constant that reaches 63%.
15. Current and circuits · Mains electricity, and staying safe · QuizWhy is a fuse always put in the live wire, not the neutral?B. When it blows, the appliance is cut off from the high voltage, not just from the return pathIn a simple loop the same current flows in live and neutral, so a fuse in either would stop it. But a fuse in the neutral would leave the appliance connected to the live wire after it blew: still at a dangerous voltage, ready to shock whoever opens it to see what is wrong.
15. Current and circuits · Practice problems · ProblemA battery has an EMF of and an internal resistance of : a resistance inside the battery, in series with whatever it drives. It lights a lamp of resistance . Find the current, the voltage across the battery’s terminals, and the power the lamp gets.Current 2 A; Terminal voltage 8 V; Lamp power 16 W
The other W warms the battery itself: 1 V of the 9 never reaches the lamp.
15. Current and circuits · Practice problems · ProblemA kettle is rated on (RMS) mains. What RMS current does it draw, what is its resistance, and what is the peak voltage of the supply?Current 5 A; Resistance 46 Ω; Peak voltage 230*sqrt(2) ≈ 325.269 V
Ratings use RMS values because they give the right heating in , the same as steady values would.
15. Current and circuits · Practice problems · ProblemA string of fairy lights has identical bulbs in series on , using in all. Find the voltage across each bulb, the current, and each bulb’s resistance.Voltage per bulb 5.75 V; Current 0.2 A; Resistance per bulb 28.75 Ω
Identical bulbs in series share the voltage equally: V each.
Check: in all, and W.
16. Magnetism and induction · Magnets have poles and fill space with a field · QuizYou snap a bar magnet in half, between its poles. What do you get?B. Two smaller magnets, each with a north and a south poleCut a magnet as often as you like, down to a single atom, and every piece has both poles. No one has ever found a lone pole, a magnetic monopole. Magnetism comes from moving charge (currents, and the spin of electrons), and a current loop always has two faces.
16. Magnetism and induction · A magnetic field pushes moving charges sideways · Code challengeWrite orbitRadius(mass, charge, speed, field) (metres) and orbitPeriod(mass, charge, field) (seconds) for a charged particle moving across a uniform magnetic field.One solution:
Solution
1#include<numbers>23doubleorbitRadius(double mass,double charge,double speed,4double field){5return mass * speed /(charge * field);6}78doubleorbitPeriod(double mass,double charge,double field){9return2* std::numbers::pi * mass /(charge * field);10}
Set and one cancels: . The period is the circumference over the speed, , and cancels again. Mass spectrometers use the radius to sort ions by mass; a common slip is squaring , forgetting it cancels.
16. Magnetism and induction · A magnetic field pushes moving charges sideways · ProblemIn a mass spectrometer, sodium ions of mass and charge move at across a field. Find the radius of their circle, in centimetres, and the time for one full circle, in microseconds.Radius 4.769 cm; Period 2.9965 μs
A heavier ion at the same speed circles wider, which is how the instrument sorts ions by mass.
16. Magnetism and induction · A current in a field feels a force: the motor · QuizA wire carrying 5 A runs exactly along the direction of a 0.2 T field. What force does it feel?C. NoneWith the current along the field, and : no force at all. The magnetic force needs motion across the field. This is the difference from an electric field, which pushes a charge whichever way it moves, or if it is still.
16. Magnetism and induction · Currents make magnetic fields · Fill the blanksA solenoid has 1000 turns per metre and carries 2 A. Fill in its field.1: turnsPerMetre, 2: current T. It doesn’t depend on the solenoid’s width or length, only on how tightly it is wound and the current, as long as it is long compared with its width.
16. Magnetism and induction · Currents make magnetic fields · ProblemA long, straight power cable carries a steady . Use . What is its magnetic field away, in microtesla? How close to the cable would its field equal Earth’s, ?Field at 5.0 m 8 μT; Distance for 50 μT 0.8 m
Five metres away the cable’s field is about a sixth of Earth’s, so a compass is only thrown off close to it. (Mains cables carry AC, whose field alternates too.)
16. Magnetism and induction · Faraday: changing flux makes a voltage · Code challengeYou have the flux through a coil (webers) sampled every dt seconds. Write emfs(turns, flux, dt): the induced EMF between each pair of samples, , so one fewer value than samples.One solution:
Solution
1#include<vector>23std::vector<double>emfs(double turns,const std::vector<double>& flux,4double dt){5 std::vector<double> result;6for(std::size_t i =1; i < flux.size(); i++){7 result.push_back(-turns *(flux[i]- flux[i -1])/ dt);8}9return result;10}
Each EMF is a finite-difference derivative of the flux, times . A steady flux, however big, induces nothing: only change counts. The minus sign is Lenz’s law (next slide): it says which way the induced current flows.
16. Magnetism and induction · Faraday: changing flux makes a voltage · ProblemA coil of turns, each of area , sits with its axis along a magnetic field. The field falls steadily from to in . What is the size of the EMF induced? The coil’s ends are joined, and its resistance is : what current flows?EMF 12 V; Current 1 A
By Lenz’s law the current flows so that its own field points along the original field, trying to keep the flux up.
16. Magnetism and induction · Lenz's law: induction opposes the change · QuizYou pull a magnet’s north pole away from a coil. What pole does the coil’s induced current make at the end nearest the magnet?B. South, to pull back on the magnet and oppose it leavingPulling the magnet away reduces the flux, so the coil opposes that by trying to keep the magnet: a south pole attracts the departing north. Whichever way you move the magnet, the coil resists. Answering north is the usual slip: Lenz opposes the change, not the field.
16. Magnetism and induction · A generator spins a coil in a field · QuizThe same coil is turned twice as fast. What happens to the peak EMF?B. It doublesThe peak is , proportional to . Turning faster changes the flux faster, and Faraday’s law says the EMF is the rate of change. So both the frequency and the peak double, which is why a bicycle dynamo’s lamp brightens as you speed up.
16. Magnetism and induction · Transformers change voltage, and save power on the grid · QuizA charger’s transformer turns 230 V into 5 V. Its primary has 920 turns. How many does the secondary have?B. 20 turns. Step-down means fewer secondary turns. (Modern chargers switch at high frequency so a tiny transformer will do, but the turns ratio works the same way.)
16. Magnetism and induction · Maxwell's equations unite electricity, magnetism and light · QuizWhich of Maxwell’s equations says that magnetic field lines never begin or end?B. Gauss’s law for magnetismZero total magnetic flux out of every closed surface means as many lines go in as come out: there is nowhere for a line to start, no north pole on its own. Gauss’s law for electricity is the same with charge on the right, which is why electric lines can start and end on charges.
16. Magnetism and induction · Practice problems · ProblemA straight wire long carries through a uniform field, at to the field. What force does the field exert on it? At what angle to the field, in degrees, would the force be greatest, and how big would it be then?Force at 30° 0.3 N; Angle for the greatest force 90 °; Greatest force 0.6 N
is largest, 1, at : the wire square across the field.
16. Magnetism and induction · Practice problems · ProblemA generator’s coil has turns of area and turns times a second in a field. Find the peak EMF and the RMS EMF.Peak EMF 150*0.3*0.02*2*pi*50 ≈ 282.743 V; RMS EMF 150*0.3*0.02*2*pi*50/sqrt(2) ≈ 199.93 V
Close to mains voltage, from a modest coil turning at the grid’s 50 Hz.
16. Magnetism and induction · Practice problems · ProblemAn ideal transformer steps mains down to for a lamp. Its primary coil has turns. How many turns does the secondary have, what current flows in the lamp, and what current does the transformer draw from the mains?Secondary turns 60; Lamp current 5 A; Mains current 60/230 ≈ 0.26087 A
The current is stepped up by the same ratio the voltage is stepped down, .
16. Magnetism and induction · Practice problems · ProblemA power station sends along a line whose total resistance is . How much power is lost as heat in the line if it is sent at , and how much if it is sent at ?Loss at 25 kV 1.6 MW; Loss at 400 kV 6.25 kW
At 25 kV the line wastes 8% of the power; at 400 kV, 0.03%. Sixteen times the voltage cuts the loss times.
17. Light and optics · Light is one band of the electromagnetic spectrum · QuizGreen light has a wavelength of 550 nm. What is its frequency?C. About 5.5 × 10¹⁴ Hz Hz: over five hundred million million wobbles a second. Forgetting to turn nanometres into metres (×10⁻⁹) is the usual slip, and gives Hz; dividing the wrong way round, , gives the first option, and multiplying gives the last.
17. Light and optics · Light is fastest in a vacuum · QuizThe Sun is m away. How old is the sunlight reaching you now?B. About 8 minutes s, about 8.3 minutes. You always see the Sun as it was eight minutes ago, and distant stars as they were years or millennia ago. Looking far away is looking back in time.
17. Light and optics · Light is fastest in a vacuum · ProblemLight of wavelength in a vacuum enters glass of refractive index . Use . Find its speed in the glass, its frequency, and its wavelength in the glass.Speed in the glass 200000000 m/s; Frequency 500000000000000 Hz; Wavelength in the glass 400 nm
Slower at the same frequency, so shorter waves: . The light doesn’t turn violet in the glass; its colour goes with its frequency, which hasn’t changed.
17. Light and optics · Reflection: the angles are equal · QuizWhat is the shortest flat wall mirror in which a 1.80 m tall person can see all of themselves?B. 0.90 mLight from your feet reflects off the mirror halfway between your eyes and feet in height, and light from the top of your head halfway between your eyes and your head. So the mirror needs half your height, 0.90 m, hung at the right place. Standing further back doesn’t help: the image recedes just as fast.
17. Light and optics · Refraction and Snell's law · Code challengeWrite refractionAngle(n1, n2, degrees): the angle of the refracted ray in degrees, or std::nullopt, no angle, if there is none (when Snell’s law would need a sine above 1).One solution:
std::sin and std::asin work in radians, so convert in and out. A std::optional<double> holds a double or nothing: return std::nullopt; is the nothing, returning a number fills it, and the caller checks has_value() before reading it with *. Going from glass to air at 60°, : no angle has that sine, so no light gets out at all. That case has a name, and it is the next slide.
17. Light and optics · Refraction and Snell's law · ProblemA ray of light in water () meets the surface at from the normal and passes out into air (). At what angle from the normal does it leave, in degrees? 49.72 °
Into a faster material it bends away from the normal: 49.7° is more than 35°.
17. Light and optics · Total internal reflection traps light · QuizA swimmer underwater looks up. Beyond what angle from straight up does the surface look like a silver mirror? (Water .)C. About 48.8°, so . Inside a cone of that half-angle the swimmer sees the whole sky squeezed in (Snell’s window); outside it, the surface reflects the pool. 41.8° is glass’s critical angle, not water’s.
17. Light and optics · Lenses form images: the thin lens equation · Code challengeWrite imageDistance(f, objectDistance) and magnification(f, objectDistance) from the thin lens equation. Distances are in any one unit; use the sign convention above.One solution:
Solution
1doubleimageDistance(double f,double objectDistance){2return1/(1/ f -1/ objectDistance);3}45doublemagnification(double f,double objectDistance){6return-imageDistance(f, objectDistance)/ objectDistance;7}
Rearrange: , then take the reciprocal. Forgetting that last step (returning ) is the usual mistake. The signs carry the meaning: a negative image distance is virtual, a negative magnification inverted.
17. Light and optics · Lenses form images: the thin lens equation · ProblemA projector’s lens has a focal length of and makes a sharp image of a slide on a screen from the lens. How far from the lens is the slide, and what is the magnification?Slide distance 600/49 ≈ 12.2449 cm; Magnification -49
The slide sits just outside the focal point, and the image is 49 times bigger and upside down, which is why slides go into a projector upside down.
17. Light and optics · Two slits prove light is a wave · QuizIn Young’s experiment, which change spreads the fringes further apart?A. Moving the slits closer together: a smaller means wider spacing. Blue light has a shorter , which narrows them; a closer screen (smaller ) narrows them too; brightness changes how bright the fringes are, not where.
17. Light and optics · Two slits prove light is a wave · ProblemRed laser light of wavelength passes through two slits apart onto a screen away. What is the spacing of the bright fringes, in millimetres? At what angle from the centre, in degrees, is the second bright fringe on one side ()?Fringe spacing 9.495 mm; Angle of the second fringe 0.3627 °
The angle is tiny, which is why the small-angle formula for works: mm, two fringe spacings.
17. Light and optics · Polarisation shows light is transverse · QuizTwo crossed polarisers (at 90°) block all light. You slip a third between them, at 45° to each. What fraction of the original unpolarised light now gets through?B. One eighthThe first filter passes half. The 45° one passes of that, and the last another : . Adding a filter lets more light through, because each filter re-polarises the light along its own axis rather than just removing some.
17. Light and optics · Practice problems · ProblemAn optical fibre has a glass core of refractive index inside a cladding of index . What is the critical angle at the boundary between core and cladding, in degrees? How long does light take to travel through the core, in milliseconds, ignoring its zigzag? Use .Critical angle 80.57 °; Time 1.48/3 ≈ 0.493333 ms
Only rays meeting the wall at more than 80.6° from the normal, nearly parallel to the fibre, stay trapped.
About half a millisecond per 100 km, part of the delay you notice on a call to the other side of the world.
17. Light and optics · Practice problems · ProblemYou look at a stamp through a magnifying glass of focal length , held from the stamp. Where is the image, and what is the magnification? (A virtual image has a negative image distance.)Image distance -24 cm; Magnification 4
A virtual image 24 cm from the lens, on the stamp’s side, upright and four times as big.
17. Light and optics · Practice problems · ProblemGreen light of wavelength falls straight onto a diffraction grating with lines per millimetre. At what angle, in degrees, is the first-order bright line? What is the highest order that can be seen?First-order angle 19.27 °; Highest order 3
So the third order, at about 82°, is the last; a fourth would need .
17. Light and optics · Practice problems · ProblemUnpolarised light of intensity passes through a polarising filter, then through a second filter whose axis is at to the first. What is the intensity after the first filter, and after the second?After the first 40 W/m²; After the second 10 W/m²
The first filter passes half of unpolarised light: W/m².
Using instead of its square, the usual slip, would give 20 W/m².
18. Special relativity · Simultaneous for you is not simultaneous for me · QuizIn the train example, who is right about whether the doors opened at the same time?C. Both: simultaneity depends on the frame, and each measures correctly in their ownBy the first postulate no frame is special, so neither has a better claim. It is not a delay of signals either: each observer has already corrected for the time light takes to reach them. The disagreement is about when the events happened, and it is real.
18. Special relativity · The Lorentz factor measures how relativistic you are · Code challengeWrite lorentz(speed): the Lorentz factor for a speed in m/s. Use c = 299 792 458 m/s.One solution:
Divide by first, then square: . At 0.8c, , whose root is 0.6, so . Squaring and separately works too but makes huge numbers. At a jet’s speed : that is why Newton is right in everyday life.
18. Special relativity · The Lorentz factor measures how relativistic you are · ProblemA spaceship travels at . Find its Lorentz factor. Then find the speed, as a fraction of , at which . at 25/7 ≈ 3.57143; Speed for sqrt(3)/2 ≈ 0.866025 c
Even at 87% of light’s speed, is only 2: it stays near 1 for a long way, then climbs steeply.
18. Special relativity · Moving clocks run slow · QuizOne twin flies to a star at 0.8c and back; the other stays on Earth. Each sees the other’s clock running slow while they move apart. Who is younger when they meet again?C. The traveller, who changed inertial frames by turning roundThe situation isn’t symmetric: the traveller accelerates to turn round, switching from an outbound inertial frame to an inbound one, and that switch changes which distant events are simultaneous for them. Worked through, the traveller ages less; at 0.8c, 60% as much. Meeting again at one place, they can compare clocks directly, so they must agree.
18. Special relativity · Moving clocks run slow · ProblemPions live for on average, measured at rest. A beam of them moves at through a laboratory. Use . How long does an average pion live, as measured in the lab, and how far does it travel in that time?Lifetime in the lab 26/sqrt(1 - 0.95^2) ≈ 83.2666 ns; Distance 0.95*0.3*26/sqrt(1 - 0.95^2) ≈ 23.731 m
Without time dilation it would go only m. Particle physicists design beam lines around the longer figure, because it is the one that happens.
18. Special relativity · Moving lengths shrink, along the motion · QuizA spaceship 100 m long at rest flies past you at 0.6c. How long do you measure it to be?B. 80 mAt 0.6c, , so m. 125 m would be multiplying by : lengths contract, times dilate. And 60 m uses directly, which isn’t how either effect goes.
18. Special relativity · Moving lengths shrink, along the motion · ProblemProxima Centauri is light-years from Earth, measured in Earth’s frame (a light-year is the distance light travels in a year). A ship flies there at . How long does the trip take in Earth’s frame, how long by the ship’s clocks, and how far away is the star as measured by the crew?Time in Earth’s frame 5.3 years; Time on the ship 3.18 years; Distance for the crew 2.544 light-years
The two views agree: for the crew, 2.544 light-years at takes years.
18. Special relativity · Speeds add in a way that never passes c · Code challengeWrite addVelocities(u, v), with both speeds as fractions of c: the speed you measure for something moving at u relative to a frame that moves at v relative to you.One solution:
Solution
1doubleaddVelocities(double u,double v){2return(u + v)/(1+ u * v);3}
In units of the disappears: . However close to 1 both are, the result stays below 1, and if either is exactly 1 the result is exactly 1. Speeds near light’s don’t pile up; the denominator grows to stop them.
18. Special relativity · Speeds add in a way that never passes c · ProblemA ship moving at relative to Earth launches a probe at relative to the ship. Find the probe’s speed relative to Earth, as a fraction of , if it is launched straight forward, and if it is launched straight backward.Forward 8/9 ≈ 0.888889 c; Backward 4/13 ≈ 0.307692 c
Newton would say and . The forward answer is held below , and even the backward one comes out a little faster than .
18. Special relativity · Spacetime diagrams draw time and space together · QuizTwo events are 1 s apart in time and 2 light-seconds apart in space. Which is true?B. Their interval is spacelike: no signal can link them, and frames even disagree on their order: spacelike. Linking them would take a signal at twice light’s speed. For such pairs some frames see A first, some B, some both at once, which is fine because neither can affect the other. Cause and effect are only ever timelike or lightlike, and every frame agrees on their order.
18. Special relativity · Mass is a form of energy · Code challengeWrite kineticEnergy(mass, speed): the relativistic kinetic energy in joules for a mass in kg and a speed in m/s.One solution:
Solution
1#include<cmath>23constdouble c =299792458; // m/s45doublekineticEnergy(double mass,double speed){6double beta = speed / c;7double gamma =1/ std::sqrt(1- beta * beta);8return(gamma -1)* mass * c * c;9}
. At 0.8c, , so , while would give , less than half as much. Don’t use alone: that is the total energy, including the rest energy.
18. Special relativity · A glimpse of general relativity: gravity is curved spacetime · QuizGPS satellite clocks move fast (special relativity: about 7 μs a day slow) and sit higher in Earth’s gravity (general relativity: about 45 μs a day fast). What happens if engineers ignore both?B. The clocks gain about 38 μs a day, and positions drift by roughly 10 km a dayThe two effects partly cancel: μs a day fast. GPS finds you by timing radio signals, and light goes about 300 m in a microsecond, so 38 μs is over 11 km of error per day. The satellites’ clocks are deliberately set to tick slow before launch to make up for it.
18. Special relativity · Practice problems · ProblemIn Earth’s frame, event B happens after event A and light-seconds away from it. Find the spacetime interval between them, in light-seconds, the time shown by a clock carried at a steady speed from A to B, and that speed as a fraction of . 8 light-seconds; Time on the carried clock 8 s; Speed 0.6 c
It is timelike, so a clock can go from A to B, and it reads the proper time s.
Check with time dilation: at , , and s.
18. Special relativity · Practice problems · ProblemA proton () moves at . Using and , find , the proton’s rest energy in MeV, and its kinetic energy in MeV.1/sqrt(0.19) ≈ 2.29416; Rest energy 938.6 MeV; Kinetic energy 1214.7 MeV
Its kinetic energy is more than its rest energy. Newton’s MeV would be far too low.
18. Special relativity · Practice problems · ProblemA city uses electrical power at an average of for a year (). How much energy is that, and how much mass, in grams, would have to be turned entirely into energy to supply it? Use .Energy 31600000000000000 J; Mass 3.16e16/9e16*1000 ≈ 351.111 g
A year of a city’s electricity from a third of a kilogram. Burning fuel turns far less than a millionth of its mass into energy, which is why a coal power station of that size burns millions of tonnes a year.
19. Quantum physics · Hot things glow, and classical physics got it wrong · QuizA red star has a surface of 3000 K and a blue one 12 000 K. How do their peak wavelengths compare?A. The blue star’s peak is four times shorterWien’s law: . Four times hotter means a peak at a quarter of the wavelength: 966 nm (infrared) against 242 nm (ultraviolet). Sixteen would come from mixing it up with the of radiated power.
19. Quantum physics · Hot things glow, and classical physics got it wrong · ProblemYour skin is at about 34 °C. At what wavelength, in micrometres, does it glow most brightly? A star’s spectrum peaks at : what is its surface temperature? Use .Skin’s peak 2898/307.15 ≈ 9.43513 μm; Star’s temperature 2.898e-3/290e-9 ≈ 9993.1 K
Deep in the infrared: thermal cameras see people by this glow.
A hot, blue-white star, whose glow peaks in the ultraviolet.
19. Quantum physics · The photoelectric effect: light comes in photons · Code challengeWrite maxKineticEV(wavelengthNm, workFunctionEV): the largest kinetic energy (eV) of electrons knocked out by light of that wavelength, or 0 if none escape. A photon’s energy in eV is 1239.84 divided by its wavelength in nm.One solution:
Solution
1#include<algorithm>23constdouble HC =1239.84; // eV·nm45doublemaxKineticEV(double wavelengthNm,double workFunctionEV){6double photon = HC / wavelengthNm;7return std::max(0.0, photon - workFunctionEV);8}
Photon energy minus work function, but never below zero: a photon that can’t free an electron frees none, and brighter red light only means more photons that each fall short. In C++ it is std::max(0.0, …), not std::max(0, …): both arguments must have the same type, and 0 is an int. The handy constant eV·nm saves converting to joules and metres.
19. Quantum physics · The photoelectric effect: light comes in photons · ProblemUltraviolet light of wavelength shines on tungsten, whose work function is . Use . Find each photon’s energy, the largest kinetic energy of the electrons knocked out, and the longest wavelength that can knock out any electrons at all.Photon energy 1239.84/250 ≈ 4.95936 eV; Largest kinetic energy 1239.84/250 - 4.5 ≈ 0.45936 eV; Longest wavelength 1239.84/4.5 ≈ 275.52 nm
Longer wavelengths, all of visible light included, knock nothing out of tungsten, however bright.
19. Quantum physics · A photon carries energy and momentum · QuizWhy does ultraviolet light cause sunburn while a much brighter red lamp doesn’t?B. Each UV photon has enough energy to break molecular bonds in skin cells; red photons don’t, however many there areDamage happens one photon at a time. A 300 nm UV photon carries about 4.1 eV, enough to break bonds in DNA; a 700 nm red photon carries 1.8 eV, which isn’t. A brighter lamp only sends more of the weak photons. The same idea is the photoelectric effect’s threshold.
19. Quantum physics · A photon carries energy and momentum · ProblemA green laser pointer gives out of light of wavelength . Find the energy of one photon in eV and in units of , and the number of photons it gives out each second. Use and .Photon energy in eV 1239.84/532 ≈ 2.33053 eV; Photon energy in joules 1239.84/532*1.602 ≈ 3.7335 × 10⁻¹⁹ J; Photons each second 5e-3/(1239.84/532*1.602e-19) ≈ 13392247946615962
Over ten million billion photons a second: why light from everyday sources looks smooth and continuous.
19. Quantum physics · Everything is both wave and particle · Fill the blanksFill in the de Broglie wavelength of a neutron.1: mass * speed m. Neutrons that slow have wavelengths like the spacing of atoms, so they diffract off crystals: a way of seeing where atoms sit.
19. Quantum physics · Everything is both wave and particle · ProblemIn 1927 Clinton Davisson and Lester Germer fired electrons, accelerated from rest through , at a nickel crystal and saw them diffract. Find the electrons’ momentum, in units of , and their de Broglie wavelength in nanometres. Use , and .Momentum 3.97 × 10⁻²⁴ kg·m/s; Wavelength 0.1669 nm
Close to the spacing of the atoms in nickel, so the crystal acts as a grating. It was one of the first experiments to show de Broglie was right.
19. Quantum physics · You can’t know position and momentum exactly at once · QuizWhat does the uncertainty principle say?B. A particle doesn’t have an exact position and an exact momentum at the same time; it is a property of waves, not of measuring toolsIt is often explained as the measurement “disturbing” the particle, but the limit is deeper: it follows from the particle being described by a wave, and a wave can’t be both short and of one wavelength. No improved instrument gets round it. It is also why atoms don’t collapse: an electron squeezed onto the nucleus would need enormous momentum.
19. Quantum physics · Atoms have energy levels, and spectra are their fingerprints · Code challengeWrite hydrogenLineNm(upper, lower): the wavelength in nm of the photon given off when hydrogen’s electron drops from level upper to level lower. Use eV and eV·nm.One solution:
Solution
1constdouble HC =1239.84; // eV·nm23doublehydrogenLineNm(int upper,int lower){4auto level =[](int n){return-13.6/(n * n);};5double photon =level(upper)-level(lower);6return HC / photon;7}
The photon’s energy is upper minus lower: eV for 3 → 2, and nm. level is a lambda, a small function made inside another, and -13.6 / (n * n) is a fraction because -13.6 is a double. Taking lower minus upper gives a negative energy and a negative wavelength: the sign check catches it. Astronomers see this red line in glowing hydrogen clouds across the universe.
19. Quantum physics · The wavefunction gives probabilities · QuizA particle in a box is in the state n = 2. Where are you least likely to find it?A. Near the walls and exactly in the middle is zero at : the walls and the middle are nodes. The particle is most likely a quarter of the way in from either side. Yet it still “gets” from one half to the other: it isn’t a small ball moving about, so the classical question of how it crosses the node doesn’t apply.
19. Quantum physics · Particles tunnel through walls · QuizAn electron tunnels through a 0.5 nm barrier with a chance of about 0.006. Roughly what is its chance through 1.0 nm of the same barrier?C. About 0.00004Doubling the width squares the exponential: . Halving (0.003) is what you’d guess if it fell in proportion. Tunnelling’s steep dependence on width is what makes an STM sensitive to single atoms.
19. Quantum physics · The nucleus, and radioactive decay · Code challengeWrite remaining(n0, halfLife, t): how much is left after time t. Then age(fraction, halfLife): how long it takes to fall to that fraction. Both use the same time unit as halfLife.One solution:
Solution
1#include<cmath>23doubleremaining(double n0,double halfLife,double t){4return n0 * std::pow(0.5, t / halfLife);5}67doubleage(double fraction,double halfLife){8 // fraction = std::pow(0.5, t / halfLife), so take logarithms9return halfLife * std::log(fraction)/ std::log(0.5);10}
Decay is a power of one half, and undoing a power needs a logarithm: . Any base of logarithm works, as long as you use the same on top and bottom. A straight-line guess (10% left means 90% of the way to zero) is the usual mistake: decay never reaches zero; it keeps halving.
19. Quantum physics · Practice problems · ProblemHydrogen’s electron drops from level to . Using and , find the photon’s energy and its wavelength. How much energy would free the electron completely from ?Photon energy 2.856 eV; Wavelength 1239.84/2.856 ≈ 434.118 nm; Energy to free it from n = 2 3.4 eV
A violet line, one of hydrogen’s four visible lines. Freeing the electron from takes eV.
19. Quantum physics · Practice problems · ProblemA proton is confined inside a nucleus, so the uncertainty in its position is about . Find the smallest possible uncertainty in its momentum, in units of , and in its speed. Use and .Momentum 5.275 × 10⁻²¹ kg·m/s; Speed 5.275e-21/1.673e-27 ≈ 3153020 m/s
About 1% of the speed of light: protons and neutrons in a nucleus can’t sit still, and move fast.
19. Quantum physics · Practice problems · ProblemA wooden bowl has 30% of the carbon-14 that living wood has. Carbon-14’s half-life is years. How many half-lives have passed, and how old is the bowl?Half-lives ln(0.3)/ln(0.5) ≈ 1.73697; Age 5730*ln(0.3)/ln(0.5) ≈ 9952.81 years
A sense check: 50% left is one half-life and 25% is two, so 30% lands in between, nearer two.
19. Quantum physics · Practice problems · ProblemAn electron is trapped in a box wide. Use with and , and , . Find its lowest energy in eV, and the wavelength of the photon it gives off when it drops from to .Lowest energy 1.5043 eV; Photon wavelength 274.73 nm
Ultraviolet. A box the size of a small molecule gives energies of a few eV, the same scale as chemistry, and that is no coincidence.
20. Physics like an expert · How an expert attacks a problem · Put in orderPut the steps of solving a physics problem in order.1. Draw a sketch and write down what is known and what is wanted 2. Choose the principle: Newton’s laws, energy, momentum, a field law 3. Solve with symbols, to get a formula for the unknown 4. Check the formula’s units and its limiting cases 5. Put in the numbers and judge whether the size is sensibleSymbols first: a formula shows how the answer depends on each quantity, can be checked by units and limits, and carries fewer rounding errors. Numbers go in last, and the final sanity check (“a person can’t run at 300 m/s”) is the expert’s habit that beginners skip.
20. Physics like an expert · How an expert attacks a problem · QuizA student finds that a block sliding from rest down a frictionless ramp of height at angle reaches the bottom at . What shows it is wrong without redoing the work?B. Energy conservation says the speed depends only on , not on the angle; and at θ → 0 a very long, gentle ramp would give zero speedThe units are fine (sin θ has none), so a units check passes. But gives for any frictionless ramp, and the limit of a nearly flat but very long ramp still drops by . Limits catch what units miss.
20. Physics like an expert · Simulating motion: not all steps are equal · ProblemYou simulate a spring with by Euler’s method with a step . Each step multiplies the energy by . By what factor has the energy grown after of simulated time? What is the largest step, in milliseconds, that keeps the growth over those under 1%?Growth factor (1 + 4e-4)^1000 ≈ 1.49171; Largest step 0.2488 ms
Ten seconds is steps, each multiplying the energy by :
Almost 50% more energy than the spring started with. For the second part, steps must give a factor under 1.01:
Forty times smaller steps, and forty times the work, just to hold Euler’s error to 1% over 10 s. Velocity Verlet keeps the energy within about 0.01% with the original step.
20. Physics like an expert · Write a Verlet stepper · Code challengeWrite verletStep(x, v, dt, accel): one velocity Verlet step, returning the new State, its x and v. accel(x) gives the acceleration at position x.One solution:
Solution
1#include<functional>23structState{4double x; // position5double v; // velocity6};78StateverletStep(double x,double v,double dt,9 std::function<double(double)> accel){10double a =accel(x);11double newX = x + v * dt +0.5* a * dt * dt;12double newV = v +0.5*(a +accel(newX))* dt;13return{newX, newV};14}
Move the position with the current velocity and acceleration, work out the acceleration at the new position, and update the velocity with the average of the two. That averaging makes the step time-reversible and symplectic. Plain Euler, the starter, ends the second test with an energy around : astronomically wrong.
20. Physics like an expert · Runge–Kutta: sample the slope four times · Code challengeWrite rk4Step(f, t, y, h): one RK4 step of size h for dy/dt = f(t, y), returning the new y. A Slope is any function of t and y.One solution:
Solution
1#include<functional>23usingSlope= std::function<double(doublet,doubley)>;45doublerk4Step(Slope f,double t,double y,double h){6double k1 =f(t, y);7double k2 =f(t + h /2, y + h /2* k1);8double k3 =f(t + h /2, y + h /2* k2);9double k4 =f(t + h, y + h * k3);10return y + h /6*(k1 +2* k2 +2* k3 + k4);11}
Each is a slope; and peek at the midpoint using the slopes before them, and the final average weights the middle twice. With just 10 steps it reaches to about six digits, where Euler gets 2.594. The usual slip is evaluating and at instead of , which the second test catches. using Slope = …; only gives the long std::function type a short name; the tests pass lambdas as f.
20. Physics like an expert · The Lagrangian: physics from one function · QuizA mass on a spring of stiffness has . What equation of motion does the Euler–Lagrange equation give?B. , whose time derivative is ; . So , that is : Hooke’s law and Newton’s second law, recovered. Losing the minus sign of in gives the first option, an exploding spring.
20. Physics like an expert · Noether: every symmetry gives a conservation law · QuizA puck slides without friction over a vast surface whose height changes along x but not along y. Which component of the puck’s momentum must be conserved?B. The y componentSliding the whole setup along y changes nothing, so by Noether the y momentum is conserved. Along x the height, and so the potential energy, changes, which means forces act along x and its momentum changes. Symmetry tells you what is conserved before you solve anything.
20. Physics like an expert · Chaos: simple rules, unpredictable motion · QuizA chaotic system’s gap grows by a factor of 10 every 2 s. You measure its start 1000 times more precisely. How much longer can you predict it?B. About 6 s longerExponential growth turns precision into time only logarithmically: a factor of 1000 is , three factors of ten, at 2 s each: 6 s more. That is the practical meaning of chaos: better measurements help, but very slowly.
20. Physics like an expert · Chaos: simple rules, unpredictable motion · ProblemIn a weather model, small errors grow as and double every days. Find the Lyapunov exponent , per day. An error starts at 0.1% of the size that makes a forecast useless: after how many days is the forecast useless?ln(2)/2 ≈ 0.346574 per day; Time 2*ln(1000)/ln(2) ≈ 19.9316 days
About ten doublings (), so about 20 days. Starting ten times more precisely adds only days.
20. Physics like an expert · The Standard Model: what everything is made of · QuizA proton is made of three quarks and has charge +1. Which three?B. up, up, down. A neutron is up, down, down: . Beta decay (module 19) is one down quark turning into an up, through the weak force, giving off a W boson that becomes an electron and an antineutrino.
20. Physics like an expert · What physics doesn’t know yet · QuizWhat is the main evidence that dark matter exists?B. Its gravity: galaxies’ rotation, clusters’ motion and the bending of light need more mass than we can seeDark matter has so far been detected only through its gravity, in many independent ways that agree. Cold gas and dust do exist, but they absorb and emit light at other wavelengths, and measured amounts fall far short. Experiments to catch a dark matter particle directly are running, so far without a confirmed signal.
20. Physics like an expert · Mastery questions: everything at once · QuizWhich combination of (m/s²) and a length (m) has the units of a speed?B. has units m²/s², and its square root m/s. is a time (a pendulum’s period, up to ), and is a rate squared. Water waves in a shallow sea really travel at : dimensional analysis can find formulas, not just check them.
20. Physics like an expert · Mastery questions: everything at once · QuizAn electron and a proton are both accelerated from rest through 1000 V. Which has the shorter de Broglie wavelength?B. The proton: both gain 1000 eV, but is larger for the heavier oneSame charge size, same voltage, so the same kinetic energy V (module 14). Momentum is , about 43 times bigger for the proton (), and is 43 times shorter (module 19). Being faster doesn’t matter; momentum does.
20. Physics like an expert · Mastery questions: everything at once · QuizYou simulate a capacitor discharging, , with Euler’s method and a step of . What does the simulation do?C. Flips sign each step and grows: is multiplied by −2 each time. The simulation explodes while the real voltage quietly dies away. Euler is only stable for this equation when , and only accurate when : always compare the step size with the system’s fastest time scale (module 15).
20. Physics like an expert · Mastery questions: everything at once · QuizA satellite in a circular orbit fires its engine forward along its motion, twice (once to climb, once to round off the orbit), and ends in a higher circular orbit. How does its new speed compare with the old?B. SlowerA circular orbit has (module 9): a higher orbit is slower. The burn adds energy, which goes into potential energy as it climbs, and more than the extra kinetic energy is used up on the way. Spacecraft chasing one ahead in the same orbit first slow down, dropping lower and faster.
20. Physics like an expert · Practice problems: motion and energy · ProblemA skier starts from rest and slides down a frictionless slope, dropping vertically to a ramp that launches her horizontally. The ramp’s lip is above flat ground. Take and ignore air resistance. How fast does she leave the ramp, how long is she in the air, and how far from the lip, horizontally, does she land?Launch speed sqrt(2*9.8*45) ≈ 29.6985 m/s; Time in the air sqrt(40/9.8) ≈ 2.02031 s; Horizontal distance 60 m
Launched horizontally, she starts with no vertical speed and falls 20 m:
In symbols, m exactly: cancels, so the jump would be just as long on the Moon (though slower).
20. Physics like an expert · Practice problems: motion and energy · ProblemA block slides at on a frictionless floor and hits a block at rest, which is attached to a horizontal spring of stiffness whose other end is fixed to a wall. The blocks stick together. Find their speed just after the collision, the spring’s greatest compression, and the period of the oscillation that follows.Speed after the collision 2 m/s; Greatest compression 0.2 m; Period 2*pi*sqrt(3/300) ≈ 0.628319 s
The collision kept momentum but lost a third of the kinetic energy, 9 J down to 6 J. Using the 9 J would give a compression of 0.24 m, too much.
20. Physics like an expert · Practice problems: motion and energy · ProblemA space station orbits Earth in a circle above the surface. Earth’s mass is , its radius , and . Find the station’s orbital speed, and its period in minutes.Speed 7672 m/s; Period 92.42 minutes
The radius is km m.
About 16 orbits a day. Using 400 km as the radius, the usual slip, would give an impossible 31.6 km/s.
20. Physics like an expert · Practice problems: heat, fields and light · ProblemA kettle on heats of water from 20 °C to 100 °C in minutes. Assume all the electrical energy goes into the water, with . Find the kettle’s power, the current it draws, and the resistance of its element.Power 1.2*4186*80/240 ≈ 1674.4 W; Current 7.28 A; Resistance 230^2/(1.2*4186*80/240) ≈ 31.5934 Ω
In practice some heat warms the kettle and the air, so a real kettle that does this has a slightly more powerful element.
20. Physics like an expert · Practice problems: heat, fields and light · ProblemProtons start at rest, are accelerated through , then enter a uniform magnetic field at right angles to it. Use and . Find their speed, and the radius of the circle they follow in centimetres.Speed sqrt(2*1.602e-19*2e4/1.673e-27) ≈ 1957100 m/s; Radius 4.088 cm
Under 1% of the speed of light, so Newton’s kinetic energy is fine (module 18). The magnetic field changes the direction, never the speed.
20. Physics like an expert · Practice problems: heat, fields and light · ProblemSunlight near Earth carries . A solar sail of area , facing the Sun, absorbs all the light that falls on it, and the craft’s total mass is . Use and ignore gravity. Find the force of the light in millinewtons, the craft’s acceleration, and the speed it gains in 30 days, starting from rest.Force 1360*1000/3e8*1000 ≈ 4.53333 mN; Acceleration 1360*1000/3e8/10 ≈ 0.000453333 m/s²; Speed after 30 days 1360*1000/3e8/10*30*86400 ≈ 1175.04 m/s
The sail absorbs W. Momentum arrives at each second, and that rate is the force:
A push about the weight of half a gram, yet after a month the craft is going over 1 km/s faster, with no fuel. A sail that reflects the light gets twice the push.