File: sumcon.dmo

package info (click to toggle)
maxima 5.6-17
  • links: PTS
  • area: main
  • in suites: woody
  • size: 30,572 kB
  • ctags: 47,715
  • sloc: ansic: 154,079; lisp: 147,553; asm: 45,843; tcl: 16,744; sh: 11,057; makefile: 7,198; perl: 1,842; sed: 334; fortran: 24; awk: 5
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]);