Posts Collisions Lab
Post
Cancel

Collisions Lab

The collision lab will help students understand how preservation of momentum works in collisions of various elasticity. While the lab starts with four separate collisions, it is encouraged for students to try other configurations.

This lab was adapted from TJHSST’s collision lab.

Setup

Load the collisionlab.lua file using the “Load World” button in the top menu: load world

You should see something like this: collision lab default

The scene is paused on load in. To play the scene, press the pause button at the top or press space. collision lab played

Reset by reloading the scene with the “Load World” button again. Each row of shapes has two masses. The mass on the left is Mass A. The mass on the right is Mass B. When the simulation runs, Mass A wil fly towards Mass B to demonstrate the physics of collisions.

This table contains the initial properties of each shape on each row:

RowMass A VelocityMass A ElasticityMass A MassMass B VelocityMass B ElasticityMass B Mass
151.01.00.01.01.0
251.01.00.01.05.0
350.01.00.00.01.0
450.01.00.00.05.0

The Lua code is very understandable even if you don’t know how to code. It’s encouraged to change some values and look at the results.


Collecting Data:

For each of the four rows:

  1. Reload the scene.
  2. Without unpausing, right click on the left mass in the row and add an x velocity graph: add x vel graph
  3. Also add an x velocity graph for the green mass.
  4. It might be helpful to move the graph using the drag button in the bottom right (left click to move, right click to resize): move graph
  5. Unpause the scene (graph jittering should be fixed soon) unpaused
  6. Save the graphs to a spreadsheet using the “Save Graphs” button at the top. By default, it will save to “graphs.csv” in the folder that you downloaded the program into. Make sure to pause and save the graph while the time of collision is still shown, otherwise it won’t get exported. Make sure to rename each CSV file so you remember what row it was on.

Data Analysis:

After exporting each row’s graphs, create a new google sheets spreadsheet by opening sheets.new in your browser. To import each csv file, navigate to File>Import>Upload menu and select the file. On the Import File menu, select “Insert new sheet(s)”.

import sheet

Click the “Import Data” button.

You should have four sheets as shown:

import sheet

On each sheet, make a line graph of the data. You should be able to clearly see the collision and identify the before and after velocities: graph sheet

You should be able to make a data table like so:

RowDescription\(m_A\)(kg)\(mB\)(kg)\(V_A\)(m/s)\((V_A')\)(m/s)\(V_B\)(m/s)\(V_B'\)(m/s)\(P\)(kgm/s)\(P'\)(kgm/s)\(\Delta P\pm\)
1Purely Elastic \(m_A = m_B\)115005550

To complete the lab, fill out the remaining rows, analyze the data, and write a conclusion explaining what the lab demonstrates. Be sure to write about conservation of momentum and the effect of varying elasticity

This post is licensed under CC BY 4.0 by the author.