File: sumcon.dem

package info (click to toggle)
maxima 5.10.0-6
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 44,268 kB
  • ctags: 17,987
  • sloc: lisp: 152,894; fortran: 14,667; perl: 14,204; tcl: 10,103; sh: 3,376; makefile: 2,202; ansic: 471; awk: 7
file content (16 lines) | stat: -rw-r--r-- 250 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
gensumindex:0$
y:sum(a[i]*x^i,i,0,inf);
y1:diff(y,x);
y2:diff(y1,x);
(x^2+1)*y2+3*x*y1+2*y;
expand(%);
factor(%);
intosum(%)$
bashindices(%);
changevar(%,(j4-2)-j,j,j4);
niceindices(%);
sumcontract(%);
factor(%);
part(%,1);
%/x^i=0;
solve(%,a[i+2]);