REDUCE 3.4, 15-Jul-91 ...

1: 
(RLFI)


on latex;

\documentstyle{article}
\begin{document}
\begin{verbatim}

(a+b)**5\(a-b)**4;


\end{verbatim}
\begin{displaymath}
\frac{a^{5}+5 a^{4} b+10 a^{3} b^{2}+10 a^{2} b^{3}+5 a b^{4}+b^{5}}{a^{
4}-4 a^{3} b+6 a^{2} b^{2}-4 a b^{3}+b^{4}}
\end{displaymath}
\begin{verbatim}

x:=(a+b)**3$


DEPEND a,c;


DF(x,c,2);


\end{verbatim}
\begin{displaymath}
3 \left(\frac{{\rm d}^{2}a}{{\rm d}c^{2}} a^{2}+2 \frac{{\rm d}^{2}a}{
{\rm d}c^{2}} a b+\frac{{\rm d}^{2}a}{{\rm d}c^{2}} b^{2}+2 \left(\frac{
{\rm d}\,a}{{\rm d}\,c}\right)^{2} a+2 \left(\frac{{\rm d}\,a}{{\rm d}\,
c}\right)^{2} b\right)
\end{displaymath}
\begin{verbatim}

DEFID al,NAME=alpha;


DEFID be,NAME=beta;


SIN al**2+COS al**2=1;


\end{verbatim}
\begin{displaymath}
\sin ^{2}\,\alpha +\cos ^{2}\,\alpha =1
\end{displaymath}
\begin{verbatim}

SIN(al+be)=SIN al*COS be+COS al*SIN be;


\end{verbatim}
\begin{displaymath}
\sin \left(\alpha +\beta \right)=\sin \,\alpha \: \cos \,\beta \:+\sin 
\,\beta \: \cos \,\alpha \:
\end{displaymath}
\begin{verbatim}

OFF LASIMP,VERBATIM;


\end{verbatim}
\begin{displaymath}
\frac{\partial \,{\bf \tilde{u}}^{e}}{\partial \,t}+c \frac{\partial ^{
2
}{\bf \tilde{u}}^{e}}{\partial x^{2}}+b \frac{\partial \,{\bf \tilde{u}}
^{i}}{\partial \,x}={\bf f}^{e}
\end{displaymath}
\begin{displaymath}
\frac{{\bf \tilde{u}}^{e}_{j+1,k}-{\bf \tilde{u}}^{e}_{jk}}{\Delta \,t}+
c \frac{{\bf \tilde{u}}^{e}_{j,k+1}-2 {\bf \tilde{u}}^{e}_{jk}+{\bf 
\tilde{u}}^{e}_{j,k-1}}{\Delta ^{2}\,x}+b \frac{{\bf \tilde{u}}^{i}_{j,k
+1/2}-{\bf \tilde{u}}^{i}_{j,k-1/2}}{\Delta \,x}={\bf f}^{e}
\end{displaymath}
\begin{verbatim}

PRODUCT(k=1,2*n+1,f(2*i k+1)\(i(2*k+1)-1));


\end{verbatim}
\begin{displaymath}
\prod _{k=1}^{2 n+1}\frac{{\bf f}^{2 i_{k}+1}}{i_{2 k+1}-1}
\end{displaymath}
\begin{verbatim}

INT(u(e,j,k,x)*f(e,x),x);


\end{verbatim}
\begin{displaymath}
\int {\bf \tilde{u}}^{e}_{jk}\left(x\right) {\bf f}^{e}\left(x\right)
\:d\,x
\end{displaymath}
\begin{verbatim}

SUM(i=0,n,SQRT u(e,i));


\end{verbatim}
\begin{displaymath}
\sum _{i=0}^{n}\sqrt {{\bf \tilde{u}}^{e}_{i}}
\end{displaymath}
\begin{verbatim}

OFF LATEX;


\end{verbatim}
\end{document}

end;


Quitting
