File: sumcon.dem

package info (click to toggle)
maxima 5.38.1-8
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 141,320 kB
  • ctags: 69,979
  • sloc: lisp: 351,298; fortran: 14,666; perl: 14,365; tcl: 11,087; sh: 4,741; makefile: 2,537; ansic: 420; awk: 24; sed: 10; xml: 9
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]);