Skip to content

Commit 9250239

Browse files
committed
added in solutions and updated some alt-text
1 parent f2345a2 commit 9250239

36 files changed

Lines changed: 101 additions & 35 deletions
42 KB
Binary file not shown.
40.2 KB
Binary file not shown.
40.4 KB
Binary file not shown.
73.4 KB
Binary file not shown.
88.7 KB
Binary file not shown.
145 KB
Binary file not shown.

Models/airTrackLab.slx

45.2 KB
Binary file not shown.

README.md

Lines changed: 37 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,116 @@
1+
<a id="T_DEF03274"></a>
2+
13
# <span style="color:rgb(213,80,0)">Air Track Collisions Lab</span>
4+
<a id="H_053613DF"></a>
25

36

47
[![View on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/94230-air-track-collisions-lab) or [![Open in MATLAB Online](https://www.mathworks.com/images/responsive/global/open-in-matlab-online.svg)](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=README.mlx)
58

6-
[![MATLAB Versions Tested](https://img.shields.io/endpoint?url=https://mathworks-teaching-resources.github.io/Air-Track-Collisions-Lab/TestedWith.json)](https://MathWorks-Teaching-Resources.github.io/Air-Track-Collisions-Lab)
9+
[![MATLAB Versions Tested](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2FMathWorks-Teaching-Resources%2FAir-Track-Collisions-Lab%2Frelease%2FImages%2FTestedWith.json)](https://MathWorks-Teaching-Resources.github.io/Air-Track-Collisions-Lab)
710

811
**Curriculum Module**
912

10-
_Created with R2021a. Compatible with R2024a and later releases._
13+
_Created with R2026a. Compatible with R2026a and later releases._
1114

1215
# Information
1316

1417
This curriculum module contains interactive [MATLAB® live scripts](https://www.mathworks.com/products/matlab/live-editor.html) that explore one\-dimensional collisions using a virtual air track. The air track can be configured to model elastic or inelastic collisions.
1518

19+
<a id="H_F00D98E4"></a>
1620

1721
## Background
1822

1923
<img src="Images/image_0.png" width="770" alt="image_0.png">
2024

21-
2225
You can use these live scripts as demonstrations in lectures, class activities, or interactive assignments outside class. This module covers elastic and inelastic collisions. It also includes examples of energy conservation. The live scripts contain instructions for conducting experiments using the virtual air track. The instructions include theory, pre\-lab, virtual experiment, and data analysis sections. The law of conservation of momentum is studied by simulating elastic and inelastic collisions. The law of conservation of energy is studied by attaching a hanging mass to one of the carts.
2326

24-
2527
The instructions inside the live scripts will guide you through the exercises and activities. Get started with each live script by running it one section at a time. To stop running the script or a section midway (for example, when an animation is in progress), use the <img src="Images/image_1.png" width="19" alt="image_1.png"> Stop button in the **RUN** section of the **Live Editor** tab in the MATLAB Toolstrip.
2628

2729
## Contact Us
2830

2931
Contact the [MathWorks Educator Content Development Team](mailto:onlineteaching@mathworks.com) if you would like to provide feedback, or if you have a question.
3032

33+
<a id="H_30BC7141"></a>
3134

3235
## Prerequisites
3336

3437
This module assumes knowledge of foundational physics principles and classical mechanics.
3538

39+
<a id="H_330E72C3"></a>
3640

3741
## Getting Started
42+
3843
### Accessing the Module
44+
3945
### **On MATLAB Online:**
4046

4147
Use the [<img src="Images/image_2.png" width="136" alt="image_2.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj) link to download the module. You will be prompted to log in or create a MathWorks account. The project will be loaded, and you will see an app with several navigation options to get you started.
4248

4349
### **On Desktop:**
4450

45-
Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double\-click on [Air\_Track\_Lab.prj](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=README.mlx). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
46-
51+
Download or clone this repository. Open MATLAB, navigate to the folder containing these scripts and double\-click on [Air\_Track\_Lab.prj](<matlab: openProject("Air_Track_Lab.prj")>). It will add the appropriate files to your MATLAB path and open an app that asks you where you would like to start.
4752

48-
Ensure you have all the required products (listed below) installed. If you need to include a product, add it using the Add\-On Explorer. To install an add\-on, go to the **Home** tab and select <img src="Images/image_3.png" width="16" alt="image_3.png"> **Add-Ons** > **Get Add-Ons**.
53+
Ensure you have all the required products ([listed below](#H_E850B4FF)) installed. If you need to include a product, add it using the Add\-On Explorer. To install an add\-on, go to the **Home** tab and select <img src="Images/image_3.png" width="16" alt="image_3.png"> **Add-Ons** > **Get Add-Ons**.
4954

55+
<a id="H_E850B4FF"></a>
5056

5157
## Products
52-
- MATLAB®
53-
- Simulink®
54-
- Simscape™
58+
- MATLAB®
59+
- Simulink®
60+
- Simscape™
61+
62+
<a id="H_E8C62B23"></a>
5563

5664
# Scripts
57-
## [**Theory.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/Theory.mlx)
58-
| | |
65+
66+
## [**Theory**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/Theory.mlx)
67+
|||
5968
| :-- | :-- |
6069
| <img src="Images/image_4.png" width="171" alt="image_4.png"> <br> | **In this script, students will...** <br> $\bullet$ Learn about the theoretical background of collisions. <br> |
61-
| | |
6270

63-
## [**Prelab.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/Prelab.mlx)
64-
| | |
71+
## [**Prelab**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/Prelab.mlx)
72+
|||
6573
| :-- | :-- |
6674
| <img src="Images/image_5.png" width="171" alt="image_5.png"> <br> | **In this script, students will...** <br> $\bullet$ Learn about the virtual lab setup. <br> $\bullet$ Perform introductory calculations. <br> |
67-
| | |
6875

69-
## [**VirtualLab.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/VirtualLab.mlx)
70-
| | |
76+
## [**VirtualLab**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/VirtualLab.mlx)
77+
|||
7178
| :-- | :-- |
7279
| <img src="Images/image_6.png" width="171" alt="image_6.png"> <br> | **In this script, students will...** <br> $\bullet$ Run simulations with the virtual lab. <br> |
73-
| | |
7480

75-
## [**ElasticCollisions.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/ElasticCollisions.mlx)
76-
| | |
81+
## [**ElasticCollisions**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/ElasticCollisions.mlx)
82+
|||
7783
| :-- | :-- |
7884
| <img src="Images/image_7.png" width="171" alt="image_7.png"> <br> | **In this script, students will...** <br> $\bullet$ Conduct experiment with elastic collision. <br> $\bullet$ Perform measurements. <br> $\bullet$ Calculate velocities before and after collision. <br> |
79-
| | |
8085

81-
## [**InelasticCollisions.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/InelasticCollisions.mlx)
82-
| | |
86+
## [**InelasticCollisions**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/InelasticCollisions.mlx)
87+
|||
8388
| :-- | :-- |
8489
| <img src="Images/image_8.png" width="171" alt="image_8.png"> <br> | **In this script, students will...** <br> $\bullet$ Conduct experiment with inelastic collision. <br> $\bullet$ Perform measurements. <br> $\bullet$ Calculate velocities before and after collision. <br> |
85-
| | |
8690

87-
## [**EnergyConservation.mlx**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/EnergyConservation.mlx)
88-
| | |
91+
## [**EnergyConservation**](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Air-Track-Collisions-Lab&project=Air_Track_Lab.prj&file=Scripts/EnergyConservation.mlx)
92+
|||
8993
| :-- | :-- |
9094
| <img src="Images/image_9.png" width="171" alt="image_9.png"> <br> | **In this script, students will...** <br> $\bullet$ Compute momentum and energy from experimental observations. <br> $\bullet$ Assess conservation of momentum. <br> $\bullet$ Assess conservation of energy. <br> |
91-
| | |
9295

9396
# Related Courseware Modules
9497

98+
<a id="H_868F5748"></a>
99+
95100
## [Virtual Measurement of the Electron to Mass ratio](https://www.mathworks.com/matlabcentral/fileexchange/94540-virtual-measurement-of-e-m-lab)
96-
| | |
101+
|||
97102
| :-- | :-- |
98103
| <img src="Images/image_10.png" width="171" alt="image_10.png"> <br> | **Available on:** <br> [<img src="Images/image_11.png" width="91" alt="image_11.png">](https://www.mathworks.com/matlabcentral/fileexchange/94540-virtual-measurement-of-e-m-lab) <br> [<img src="Images/image_12.png" width="136" alt="image_12.png">](https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Virtual-Measurement-of-the-Electron-Charge-To-Mass-Ratio-Lab&file=emLab.mlx) <br> [GitHub](https://github.com/MathWorks-Teaching-Resources/Virtual-Measurement-of-the-Electron-Charge-To-Mass-Ratio-Lab) <br> |
99-
| | |
100-
101104

102105
Or feel free to explore our other [modular courseware content](https://www.mathworks.com/matlabcentral/fileexchange/?q=tag%3A%22courseware+module%22&sort=downloads_desc_30d).
103106

104107
# Educator Resources
105-
- [Educator Page](https://www.mathworks.com/academia/educators.html)
108+
- [Educator Page](https://www.mathworks.com/academia/educators.html)
109+
110+
<a id="H_0FA5DA18"></a>
106111

107112
# Contribute
108113

109114
Looking for more? Find an issue? Have a suggestion? Please contact the [MathWorks Educator Content Development Team](mailto:%20onlineteaching@mathworks.com). If you want to contribute directly to this project, you can find information about how to do so in the [CONTRIBUTING.md](https://github.com/MathWorks-Teaching-Resources/Air-Track-Collisions-Lab/blob/release/CONTRIBUTING.md) page on GitHub.
110115

111-
112116
*©* Copyright 2025 The MathWorks™, Inc
113-
114-

README.mlx

551 Bytes
Binary file not shown.

Scripts/ElasticCollisions.mlx

-133 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)