/usr/share/axiom-20140801/input/polygamma.input is in axiom-test 20140801-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 57 | )set break resume
)sys rm -f polygamma.output
)spool polygamma.output
)set message test on
)set message auto off
)clear all
--S 1 of 6
sum(1/k^2,k=1..n)
--R
--R n
--R --+ 1
--R (1) > --
--R --+ 2
--R k= 1 k
--R Type: Union(Expression(Integer),...)
--E 1
--S 2 of 6
f1(n)==sum(1/k^2, k=1..n)
--R Type: Void
--E 2
--S 3 of 6
f2(n)==-polygamma(1,n+1)+1/6*%pi^2
--R Type: Void
--E 3
--S 4 of 6
f2(5)
--R Compiling function f2 with type PositiveInteger -> DoubleFloat
--R
--R (4) 1.463611111111111
--R Type: DoubleFloat
--E 4
--S 5 of 6
f1(5)
--R Compiling function f1 with type PositiveInteger -> Union(Fraction(
--R Polynomial(Integer)),Expression(Integer))
--R
--R 5269
--R (5) ----
--R 3600
--R Type: Union(Expression(Integer),...)
--E 5
--S 6 of 6
%::DFLOAT
--R
--R (6) 1.4636111111111112
--R Type: DoubleFloat
--E 6
)spool
)lisp (bye)
|