File: sumcon.dem

package info (click to toggle)
maxima-sage 5.42.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 147,292 kB
  • sloc: lisp: 382,572; fortran: 14,666; perl: 14,365; tcl: 11,123; sh: 4,487; makefile: 2,517; ansic: 444; xml: 23; awk: 17; sed: 17
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]);