You are on page 1of 1

Linear Regression Practice

Below is an experimental data for force (N) and velocity (m/s) from a wind tunnel experiment. The goal
is to find the model (i.e. a function) that provides a relationship between the Force and Velocity.

Velocity 10 20 30 40 50 60 70 80
(v m/s)
Force (N) 25 70 380 550 610 1220 830 1450

Please provide a plot that compares the following three models to see which of these is the best fit.
n xi yi   xi  yi
1. Least Squares Fit: a1 
n xi2   xi 
2
y  a0  a1 x
a0  y  a1 x

2. exponential :
Exponential Fit y  1e1 x
exponential : y  1e1 x 
power : y  2 x 2
2
3. Power power :
Equation y  2 x x
saturation - growth - rate : y   3
x 3  x
saturation - growth - rate : y   3
3  x
Your Plot would look something like this. You may use inbuilt functions, or program the equations

 2500
Forces
Square
2000 Power
Exponent

1500

1000

500

-500
10 20 30 40 50 60 70 80

You might also like