posible bug - clashing variable names in integrals
Subject: posible bug - clashing variable names in integrals
From: Barton Willis
Date: Sun, 4 Oct 2009 11:36:18 -0500
-----maxima-bounces at math.utexas.edu wrote: -----
>You?might?want?to?reformulate?integration,?e.g.??make?dint(f,a,b)?the
>standard,?where
>f?looks?like?lambda([x],x^2+sin(x)?....)
>
>that?is,?an?explicit?function.
I like this idea--sometime ago, I experimented with such a function that
does this
for sums. I used "->" as shorthand for a lambda form:
(%i3) load("C:mysum2.lisp");
(%i4) fsum(k -> 1/k,1,n);
(%o4) psi[0](n+1)+%gamma
(%i5) fsum(k ->binomial(n,k) * binomial(2*n,k)/k!,1,n);
(%o5) 2*hypergeometric([1,1-2*n,1-n],[2,2,2],1)*n^2
(%i6) subst(n=10,%);
(%o6) 17467098049/151200
Barton