Ok, now that I tried the real equation, it failed. I am not sure of
what the error message is telling me:
(%i168) M:matrix([1,.0381],[3,.1371],[5,.2158],[7,.3319],[9,.4302],[11,.5276],[13,.6299],[15,.7200]);
[ 1 0.0381 ]
[ ]
[ 3 0.1371 ]
[ ]
[ 5 0.2158 ]
[ ]
[ 7 0.3319 ]
(%o168) [ ]
[ 9 0.4302 ]
[ ]
[ 11 0.5276 ]
[ ]
[ 13 0.6299 ]
[ ]
[ 15 0.72 ]
(%i169) lsquares_estimates(M,[L,n],L+.4*d=n*l/4,[l]);
`sublis': Bad 1st arg
#0: lsquares_mse(data%=data,variables=[0.72,15],equation=0.73524 =
0.7725)(lsquares.mac line 259)
#1: lsquares_estimates(data=matrix([1,0.0381],[3,0.1371],[5,0.2158],[7,0.3319],[9,0.4302],[11,0.5276],[13,0.6299],[15,0.72]),variables=[0.72,15],equation=0.73524
= 0.7725,parameters=[0.206],optional_args=[])(lsquares.mac line 243)
-- an error. To debug this try: debugmode(true);
d was defined earlier, so it has a numerical value. Any pointers
would be appreciated.
Thanks,
Chris Maness