login  home  contents  what's new  discussion  bug reports help  links  subscribe  changes  refresh  edit

Something is going wrong with the formatting of the output.

fricas
s:=integrate(sqrt(a*t^2+b*t+c),t);
Type: Union(List(Expression(Integer)),...)
fricas
#s (1)
Type: PositiveInteger?
fricas
s.1 (2)
Type: Expression(Integer)
fricas
s.2 (3)
Type: Expression(Integer)

It is not being wrapped as expected.

The following two commands turn off the LaTeX output and replace it with an ASCII-art format.

fricas
)set output tex off

fricas
)set output algebra on
s:=integrate(sqrt(a*t^2+b*t+c),t)
(5)
[
2
(4 a c - b )
*
log
+--------------+
2           |   2
(- 8 a t - 4 a b)\|a t  + b t + c
+
2 2                      2  +-+
(- 8 a t  - 8 a b t - 4 a c - b )\|a
+
+--------------+
+-+ |   2
(8 a t + 4 b)\|a \|a t  + b t + c
/
+-+
16 a\|a
,
+---+
2        (2 a t + b)\|- a
(4 a c - b )atan(--------------------)
+--------------+
|   2
2 a\|a t  + b t + c
+
+--------------+
+---+ |   2
(4 a t + 2 b)\|- a \|a t  + b t + c
/
+---+
8 a\|- a
]
Type: Union(List(Expression(Integer)),...)

Output from Reduce makes sense:

 int(sqrt(a*t^2+b*t+c),t); reduce But doing this with Maxima:

  \begin{maxima}
integrate(sqrt(a*t^2+b*t+c),t);
\end{maxima}


causes a problem since Maxima tries to ask the "user" whether a is positive or negative, etc. In the present version of MathAction this causes the maxima process to hang.

 Subject:   Be Bold !! ( 15 subscribers )