Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- \documentclass{article}
- %% Created with wxMaxima 11.08.0
- \setlength{\parskip}{\medskipamount}
- \setlength{\parindent}{0pt}
- \usepackage[utf8]{inputenc}
- \usepackage{graphicx}
- \usepackage{color}
- \usepackage{amsmath}
- \definecolor{labelcolor}{RGB}{100,0,0}
- \begin{document}
- \noindent
- %%%%%%%%%%%%%%%
- %%% INPUT:
- \begin{minipage}[t]{8ex}{\color{red}\bf
- \begin{verbatim}
- (%i7)
- \end{verbatim}}
- \end{minipage}
- \begin{minipage}[t]{\textwidth}{\color{blue}
- \begin{verbatim}
- e:matrix([1,0,0],[0,1,0],[0,0,1]);
- \end{verbatim}}
- \end{minipage}
- %%% OUTPUT:
- \begin{math}\displaystyle
- \parbox{8ex}{\color{labelcolor}(\%o7) }
- \begin{pmatrix}1 & 0 & 0\cr 0 & 1 & 0\cr 0 & 0 & 1\end{pmatrix}
- \end{math}
- %%%%%%%%%%%%%%%
- \noindent
- %%%%%%%%%%%%%%%
- %%% INPUT:
- \begin{minipage}[t]{8ex}{\color{red}\bf
- \begin{verbatim}
- (%i8)
- \end{verbatim}}
- \end{minipage}
- \begin{minipage}[t]{\textwidth}{\color{blue}
- \begin{verbatim}
- m:matrix([1,-4/9,-5/9],[-4/9,1,-4/9],[-5/9,-4/9,1]);
- \end{verbatim}}
- \end{minipage}
- %%% OUTPUT:
- \begin{math}\displaystyle
- \parbox{8ex}{\color{labelcolor}(\%o8) }
- \begin{pmatrix}1 & -\frac{4}{9} & -\frac{5}{9}\cr -\frac{4}{9} & 1 & -\frac{4}{9}\cr -\frac{5}{9} & -\frac{4}{9} & 1\end{pmatrix}
- \end{math}
- %%%%%%%%%%%%%%%
- \noindent
- %%%%%%%%%%%%%%%
- %%% INPUT:
- \begin{minipage}[t]{8ex}{\color{red}\bf
- \begin{verbatim}
- (%i9)
- \end{verbatim}}
- \end{minipage}
- \begin{minipage}[t]{\textwidth}{\color{blue}
- \begin{verbatim}
- t:e-m;
- \end{verbatim}}
- \end{minipage}
- %%% OUTPUT:
- \begin{math}\displaystyle
- \parbox{8ex}{\color{labelcolor}(\%o9) }
- \begin{pmatrix}0 & \frac{4}{9} & \frac{5}{9}\cr \frac{4}{9} & 0 & \frac{4}{9}\cr \frac{5}{9} & \frac{4}{9} & 0\end{pmatrix}
- \end{math}
- %%%%%%%%%%%%%%%
- \noindent
- %%%%%%%%%%%%%%%
- %%% INPUT:
- \begin{minipage}[t]{8ex}{\color{red}\bf
- \begin{verbatim}
- (%i10)
- \end{verbatim}}
- \end{minipage}
- \begin{minipage}[t]{\textwidth}{\color{blue}
- \begin{verbatim}
- x:e+t^1+t^2+t^3;
- \end{verbatim}}
- \end{minipage}
- %%% OUTPUT:
- \begin{math}\displaystyle
- \parbox{8ex}{\color{labelcolor}(\%o10) }
- \begin{pmatrix}1 & \frac{532}{729} & \frac{755}{729}\cr \frac{532}{729} & 1 & \frac{532}{729}\cr \frac{755}{729} & \frac{532}{729} & 1\end{pmatrix}
- \end{math}
- %%%%%%%%%%%%%%%
- \noindent
- %%%%%%%%%%%%%%%
- %%% INPUT:
- \begin{minipage}[t]{8ex}{\color{red}\bf
- \begin{verbatim}
- (%i11)
- \end{verbatim}}
- \end{minipage}
- \begin{minipage}[t]{\textwidth}{\color{blue}
- \begin{verbatim}
- transpose(m);
- \end{verbatim}}
- \end{minipage}
- %%% OUTPUT:
- \begin{math}\displaystyle
- \parbox{8ex}{\color{labelcolor}(\%o11) }
- \begin{pmatrix}1 & -\frac{4}{9} & -\frac{5}{9}\cr -\frac{4}{9} & 1 & -\frac{4}{9}\cr -\frac{5}{9} & -\frac{4}{9} & 1\end{pmatrix}
- \end{math}
- %%%%%%%%%%%%%%%
- \end{document}
Advertisement
Add Comment
Please, Sign In to add comment