--- Doug Stewart wrote:
> batch("gravity.bat");
>
> batching #pC:/Documents and Settings/doug/Desktop/gravity.bat
> (%i2) LOAD(dimension.mac)
> (%o2) dimension.mac
> (%i3) fundamental_dimensions
> (%o3) [mass, length, time]
> length
> (%i4) gput(g, ------, dimension)
> 2
> time
I think you mean to use qput here? IIRC it's q rather than g.
> (%i5) gput(t, time, dimension)
Same here.
> (%i6) velocity : INTEGRATE(g, t)
> (%o6) g t
> (%i7) dimension(velocity)
> (%o7) dimension(g) dimension(t)
This means there is no dimension for g or t.
> (%i8) position : INTEGRATE(velocity, t)
> 2
> g t
> (%o8) ----
> 2
> (%i9) dimension(position)
> 2
> (%o9) dimension(g) dimension (t)
Same thing here - this means g and t didn't get a dimension defined.
> why is %o7 and %o9 not displayed as final resuls ?
> Page 110 of "the maxima book" shows the output as:
See above. It's on my TODO list to update Maximabook (Robert's
excellent work on the reference manual has made that task much
simplier) but for now it's case insensitive and based on an older
Maxima version, so it wouldn't surprise me if some stuff is out of
date. Maxima has covered quite a bit of ground.
CY
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com