Analysis 4

From Advanced Labs Wiki
Revision as of 00:27, 11 February 2012 by Tobias Marriage (talk | contribs) (Created page with 'In this tutorial you will work through an example linear fit. The example is the trajectory experiment described in the previous tutorials. In this model we had altitude data <ma…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

In this tutorial you will work through an example linear fit. The example is the trajectory experiment described in the previous tutorials. In this model we had altitude data <math>d_i</math> taken at times <math>t_i</math> that was modeled with a quadratic formula:

<math> d_i = a t_i^2 + b t_i + c </math>.

The following example is carried out using the python programming language. A great collection of python tools are downloadable for free (since you are students) here: [1]


Here is a file with the altitude data: media:Altitudes.txt;


Code (change suffix to .py) media:Linear_model.txt; Output media:Data_linear.png media:Data with model linear.png