# HG changeset patch # User Puneeth Chaganti # Date 1287478589 -19800 # Node ID e4a7d0924143662eac8464954998fe5a864a4ace # Parent c65d0d9fc0c8d619f9739567897e28006a3a1986 Reviewed Least Square Fit LO. diff -r c65d0d9fc0c8 -r e4a7d0924143 lstsq/script.rst --- a/lstsq/script.rst Tue Oct 19 14:26:02 2010 +0530 +++ b/lstsq/script.rst Tue Oct 19 14:26:29 2010 +0530 @@ -19,6 +19,9 @@ External Reviewer : Checklist OK? : [2010-10-05] + +.. #[Puneeth: Add pre-requisites.] + Script ------ @@ -43,9 +46,9 @@ As we know, the square of time period of a pendulum is directly proportional to its length, we shall plot l vs t^2 and verify this. -#[Puneeth:] removed the explanation about loadtxt and unpack - option. It's been done in another LO already. simple dependency - should work? +.. #[Puneeth:] removed the explanation about loadtxt and unpack +.. option. It's been done in another LO already. simple dependency +.. should work? To read the input file and parse the data, we are going to use the loadtxt function. Type @@ -66,8 +69,8 @@ {{{ switch to the plot window }}} -#[Puneeth:] Moved explanation of least square fit here. seems more -apt. +.. #[Puneeth:] Moved explanation of least square fit here. seems more +.. apt. We can see that there is a visible linear trend, but we do not get a straight line connecting them. We shall, therefore, generate a least @@ -132,10 +135,17 @@ {{{ Show the "sponsored by FOSSEE" slide }}} -#[Nishanth]: Will add this line after all of us fix on one. -This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India +.. #[Nishanth]: Will add this line after all of us fix on one. +.. This tutorial was created as a part of FOSSEE project, NME ICT, MHRD India Hope you have enjoyed and found it useful. Thank you +.. + Local Variables: + mode: rst + indent-tabs-mode: nil + sentence-end-double-space: nil + fill-column: 75 + End: