Tutorial question for Prof Woollett



Sir,

First let me thank you for the wonderful tutorial. A great help for a Maxima
newbie like myself.

 

I am following sections 1.5.8 and 1.5.9. doline() creates fit1.dat in the
wxMaxima root folder and printline("fit1.dat") displays exactly as does your
text.

In section 1.5.9 the command

                Datamatrix: read_matrix("fit1.dat") 

produces the following output (truncated here)

matrix([<,mth,>,<,n,>,1,<,/,n,>,<,st,>,<,/,st,>,<,n,>,1.8,<,/,n,>,<,t,>=,<,/
,t,>,<,n,>,2.0904,<,/,n,>,<,st,>, .
n,>,<,t,>=,<,/,t,>,<,n,>,11.329,<,/,n,>,<,st,>,<,/,st,>,<,/,mth,>])

instead of the two column output displayed in your text. grind(%) produces a
similar output as above in compressed format. However the equations for
lsquares_estimates fails 

(%i19) lsquares_estimates(datamatrix,[x,y],y=a*x+b,[a,b]);

Dependent equations eliminated:  (1)

(%o19) [[a=%r1,b=mth-%r1*<]]

 

Fit1.dat  appears to me as XML or HTML formatted text. As a newbie I suspect
a configuration problem (Windows XP) but have been unable to locate it. 

 

Many thanks in advance,

 

Ron