Podcast
Simulating Gravity with Decomposition and Variables
Students are using marbles and rubber balls of different sizes to simulate how gravity works on various planets and moons. They break down the concept of gravity into smaller parts by focusing on one variable: the mass of the planet, represented by the size of the rubber ball. As they roll marbles toward each planet, they observe how changing the mass affects how fast the marbles move, simulating stronger or weaker gravitational pull.
The teacher guides students to think like computer scientists, explaining how adjusting one variable in their physical model is similar to modifying a variable in a computer program. Afterward, students discuss how the gravitational force always pulls toward the planet’s center, connecting this concept to both physics and computational thinking.
Objective:
Students will model how gravity behaves on different planets and moons by breaking down gravitational force into manageable components and using variables to simulate how gravity changes based on planetary mass.
Materials Needed:
Various sizes of rubber balls (representing planets and moons)
marbles or small balls (representing objects)
Rulers
charts to track observations
Steps:
Introduction:
Students learn that gravitational force is directed toward the center of any celestial body, pulling objects "down".
The teacher introduces the concept of decomposition in both science and computer science, explaining that students will break the idea of gravity into smaller parts by simulating different planetary masses.
The activity will also introduce the concept of variables—how the mass of the planet affects the strength of gravity.
Activity:
In groups, students simulate gravity by rolling marbles down inclined ramps aimed at various-sized rubber balls.
Each rubber ball represents a different planet or moon.
Students discuss how "gravity" changes based on the mass (size) of the rubber ball and record observations about how fast or slow the marble rolls toward the planet, simulating stronger or weaker gravitational pull.
Each group uses variables to describe how gravity acts differently on the Earth, Moon, or larger planets like Jupiter.
They decompose the problem by adjusting only one variable—the mass of the planet—while keeping the setup constant, just like changing one variable in a computer program affects its outcome.
Discussion:
Students reflect on how changing the size of the planet affects gravitational force, supporting the argument that gravity always pulls toward the center of a celestial body.
They relate this concept to computer science, where changing one variable (mass) alters the program's output (gravitational strength).
Equity and Access:
Provide ramps with pre-marked measurements for easier data collection. Pair students with varying abilities to foster peer collaboration.
Real-World Connection:
Relate the activity to space exploration, where scientists must account for the gravitational force of different planets when planning missions.
CS Practice(s):
Recognizing and Defining Computational Problems: Students adjust the mass variable, just like modifying a variable in a program to achieve a specific outcome.
Standard(s):
CA NGSS 5-PS2-1
CA CS 3-5.AP.13
Modifying Gravity in a Moon Simulation
Students work in pairs to modify a pre-made Scratch simulation of Earth’s gravity. Starting with an existing program, they explore how the gravitational force is coded and adjust the variable controlling gravity to simulate different planetary environments, like the Moon or Jupiter. As students tweak the program, they experiment with how objects fall faster or slower based on the mass of the celestial body.
The teacher emphasizes how they are using decomposition by modifying specific parts of the code—changing only the gravitational variable while keeping other parts of the simulation the same. The students share their simulations with peers, demonstrating how gravity affects object movement differently across various planets.
Objective:
Students will modify an existing program in Scratch or another coding platform to simulate the effects of gravity on different celestial bodies, adjusting the strength of gravitational force based on the planet or moon’s size.
Materials Needed:
Computers or tablets
pre-made coding platform gravity simulation templates
Steps:
Introduction:
Students explore the concept of gravity, learning that it pulls objects toward the center of the Earth and other celestial bodies.
The teacher explains that students will remix a pre-existing coding program simulating gravity on Earth to adjust the gravitational strength for other planets or moons.
Activity:
Students begin by exploring a pre-coded program that simulates how objects fall under Earth’s gravity.
They examine the code’s variables and learn how the gravitational force is represented.
Students then modify the program to simulate gravity on other planets and moons by adjusting the gravitational force variable based on the mass of each body.
They add predefined functions to represent the Moon, Mars, and Jupiter, tweaking the strength of gravity for each scenario.
Once complete, students test their programs to see how objects move differently under varying gravitational forces.
Presentation:
Students present their modified simulations to peers, explaining how they changed the gravity variable to represent different planets and how the movement of objects varied depending on the celestial body’s mass.
Real-World Connection:
Discuss how simulations like these are used by scientists to plan space missions, accounting for the gravitational forces astronauts will experience on different planets.
CS Practice(s):
Creating Computational Artifacts: Students modify existing code to create new simulations of gravity on different planets.
Equity and Access: Provide pre-built templates with simplified gravity variables for students needing extra support. Pair students with different coding abilities for peer collaboration.
Standard(s):
CA NGSS 5-PS2-1
CA CS 3-5.AP.14
Click the button above to unlock our Lesson Idea Design Tools! Our custom chatbots are ready to help you navigate content standards, integrate both UDL Concepts and UN Sustainable Goals, and design lesson ideas that align with content standards and incorporate computer science concepts.
If you are using a free ChatGPT account, there will be daily limits on usage. This AI tool is meant to be a guide. You are the professional. Be sure to vet all responses.