GOAL
To develop a model that answers a question
2025-08-18_v1.0
Algorithms & Machine Learning
Applied Machine Learning with Catapults
Breakout Development Team
2
GIGI BRUSCO
College: University of Notre Dame
Major: Computer Science / Engineering
JAMES VENDITTO
College: University of Notre Dame
Major: Electrical Engineering
JOANNA CAUDLE
College: Georgia Institute of Technology
Major: Mechanical Engineering
Industry Experience: Bechtel Power Corporation
3
ANSWER ME!
Machine learning is like the human brain because…
Type your answer here
Watch Me
Experiment with this simple machine learning by clicking here.
Experiment and Reflect
Reflect: Can you think of 3 examples of machine learning in your everyday life?
ANSWER ME
The Machine Learning algorithm creates a mathematical model that can answer questions like “Is that a dog or a cat?”, and “What number is that?”.
The mathematical model is created using data and becomes more accurate as it collects more data.
How Does the Computer Do That?
6
The Essential Question
How can I predict the settings on a catapult needed to hit a specific target?
In the rest of this lesson, you will create a mathematical model of a simple machine (the catapult).
You will do this by building a catapult model and collecting data in order to answer the question:
7
Catapults are Found in:
Although they are all the same thing with different designs,
they were all made with the same process:
ANCIENT WEAPONS
GAMES
TOYS
THE ENGINEERING DESIGN PROCESS
8
Catapult Terms
LEVER
A simple machine used to easily lift or move objects
FULCRUM
The support that a lever rests on and pivots about
PROJECTILE (WEIGHT/PAYLOAD)
The object that a catapult launches
ARM (LEVER)
The lever that a catapult uses to launch a projectile
STRUCTURE
Includes the BASE, FRAME, and STOP
POTENTIAL ENERGY
Energy that is stored to be used later
KINETIC ENERGY
Energy of a moving object
BASE
9
Think
Imagine you are a mechanical engineer building a catapult. How would you use the Engineering Design Process to create a catapult that can accurately hit a given distance?
What action would you take with each step of the process?
10
Step One:
Define the Problem
ANSWER ME! What problem or challenge are you trying to solve?
Type your answer here
Type your answer here
Step Two: Research
WHAT MATERIALS WILL YOU NEED? WHAT DESIGN COULD YOU USE?
IDEAS:
Design Constraints
Testing Restrictions
Design & Testing Restrictions
SOME DESIGN IDEAS:
Be creative!
Try to come up with your own design ideas.
TEACHER’S KIT | ||
Materials will be distributed throughout the class. | ||
Item/Link | Quantity | Photo |
1 | | |
1 | | |
1 | |
STUDENT KIT ITEMS | ||
1 kit: 3 students | ||
Item/Link | Quantity | Photo |
1 | | |
5 | | |
5 | | |
Rubber Bands (Size 19) | 10 | |
10 | |
13
Lab Materials
CLASSROOM EXTRAS | ||
Item/Link | Distribution | Photo |
1 for Every Other Lab Group | | |
~2 Sticks per Lab Group | |
14
Step Three:
Design Solution
ANSWER ME! Draw a diagram of your design. Insert photos here.
Insert images here.
15
Step Four:
Build
ANSWER ME! Create your first prototype of your catapult. Insert photos here.
Insert images here.
16
Step Five: Test
You are almost ready to test your catapult!
But first, we need to go through a few concepts:
The next 4 slides will review these ideas.
17
Factor vs. Response
FACTOR: “Cause”
RESPONSE: “Effect”
Answer the Following
INSTRUCTIONS: Drag the items on the right to the correct category. Use the slide prior to help you.
Drag your answers here
FACTOR
Drag your answers here
RESPONSE
CAUSE
EFFECT
INDEPENDENT VARIABLE
DEPENDENT VARIABLE
WHAT YOU CONTROL
THE OUTCOME
19
ANSWER ME!
What do you notice about the data? What do you wonder about it?
Type your answer here
Analyze Data in the Table
Look at the Example Data:
Height�(cm) | Angle Pulled�(degrees) | Distance�(cm) |
10 | 20 | 2 |
10 | 30 | 4 |
10 | 40 | 6 |
10 | 50 | 8 |
10 | 60 | 10 |
10 | 70 | 12 |
10 | 80 | 14 |
10 | 90 | 16 |
20
Look at the
Example Data:
Notice the height does not change.
If you do not have the ability to measure the exact angle, you can use approximations.
For example, “½ way pulled” or “⅓ way pulled”
Height�(cm) | Angle Pulled�(degrees) | Distance�(cm) |
10 | 20 | 2 |
10 | 30 | 4 |
10 | 40 | 6 |
10 | 50 | 8 |
10 | 60 | 10 |
10 | 70 | 12 |
10 | 80 | 14 |
10 | 90 | 16 |
It is important to only change ONE variable at a time.
This way, you can identify which change to your catapult causes which outcome.
21
Step Five: Test
Fill out the chart in order to collect and organize your data.
Height (cm) | Angle Pulled (degrees) | Distance (cm) |
| | |
| | |
| | |
| | |
| | |
22
Step Six: Analyze Data
USE EXCEL IN ORDER TO PUT YOUR DATA INTO A PLOT AND GRAPH.
INSERT;
SCATTER PLOT
HIGHLIGHT COLUMNS
YOUR GRAPH SHOULD LOOK LIKE THIS, ADD CHART ELEMENTS FOR BETTER PRESENTATION
23
ADD A TRENDLINE ON YOUR MODEL
Step Six: Analyze Data
24
Step Six: Analyze Data
Take a screenshot of your final graph and insert it here.
25
Your Catapult is Machine Learning
CATAPULT INPUT
Pull back angle, height, number of rubber bands, etc.
CATAPULT OUTPUT
Distance ball predicted to travel shown by trendline on Excel graph
Student Analyzes:
Step Six: Analyze Data
Answer the following questions with the data you collected.
Write your answer here
According to your model, at what settings will your projectile land 60 cm away from the
base of your catapult?
Write your answer here
What is the max distance your catapult can launch the ball?
27
Reflect on Your Design and Results
ANSWER ME!
Write your answer here
What do you think went well when completing this activity?
Write your answer here
What is something you would do differently if you were to do this again?
Complete the mandatory 5-minute Exit Ticket by clicking here!
28
Optional Extensions:
This section will provide an overview of the extension lab(s) and/or optional activity(s).
Create a Virtual AI Sorter with Google’s Teachable Machine
What you’ll be doing:
Ideal option if you:
Play with a Neural Network Simulator in TensorFlow
What you’ll be doing:
Ideal option if you:
29
Optional Extension Activities
Any text here?
Teachable Machine Sorter
Neural Networks
Teachable Machine Sorter
31
The Essential Question
How can we create a machine that sorts through different recyclable material effectively?
In this extension activity, you will create a sorter using machine learning.
You will do this by building an AI sorter model and collecting data in order to answer the question:
Artificial Intelligence (AI) is used in:
Although they are all the same thing with different designs, they were all made with
the same process:
THE ENGINEERING DESIGN PROCESS
Research on the Problem
HOWEVER, if there was better technology available to sort through this waste, the recycling and composting rate could be increased!
Current Solutions
Design Considerations: Materials
What kind of materials/products can be identified to make recycling more efficient?
36
Think
Imagine you are a team of computer engineers building an AI sorter. How would you use the Engineering Design Process to create a sorter that can accurately and reliably identify a material?
What action would you take with each step of the process?
37
Step Six: Analyze Data
How to use Teachable Machine:
LINK: https://teachablemachine.withgoogle.com
GATHER: Gather and group your example into classes, or categories, that you want the computer to learn.
TRAIN: Train your model, then instantly test it out to see whether it can correctly classify new examples.
Testing: Using Teachable Machine
Create an AI sorter that sorts between one of the following options:
NOTE: Think about the variety of materials you have in your class to use as samples (ex. Plastic→bottle, container, grocery bag)
Testing: Option 1
Create an AI sorter that sorts between at least two materials.
Be creative, and think about what would make recycling more efficient now!
If you need help thinking of materials, look back at slides 33 & 37.
You can also conduct research on what materials are commonly found at landfills/recycling plants and create an AI sorter that identifies materials that concern you most.
Testing: Option 2
41
Testing Efficiency
What is a sample?
A sample is how many examples the machine has been given of a specific category during the “train” portion (material in this lab).
You will then compare the efficiencies of these trials.
Users can hold down the train button instead of clicking it to get a stream of photos (similar to a video).
Whether you choose to do Option 1 or 2, try two separate trials where Trial 1 has less samples than Trial 2.
TRIAL 1:
TRIAL 2:
42
Define the Problem
ANSWER ME! What problem or challenge are you trying to solve?
Type your answer here
43
Research
Write your answer here.
ANSWER ME! What are the most common recycled materials. What categories do facilities sort materials into?
How is most recycling sorting done?
44
Build
Insert screenshots of your samples here.
ANSWER ME! Find samples to teach your machine. Create your categories to store images in. Feed your images into the AI and build the model.
45
Actual Object | AI Predicted Object | Was it correct? (Y/N) |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Trial 1
46
Actual Object | AI Predicted Object | Was it correct? (Y/N) |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
Trial 2
47
Analyze Data
ANSWER THE FOLLOWING QUESTIONS WITH THE DATA YOU COLLECTED.
Write your answer here
Trial 1:
Write your answer here
Trial 2:
According to your results on the previous slides, what was the efficiency of your machine?
Efficiency = # of correct identifications *100
# of trials
(
)
48
Reflection
Add your responses here.
ANSWER ME! Take a moment to reflect on what you have learned from this project with a partner: what materials did you use, how many samples were collected in each trial, how did your efficiencies in different trials compare to each other, and what percentage of the time did it guess correctly? Is there a correlation between the number of samples taken and the accuracy? Take note of what went well and learn from what went wrong.
Create a Virtual AI Sorter with Google’s Teachable Machine
What you’ll be doing:
Ideal option if you:
Play with a Neural Network Simulator in TensorFlow
What you’ll be doing:
Ideal option if you:
49
Optional Extension Activities
Any text here?
Teachable Machine Sorter
Neural Networks
Build a Neural Network
Extension
51
Extension Development Team
ANNIE ZHAO
College: University of Notre Dame ‘25
Major: Computer Science & Engineering
MARY BRUSCO
College: University of Notre Dame ‘26
Major: Computer Science & Engineering
MARY JARRATT
College: Virginia Tech, Ph.D. student ‘24
Major: Engineering & Robotics Education
JOANNA CAUDLE
College: Georgia Institute of Technology
Major: Mechanical Engineering
Industry Experience: Bechtel Power Corporation
JASUN BURDICK
College: University of Central Florida
Major: Industrial Engineering
Industry Experience: Building Automation, Robotics
JOSHUA FELICIANO
College: MIT ‘24
Major: Electrical Engineering & Computer Science
In the last activity, you used the Engineering Design Process (EDP) to build a catapult and model its behavior. You learned about the problem using data, developed a model for your catapult, and iteratively tested your design to make your catapult more accurate and precise, all without step-by-step instructions!
We mentioned that machine learning is a way for computers to do the same: learn from data, build a model for solving a problem, and then iteratively test that model to make it more accurate and precise.
There’s just one problem: How do we program a computer to build a model on its own?
Introduction
There’s something about your brain and the way it’s structured that allows it to analyze data, come up with solutions to problems, and learn from its mistakes to build even better solutions. Your brain is an example of a powerful computer that can use EDP to solve problems on its own!
So, since your brain can do what we want our computer to do, let’s give our computer a brain.
Specifically, instead of writing step-by-step programs for each problem we want our computer to solve, we’ll make a program that mimics the structure of your brain to hopefully give our machine the ability to “learn.” This “machine brain” is what we call a neural network.
NEURAL NETWORK
Solution: Your Brain!
IN THIS EXTENSION…
You will explore neural networks by building one in a virtual playground called TensorFlow. By the end, you’ll have built a neural network that can classify points in a data set all by itself!
54
What You’ll Do In This Extension
55
Part I: TensorFlow
TensorFlow is a free and open-source software library for machine learning and artificial intelligence. It can be used across a range of tasks but has a particular focus on training and inference using neural networks.
TensorFlow has a playground that lets you expand your understanding of neural networks by developing a simple model to sort a collection of data points.
56
Part I: TensorFlow Playground
Part II: Connection to our Catapult Activity
Think of the student as the machine/computer
The more input data you give it the more accurate the model is getting.
58
Your Catapult is Machine Learning
CATAPULT INPUT
Pull back angle, height, number of rubber bands, etc.
CATAPULT OUTPUT
Distance ball predicted to travel shown by trendline on Excel graph
Think of the features of the neural network the same way you think of the different features of your catapult.
| Catapult: | Neural Network: |
Model: | Linear regression line of your performance data | A mathematical equation that weights different neurons by varying amounts to minimize error |
Features: (ways to get you what you want) | Characteristics of the catapult that affect the output (lever, pull back angle, etc) | Different ways to characterize the data set; i.e., x value, y value, (x value)2, (sin x value), etc |
Data: (what your model is using to learn from) | Performance data of catapult you collected | Predetermined data set in the Playground: bimodal, spiral, circle, etc |
Output: | Distance traveled | Classification of colored dots |
Error Loss: | Difference between predicted distance and actual distance traveled | Difference between predicted color vs actual color of dots |
Intuitively, the student learns that an important feature of the catapult is the force you push down on it to make it go farther. Similarly, the computer model learns by guessing and checking which features to emphasize more. The model shows which features are more important to the output by assigning a heavier weight (we see this through the thickness of the line coming from a feature or neuron).
Think of the importance you give each feature in the catapult as the weight of importance the computer program gives each feature in the network.
61
Part III: Introduction to the Playground
WATCH ME
62
Part III: Tinker in the Playground
63
Part IV: How does the model work?
The TensorFlow Playground has 4 data sets comprising the shapes on the left.
Data is broken up into training and testing (validation)
These data sets are similar to the written number data set you saw in the handwriting example in the Machine Learning introductory video.
64
Neural Network: Data features
Some datasets have easier features to define. (simpler shape)
ANSWER ME!
What data set has the simplest shape in your opinion? The most complex?
65
Neural Network: How does it work?
How do you write code that classifies whether a data point is orange or blue? Perhaps you could draw an arbitrary diagonal line between the two groups like that shown on the next slide. You could define a threshold to determine in which group each data point belongs.
Let's look at a simple classification problem. Imagine you have a dataset such as the one below. There are two groups of data (blue and orange) that the model is searching for. Each data point has two values X1 (horizontal axis) and X2 (vertical axis).
66
Neural Network: How does the program work?
If x1 + x2 > some threshold value → Then the dot is blue
But the thing is, a programmer has to find appropriate values for variables and instruct the computer how to classify the data points. That’s A LOT of steps of code!
A neural network computer program uses artificial neurons and trains itself to classify the data.
67
Neural Network: Neurons and Weights
Neurons are formed by combining the weighted inputs of features.
In a simple neural network model, the mathematical equation might look something like this:
If w1x1 + w2x2 > some threshold value, ��Then the dot is blue, where w1 and w2 are the weights given to each feature
Adding layers allows the program to combine previous neurons to make a more complex model to classify data
68
Part V: Challenge: Build Your Own Neural Network
Requirements: Build the simplest model that has the lowest error rate.
Plan: Try selecting data sets, features, layers, and neurons
Run the model for short bursts (< 1,000 epoch)
Note: an epoch is one training cycle for the model
Record the testing loss (error rate)
Improve: Change an input and rerun
69
Challenge
As you gain understanding of how the model is working try this challenge:
Data | Error |
Circle | |
Exclusive OR | |
Gaussian | |
Spiral | |
Total Error = | |
Link to the: Playground
70
Challenge: It's in the details
Repeat now with a larger model and you get more control options.
Use this link now: Neural Network with More Options
Data | Error |
Circle | |
Exclusive OR | |
Gaussian | |
Spiral | |
Total Error = | |
71
Next Steps: How is machine learning used in business?
Machine learning is being used in the banking, healthcare and music and entertainment industries to name a few.
Check out this case �study from Netflix �about how machine �learning is used �in their organization.
72
Next Steps: Want to learn more?
Here are some concepts you may be interested in and also a great video that further explains neural networks:
73
Continue to Explore
If you liked today’s breakout, you may be interested in these topics:
Types of engineering relevant to the Catapult Building:
Types of engineering relevant to Iteration and Machine Learning:
Thank you!
Any text here?
Follow up info here?