Observe™ LEGO Car

Using the Desmos Graphing Calculator

Activity 5: Modeling with Linear Regression

Position: None Status: Disconnected
What You Will Do: Getting Ready: What Do You Think?
  1. Open the LEGO Car Activity 5 Worksheet in a new tab of your browser. Make a copy in your Google Drive, then return to this page.
  2. Look at the scatter plot of position–time data already displayed on the graph. Drag the endpoints of the red movable line until it best follows the overall trend of the points. Your line should start near -30 cm at time = 0 and be close to 40 cm at 30 s.
  3. When you are satisfied with your estimated line of best fit, click Capture Drawing to copy the image to the clipboard and paste it into the Activity 5 worksheet.
    Background Image
Measuring Your Data:
  1. Review the Getting Started guide to set up your workspace and pair your LEGO car.
  2. When the graph loads, use the m1 and b1 sliders to create a prediction line.
  3. Adjust the slope (m) to set the car’s speed and direction.
  4. Adjust the y-intercept (b) to set the car’s starting position.
  5. This is your blue goal line.
  6. Scroll until the entire graph is visible. Notice that the car’s position (the red point) updates on the graph’s y-axis. Smoothly roll your car back and forth on the number line until the red point matches your starting position.
  7. To begin collecting measurements in your Desmos data table, click the Start Collection button below. Your real data will begin to appear as blue points, and a regression line will be generated to model the data.
  8. Compare your goal line (based on sliders) with the regression model line.
  9. How close is your prediction?
  10. Where do they differ?
  11. If you need a new trial, click the Refresh Page button to clear the graph and data. Then turn on your car, select the ID from the pulldown, and reconnect.
  12. Use your regression equation to make predictions. Record the predicted position of the car at 10 seconds and 20 seconds, and compare with the actual data points from your graph.
  13. When finished, click the Capture Graph button to copy your graph to the clipboard. Select the browser tab with the Activity 5 worksheet and paste it into your document.
  14. Use the hide and show icon to hide the completed graph and show the next challenge.