aboutsummaryrefslogtreecommitdiff
path: root/src/input/roots.input.pamphlet
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-14 05:14:52 +0000
commitab8cc85adde879fb963c94d15675783f2cf4b183 (patch)
treec202482327f474583b750b2c45dedfc4e4312b1d /src/input/roots.input.pamphlet
downloadopen-axiom-ab8cc85adde879fb963c94d15675783f2cf4b183.tar.gz
Initial population.
Diffstat (limited to 'src/input/roots.input.pamphlet')
-rw-r--r--src/input/roots.input.pamphlet36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/input/roots.input.pamphlet b/src/input/roots.input.pamphlet
new file mode 100644
index 00000000..16889aa0
--- /dev/null
+++ b/src/input/roots.input.pamphlet
@@ -0,0 +1,36 @@
+\documentclass{article}
+\usepackage{axiom}
+\begin{document}
+\title{\$SPAD/src/input roots.input}
+\author{The Axiom Team}
+\maketitle
+\begin{abstract}
+\end{abstract}
+\eject
+\tableofcontents
+\eject
+\section{License}
+<<license>>=
+--Copyright The Numerical Algorithms Group Limited 1991.
+@
+<<*>>=
+<<license>>
+
+)cl completely
+-- This will compute all the roots of x**4 + 1 = 0
+lr:=rootsOf(x**4+1,x)
+-- the new expressions satisfy
+definingPolynomial %x0
+definingPolynomial %x1
+--the product of the first three is a root
+lr.1 * lr.2 * lr.3
+%**4
+-- so is the sum
+lr.1 + lr.2 + lr.3
+%**4
+@
+\eject
+\begin{thebibliography}{99}
+\bibitem{1} nothing
+\end{thebibliography}
+\end{document}