I want to use these equations to get the values of 'o' and 'p' which are to be solved for same value of 'i'. Now that i have 'o' and 'p' values in terms of 'b' . I want to sum this for all the 'i's in the inner loop . further when i come out of the loop I want to plot a point (b, err) , the value of b comes from the outer loop. hence i'll get a set of 40 points for err vs b and i'll draw a curve to fit these data.
Thanks