kill(all)$

maxima:position integral before sum or reverse,version 1.0
peter.vlasschaert@gmail.com,15/03/2022

p1:sum(F(k),k,a,b);

p1a:integrate(p1*sin(x),x,0,inf);

p2a:intosum(p1a);

q1:sum(1/x^1/2,x,a,b);

q1a:'integrate(x^5*q1,x,0,m);

q2a:intosum(q1a);

q2b:ev(q2a,nouns);

q2c:args(q2a);

q2ca:part(q2a,0);

see : below reconstruct integral

q2cb1:part(q2c[1],1,0);
q2cb2:part(q2c[1],1,1);
q2cb3:part(q2c[1],1,2);
q2cb4:part(q2c[1],1,3);
q2cb5:part(q2c[1],1,4);

q2cb1a:part(q2c[1],0);

q2cb1b:part(q2c[1],2);/*value  before integral*/

q2cb1b1:part(q2c[1],2,0);/*value  before integral*/
q2cb1b2:part(q2c[1],2,1);/*value  before integral*/
q2cb1b3:part(q2c[1],2,2);/*value  before integral*/

rem : sum

q2c1:q2ca(x,x,1,inf);

rem : intergral

q2d:q2cb1(q2cb2,q2cb3,q2cb4,q2cb5);

simp:false;

q2d1:q2cb1(q2cb2*q2c1,q2cb3,q2cb4,q2cb5);

simp:true;

q2d2:q2d1;

solve : problem
--------------------------------------------
→ reconstruct : integral and sum
→ simp:false
--------------------------------------------
keywords : args,list,part
--------------------------------------------

-------------------------------------------------------------------------------------------------