aboutsummaryrefslogtreecommitdiff
path: root/src/input/bernpoly.input.pamphlet
blob: f2db3a16e28f240aa2093b3c2024766b43673787 (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
\documentclass{article}
\usepackage{axiom}
\begin{document}
\title{\$SPAD/src/input bernpoly.input}
\author{The Axiom Team}
\maketitle
\begin{abstract}
\end{abstract}
\eject
\tableofcontents
\eject
\section{License}
<<license>>=
--Copyright The Numerical Algorithms Group Limited 1994.
@
<<*>>=
<<license>>
-- the first 10 Bernoulli polynomials (Approximate Calculation of Integrals
-- by V. Krylov Macmillan 1962 p13)
draw(1,x=0..1)
draw(x-(1/2),x=0..1)
draw(x**2-x+(1/6),x=0..1)
draw(x**3-(3/2)*x**2+(1/2)*x,x=0..1)
draw(x**4-2*x**3+x**2-(1/30),x=0..1)
draw(x**5-(5/2)*x**4+(5/3)*x**3-(1/6)*x,x=0..1)
draw(x**6-3*x**5+(5/2)*x**4-(1/2)*x**2+(1/42),x=0..1)
draw(x**7-(7/2)*x**6+(7/2)*x**5-(7/6)*x**3+(1/6)*x,x=0..1)
draw(x**8-4*x**7+(14/3)*x**6-(7/3)*x**4+(2/3)*x**2-(1/30),x=0..1)
draw(x**9-(9/2)*x**8+6*x**7-(21/5)*x**5+2*x**3-(3/10)*x,x=0..1)
draw(x**10-5*x**9+(15/2)*x**8-7*x**6+5*x**4-(3/2)*x**2+(5/66),x=0..1)
@
\eject
\begin{thebibliography}{99}
\bibitem{1} nothing
\end{thebibliography}
\end{document}