Problem and result in one line



Hello Poul,

Perhaps what you want is the built-in commands display
and ldisplay. 

display prints the results, ldisplay creates line numbers
%t1, %t2, %t3, ... and assigns the results to those.

(%i1) display (integrate (sin(x), x), 1728^(1/3), diff (tan(x)))$ 
                 integrate(sin(x), x) = - cos(x)

                              1/3
                          1728    = 12

                                    2
                  diff(tan(x)) = sec (x) del(x)

(%i2) ldisplay (integrate (sin(x), x), 1728^(1/3), diff (tan(x)))$
(%t2)            integrate(sin(x), x) = - cos(x)

                              1/3
(%t3)                     1728    = 12

                                    2
(%t4)             diff(tan(x)) = sec (x) del(x)


Hope this helps,
Robert Dodier


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/