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.

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

\label{eq1}2(1)
axiom
s.1

\label{eq2}{\left(
\begin{array}{@{}l}
\displaystyle
{{\left({
\begin{array}{@{}l}
\displaystyle
{
\begin{array}{@{}l}
\displaystyle
{\left({{{\left({{16}\  a \  b \  c}-{4 \ {b^3}}\right)}\  t}+{{32}\  a \ {c^2}}-{8 \ {b^2}\  c}}\right)}\  \cdot 
\
\
\displaystyle
{\sqrt{c}}\  \cdot 
\
\
\displaystyle
{\sqrt{{a \ {t^2}}+{b \  t}+ c}}
(2)
Type: Expression(Integer)
axiom
s.2

\label{eq3}{\left(
\begin{array}{@{}l}
\displaystyle
{{\left({
\begin{array}{@{}l}
\displaystyle
{
\begin{array}{@{}l}
\displaystyle
{\left({{{\left({{16}\  a \  b \  c}-{4 \ {b^3}}\right)}\  t}+{{32}\  a \ {c^2}}-{8 \ {b^2}\  c}}\right)}\  \cdot 
\
\
\displaystyle
{\sqrt{c}}\  \cdot 
\
\
\displaystyle
{\sqrt{{a \ {t^2}}+{b \  t}+ c}}
(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.

axiom
)set output tex off
 
axiom
)set output algebra on
s:=integrate(sqrt(a*t^2+b*t+c),t)
(5) [ +--------------+ 3 2 2 +-+ | 2 ((16a b c - 4b )t + 32a c - 8b c)\|c \|a t + b t + c + 2 2 4 2 2 3 3 2 2 (- 16a c + b )t + (- 32a b c + 8b c)t - 32a c + 8b c * log +--------------+ +-+ +-+ | 2 +-+ (2\|a \|c - 2a t)\|a t + b t + c + 2a t\|c + 2 +-+ (- 2a t - b t - 2c)\|a / +--------------+ +-+ | 2 2\|c \|a t + b t + c - b t - 2c + 2 2 3 3 2 2 2 +-+ ((- 16a c - 4a b )t + (- 40a b c - 2b )t + (- 32a c - 8b c)t)\|a * +--------------+ | 2 \|a t + b t + c + 2 4 2 2 3 3 2 16a b t + (32a c + 24a b )t + (56a b c + 6b )t + 2 2 (32a c + 8b c)t * +-+ +-+ \|a \|c / +--------------+ +-+ +-+ | 2 (32a b t + 64a c)\|a \|c \|a t + b t + c + 2 2 2 2 +-+ ((- 32a c - 8a b )t - 64a b c t - 64a c )\|a ,
+--------------+ 3 2 2 +-+ | 2 ((16a b c - 4b )t + 32a c - 8b c)\|c \|a t + b t + c + 2 2 4 2 2 3 3 2 2 (- 16a c + b )t + (- 32a b c + 8b c)t - 32a c + 8b c * +--------------+ +---+ | 2 +---+ +-+ \|- a \|a t + b t + c - \|- a \|c atan(------------------------------------) a t + 2 2 3 3 2 2 2 +---+ ((- 8a c - 2a b )t + (- 20a b c - b )t + (- 16a c - 4b c)t)\|- a * +--------------+ | 2 \|a t + b t + c + 2 4 2 2 3 3 2 2 2 (8a b t + (16a c + 12a b )t + (28a b c + 3b )t + (16a c + 4b c)t) * +---+ +-+ \|- a \|c / +--------------+ +---+ +-+ | 2 (16a b t + 32a c)\|- a \|c \|a t + b t + c + 2 2 2 2 +---+ ((- 16a c - 4a b )t - 32a b c t - 32a c )\|- a ]
Type: Union(List(Expression(Integer)),...)

Output from Reduce makes sense:

int(sqrt(a*t^2+b*t+c),t);
reduce
\displaylines{\qdd
\(2\cdot 
  \sqrt{a\cdot t^{2}
        +b\cdot t
        +c}\cdot b\cdot t
  +4\cdot 
  \sqrt{a\cdot t^{2}
        +b\cdot t
        +c}\cdot c
  -4\cdot \int {\frac{\sqrt{a\cdot t^{2}
                            +b\cdot t
                            +c}
                      \cdot t}{
                      a\cdot t^{2}
                      +b\cdot t
                      +c}\,dt}\cdot a\cdot c\nl 
  +\int {\frac{\sqrt{a\cdot t^{2}
                     +b\cdot t
                     +c}
               \cdot t}{
               a\cdot t^{2}
               +b\cdot t
               +c}\,dt}\cdot b^{2}
 

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 !!
  ( 13 subscribers )  
Please rate this page: