Least Common Multiples
Subjects
Math
Project Type
Real World Models
Required Tutorials
Dial sensor
Estimated Time
Medium (3-6 hours)
Description
In this project students write a program to find the least common multiple of two small numbers.
Free Teacher Materials
Project Map
Learning Goals
Students will write a program that finds the least common multiple of two numbers retrieved from a two Hummingbird Dial Sensors.
Materials
- Hummingbird Bit Premium Kit
- Possible Craft supplies
Tips
- Have students work in groups of 2-3.
- Our Printables page has a variety of documents for making teaching and learning with Hummingbird easier. Visit and explore resources like the My First Robot Design Notebook now.
Steps
This sketch was developed to meet Common Core math standard 6.NS.B: “Compute fluently with multi-digit numbers and find common factors and multiples.” In this project students write a program to find the least common multiple of two small numbers. The Hummingbird sensors are used to select the two numbers.
The Hummingbird controller consists of two rotary knobs attached to sensor ports 1 and 2. The output from these sensors is converted to an integer from 1 to 11 using the round block, as well as the subtraction and division operators.
The program uses a loop to find the least common multiple of the two numbers. It computes progressively larger multiples of the first number. For each multiple, the mod block is used to compute the remainder of the multiple divided by the second number. When the remainder is zero, the program has found the least common multiple.
Standards Alignment
This sketch was developed for Common Core math standard 6.RP.B, but it also meets 6.EE.A, 6.EE.B, and 7.EE.B because it uses variables, equations, and inequalities. In addition, this project is aligned with the Next Generation Science Standards for engineering at the middle school level (MS-ETSI-1, MS-ETSI-2, MS-ETSI-3, and MS-ETS1-4).