Activity: Create Function

STEP 11: One nice thing about lines of best fit is that they allow us to predict values not shown on the scatter plot.

  • Let's make a function that takes in a student's travel time and returns his or her predicted amount of sleep.
  • In LOGIC, click on and drag in Define Function with Parameters.
  • Rename the function from my_function(my_var1, my_var2) to line(m, x, b).
  • In , drag in Multiplication INSIDE your new function.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
Support