aboutsummaryrefslogtreecommitdiff
path: root/src/input/errortrap.input.pamphlet
blob: 0a5416c9e0ce605de5baeed8bf30bebb9ab6b7ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input errortrap.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1996.
@
<<*>>=
<<license>>
)clear all
-- examples that test the error traps when graphing functions

draw(1/x, x = 0.0..2.0, adaptive == false)

draw(asec x, x = -2..2, clip == [-2..2, -4..4])

draw(asin x, x = -2..2)

draw(curve(cos(1/x), sin(1/x)), x = -2..2, adaptive == false)

draw(curve(5*cos(x), 5*sin(x), asec(x)), x = -12..12)

draw(curve(cos(x), sin(x), 1/x), x = 0.0..1.0)

draw(asec(x*y), x = -2..2, y = -2..2)

f(x,y) == asec(x)*asec(y)
draw(f, -2..2, -2..2)

draw(surface(u*acsc(v), u*asec(v), v*acsc(u)), u=-2..2, v=-2..2)

draw(curve(acsc(x), asec(x), x), x = -2..2, tubeRadius == .3)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}