File: sumcon.dem

package info (click to toggle)
maxima 5.21.1-2squeeze
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 94,928 kB
  • ctags: 43,849
  • sloc: lisp: 298,974; fortran: 14,666; perl: 14,325; tcl: 10,494; sh: 4,052; makefile: 2,975; ansic: 471; awk: 24; sed: 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]);