sum integrate noun form
- Subject: sum integrate noun form
- From: Barton Willis
- Date: Mon, 1 Dec 2008 20:59:52 -0600
OK, let's try funmake(nounify(sum), ['integrate( f, y, y1, y2), m, m1,
m2])). I get
(%i87) istosi('integrate( 'sum( x^n, n, 1, 3), x, 0, 1 ));
sums=sum(x^n,n,1,3)
y=x
y1=0
y2=1
f=x^n
m=n
m1=1
m2=3
(%o87) sum(integrate(x^n,x,0,1),n,1,3)
(%i88) grind(%);
'sum('integrate(x^n,x,0,1),n,1,3)$
Barton
-----maxima-bounces at math.utexas.edu wrote: -----
>that?almost?gets?what?I?want,?but?doesn't?get?the?noun?form?'sum.
>I?want?to?look?at?what?happens?with?two?separate?commands.
>
>%,integrate;?-->??integral?done,?but?sum?not?done.
>then
>%,sum;??---->?sum?finally?done.
>-----------------------
>using?your?funmake(..)?line,?my?program?gives
>
>(%i2)?display2d:false$
>(%i3)?e:'integrate('sum(x^n,n,1,3),x,0,1);
>(%o3)?'integrate('sum(x^n,n,1,3),x,0,1)
>(%i4)?istosi(e);
>sums?=?'sum(x^n,n,1,3)
>y?=?x
>y1?=?0
>y2?=?1
>f?=?x^n
>m?=?n
>m1?=?1
>m2?=?3
>(%o4)?sum('integrate(x^n,x,0,1),n,1,3)
>
>not?really?a?double?noun?form,?since
>
>(%i5)?grind(%)$
>sum('integrate(x^n,x,0,1),n,1,3)$