For this page, you’ll need to open the Fuel Efficiency Starter File on your computer. If you haven’t already, select Save a Copy from the "File" menu to make a copy of the file that’s just for you. Read the comments at the top of the file, which describe what each column in the dataset means.
The standard form of a quadratic equation is y = Ax2 + Bx + C
|
1 Choose a point from the left-most column of dots, and fill in the standard form equation below:
2 Choose a point from the center-most column of dots, and fill in the standard form equation below:
3 Choose a point from the right-most column of dots, and fill in the standard form equation below: |
4 In the space below - or on another sheet of paper - solve this series of equations for A, B, and C:
5 Write your finished model in function and Pyret notation below, then define the function f
in Pyret and try it out using fit-model
!
Function Notation |
Pyret Notation |
f(x) = A(x (speed))2 + B(x (speed)) + C |
fun f(x): (( * num-sqr) + ( * x)) + end |
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, 1738598, 2031479, and 1501927). Bootstrap by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.