University of Wales Trinity Saint David
ACCB5017 - Games Architecture and Mechanics

Gravitation

Overview

This worksheet looks at gravity, the force that holds you to the ground and keeps the Moon in orbit around the Earth. It starts from Newton's law of universal gravitation and works down to everyday falling objects, then back up to satellites.

Expect some very large and very small numbers written in scientific notation. A short refresher is included in the first task.

Learning Objectives

By the end of this lab you will be able to:

Concept

Every mass in the universe pulls on every other mass. Newton realised that the force making an apple fall and the force keeping the Moon in orbit are the same thing. The strength of that pull grows with the masses involved and falls off quickly with distance. Doubling the distance between two objects cuts the force to a quarter. This is called an inverse square law.

Near the surface of the Earth, the distance to the Earth's centre barely changes, so the pull on each kilogram is almost constant. That value is the gravitational field strength, gg, about 9.81 newtons per kilogram. Because the force on an object is proportional to its mass, and its acceleration is that force divided by the same mass, the mass cancels out. A hammer and a feather fall together on the Moon, where there is no air to slow the feather.

An orbit is what happens when something falls sideways fast enough that the ground curves away beneath it as quickly as it drops. A satellite is falling the whole time. It just keeps missing the Earth.

Tasks

Task 1 - The universal law

Hook

If every mass attracts every other mass, then you are pulling on the person sitting next to you right now, and they are pulling on you. Why do you not slowly drift together?

Scientific notation refresher

Gravity involves numbers that are awkward to write out. Scientific notation writes a number as a value between 1 and 10 multiplied by a power of ten. The mass of the Earth, 5 972 000 000 000 000 000 000 000 kg, becomes 5.972×1024 kg5.972 \times 10^{24}\text{ kg}. A very small number such as 0.000 000 33 becomes 3.3×10−73.3 \times 10^{-7}. To multiply, multiply the front numbers and add the powers. Calculators usually show the power after a letter E, so 3.3×10−73.3 \times 10^{-7} appears as 3.3E-7.

Intuition

The gravitational force between two objects depends on three things. More mass on either side means a stronger pull. More distance between them means a weaker pull, and it weakens fast. The force is shared, so both objects feel exactly the same size of pull toward each other, as Newton's third law requires.

Drag body B away from body A below and watch the force fall along the curve. Notice that the two red arrows always stay the same length as each other, even when the masses are very different.

Formalise

Newton's law of universal gravitation, where rr is the distance between the centres of the two masses and GG is the gravitational constant.

F=Gm1m2r2G=6.674×10−11 N m2/kg2F = G\frac{m_1 m_2}{r^2} \qquad G = 6.674 \times 10^{-11}\ \text{N m}^2/\text{kg}^2

Worked example

Two 70 kg people stand 1 m apart. How strongly do they attract each other?

  1. Substitute. F=6.674×10−11×70×7012F = 6.674 \times 10^{-11} \times \dfrac{70 \times 70}{1^2}.
  2. Calculate. F=6.674×10−11×4900=3.3×10−7 NF = 6.674 \times 10^{-11} \times 4900 = 3.3 \times 10^{-7}\text{ N}.

That is about the weight of a few grains of dust, far smaller than the friction between your shoes and the floor. Gravity is only noticeable when at least one of the masses is enormous, like a planet.

Your turn

The mass of one object is doubled. What happens to the gravitational force?

F is proportional to each mass, so doubling one mass doubles the force.

The distance between two objects is doubled. What happens to the force?

F depends on 1/r21/r^2. Doubling r divides the force by 22=42^2 = 4.

The distance between two objects is halved. What happens to the force?

Halving r multiplies the force by 22=42^2 = 4.

Both masses are doubled and the distance stays the same. What happens to the force?

Each doubled mass doubles the force, so together they multiply it by 4.

Write 0.000 52 in scientific notation, using the form 5.2e-4 or 5.2x10^-4:

Two 1000 kg cars are parked 5 m apart. The gravitational force between them is N. Give your answer in the form 2.7e-6.

Task 2 - Where does g come from?

Hook

Everyone learns that g=9.81 N/kgg = 9.81\text{ N/kg} on Earth. Where does that number actually come from, and what would it be on another world?

Intuition

An object of mass mm on the surface of a planet of mass MM and radius RR is pulled by the universal law, with the distance equal to the planet's radius. The pull on each kilogram, the force divided by mm, is the field strength gg. The object's own mass cancels out, so gg depends only on the planet.

Formalise

g=Fm=GMR2g = \frac{F}{m} = \frac{GM}{R^2}

Worked example

The Earth has mass M=5.972×1024 kgM = 5.972 \times 10^{24}\text{ kg} and radius R=6.371×106 mR = 6.371 \times 10^{6}\text{ m}.

  1. Top. GM=6.674×10−11×5.972×1024=3.986×1014GM = 6.674 \times 10^{-11} \times 5.972 \times 10^{24} = 3.986 \times 10^{14}.
  2. Bottom. R2=(6.371×106)2=4.059×1013R^2 = (6.371 \times 10^6)^2 = 4.059 \times 10^{13}.
  3. Divide. g=3.986×1014/4.059×1013=9.82 N/kgg = 3.986 \times 10^{14} / 4.059 \times 10^{13} = 9.82\text{ N/kg}.

The same calculation for the Moon gives about 1.62 N/kg, roughly one sixth of Earth's value. A 70 kg astronaut weighs 687 N on Earth and only 113 N on the Moon.

Your turn

Mars has a mass of 6.42×1023 kg6.42 \times 10^{23}\text{ kg} and a radius of 3.39×106 m3.39 \times 10^{6}\text{ m}.

The gravitational field strength on the surface of Mars is N/kg, to 3 significant figures.

A 70 kg astronaut on Mars has a weight of N, to 3 significant figures.

Their mass on Mars is kg.

A planet has the same mass as Earth but twice its radius. What is g on its surface?

g∝1/R2g \propto 1/R^2, so doubling R divides g by 4, giving about 2.45 N/kg.

Why does a larger object on Earth's surface not have a larger g?

A larger mass feels a larger force, but g is the force per kilogram, so the object's own mass cancels out.

Task 3 - Falling

Hook

Drop a bowling ball and a tennis ball from the same height at the same moment. Which one hits the ground first?

Intuition

The bowling ball is pulled down by a much larger force, but it also has much more mass to accelerate. The two effects cancel exactly, so without air both balls accelerate at gg and land together. Astronauts on Apollo 15 tested this on the Moon with a hammer and a feather.

Air changes things. As an object speeds up, air resistance grows. Eventually it becomes as large as the weight, the net force becomes zero, and the object stops speeding up. It falls at a steady speed called terminal velocity. A heavier object needs a larger air resistance to balance its weight, so it reaches a higher terminal velocity.

Try the diagram with the air off first, then on. Make the two masses very different and watch the speed curves separate.

Formalise

With no air resistance, the only force is the weight.

a=Fm=mgm=ga = \frac{F}{m} = \frac{mg}{m} = g

Worked example

Describe a skydiver's fall using free body diagrams.

  1. Just after jumping. Speed is low, so air resistance is tiny. The net force is nearly the full weight and the acceleration is close to gg.
  2. Speeding up. Air resistance grows with speed. The net force and the acceleration shrink.
  3. Terminal velocity. Air resistance equals weight. Net force is zero, so speed stays constant, often around 55 m/s for a skydiver lying flat.
  4. Parachute opens. Air resistance suddenly becomes much larger than the weight. The net force points upward, so the skydiver slows down until a new, much lower terminal velocity is reached.

Your turn

A hammer and a feather are dropped together on the Moon. What happens?

There is no air on the Moon, so both accelerate at the Moon's g and land together.

A skydiver is falling at terminal velocity. How do the forces compare?

Constant velocity means zero net force, so the two forces balance.

What happens the instant a skydiver opens their parachute?

The net force points up, so the acceleration points up, but the velocity is still downward. They slow down while still falling.

Why does a heavier skydiver have a higher terminal velocity than a lighter one in the same position?

Air resistance grows with speed. A larger weight needs more air resistance to balance it, which only happens at a higher speed.

Explain, using forces, why a sheet of paper falls more slowly than the same sheet scrunched into a ball.

Both have the same weight. The flat sheet has a much larger area pushing through the air, so air resistance becomes large at a low speed and it reaches a low terminal velocity quickly. The ball has a small area, so air resistance stays small, and it accelerates for longer before reaching a much higher terminal velocity.

Task 4 - Orbits

Hook

Newton imagined a cannon on top of an impossibly tall mountain, firing cannonballs horizontally. Each shot is faster than the last. What happens to the cannonballs?

Intuition

A slow cannonball curves down and lands near the mountain. A faster one lands further away, and because the Earth is round, the ground has curved away a little beneath it. At one particular speed, the cannonball falls toward the Earth at exactly the rate the surface curves away. It never lands. That is an orbit.

Fire the cannon below at different speeds. Try below orbital speed, exactly orbital speed, a little above it, and above 1.41 times orbital speed.

Formalise

Moving in a circle needs a force toward the centre. The acceleration toward the centre needed to keep turning in a circle of radius rr at speed vv is v2/rv^2 / r. In orbit, gravity supplies that force. Setting gravity equal to mass times this acceleration gives the orbital speed. The time for one full orbit, the period TT, is the circumference divided by the speed.

GMmr2=mv2r  ⇒  v=GMrT=2πrv\frac{GMm}{r^2} = \frac{mv^2}{r} \;\Rightarrow\; v = \sqrt{\frac{GM}{r}} \qquad T = \frac{2\pi r}{v}

Worked example

The International Space Station orbits about 408 km above the Earth's surface. Find its speed and period.

  1. Orbit radius. Measure from the Earth's centre. r=6.371×106+0.408×106=6.779×106 mr = 6.371 \times 10^6 + 0.408 \times 10^6 = 6.779 \times 10^6\text{ m}.
  2. Speed. v=3.986×1014/6.779×106=7670 m/sv = \sqrt{3.986 \times 10^{14} / 6.779 \times 10^6} = 7670\text{ m/s}, about 7.67 km/s.
  3. Period. T=2π×6.779×106/7670=5550 sT = 2\pi \times 6.779 \times 10^6 / 7670 = 5550\text{ s}, about 92.6 minutes.

The ISS circles the planet about 15 times a day. Notice that the station's own mass cancelled out. Every object at that height orbits at the same speed, whether it is a space station or a spanner.

Your turn

Why do astronauts on the ISS float around inside it?

Gravity at ISS height is still about 8.7 N/kg. The astronauts and the station are in free fall together, so nothing pushes them against the floor.

A heavy satellite and a light satellite orbit at the same height. How do their speeds compare?

v=GM/rv = \sqrt{GM/r} does not depend on the satellite's mass.

In the cannon diagram, what happens at 1.2 times circular orbit speed?

Between circular speed and escape speed the cannonball swings out further on the far side, tracing an ellipse, and returns.

A satellite orbits at r=7.0×106 mr = 7.0 \times 10^6\text{ m} from the Earth's centre. Its orbital speed is m/s, to 3 significant figures.

Its period is about minutes, to the nearest minute.

Task 5 - Practice set and game connection

Game connection

Most platform games fake gravity as a constant downward acceleration added to every object each frame. That is the near-surface case from Task 2, and it works because levels are tiny compared with a planet. Designers often pick a value much larger than 9.81, sometimes three or four times larger, because a strong gravity makes jumps feel quick and responsive. That is a design decision, not a physics mistake.

Space games with planets need the full inverse square law. Each frame, for every ship, they add up the pull from every nearby planet, each using GM/r2GM/r^2 pointed toward that planet's centre. That is exactly what the cannon diagram does every frame.

Practice set

Which statement about gravity is correct?

Gravity is universal. It gets weaker with distance but never reaches zero.

At the ISS's height, g is about 8.7 N/kg. What would a 70 kg astronaut's weight be there?

Weight = mg = 70 × 8.7 ≈ 609 N. They feel weightless because they are in free fall, not because their weight is zero.

A platformer uses g = 40 m/s² instead of 9.81 m/s². What will players notice?

A larger g means a quicker rise and fall. All characters still fall at the same rate regardless of mass.

A moon is twice as far from its planet as a second moon. How does the gravitational field strength of the planet at the far moon compare?

Field strength follows the inverse square law, so twice the distance gives a quarter of the field.

A 2 kg mass on a planet weighs 30 N. The planet's g is N/kg.

Ignoring air resistance, a stone dropped from rest falls for 2 s on Earth. Its speed is m/s.

The Moon orbits Earth at about 3.84e8 m. Its orbital speed is about m/s, to 3 significant figures.

A student says "astronauts on the space station float because there is no gravity up there." Explain why this is wrong.

Gravity at the station's height is still about 90 percent of its value at the surface. The astronauts float because they and the station are both in free fall, orbiting together. They fall at the same rate, so the floor does not push on them and they feel weightless.

Explain why an orbiting satellite does not need an engine to keep moving.

In space there is almost no air resistance, so by Newton's first law nothing slows the satellite down. Gravity continually pulls it toward the planet, which changes its direction into a curve, but it does not need a forward force to keep its speed.