aboutsummaryrefslogtreecommitdiff
path: root/src/input/series.input.pamphlet
blob: a9df6050fd2397d2d373b20e49a9fbf645bbb08f (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
47
48
49
50
51
52
53
54
55
56
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input series.input}
\author{Clifton J. Williamson}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>

--% Expression To Power Series
-- We compute series expansions of various functions using EXPR2UPS.
-- Author: Clifton J. Williamson
-- Date Created: 1 June 1990
-- Date Last Updated: 1 June 1990
-- Keywords: Taylor, Laurent, Puiseux, series
-- References:

)clear all

-- Test functions in EXPR2UPS:

xT := taylor(x)
sin(tan(xT))
taylor(asec(2+x))
sec %
taylor(sin(x),x = %pi/4)

xL := laurent(x)
1/xL - cot(xL)
laurent(csc(x))
laurent(1/log(x),x = 1)

xP := puiseux(x)
sqrt(xP) - sqrt(sin(xP))
puiseux(sqrt(1 - cos(x))/x)
puiseux(sqrt(1 - tan(x)),x = %pi/2)

xS := series(x)
sin(xS)**(1/3) - sin(xS**(1/3))
series(log(tan(x)))
series(log(cot(x)),x = %pi/2)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}