mew26

10 Reputation

One Badge

15 years, 110 days

MaplePrimes Activity


These are replies submitted by mew26


 

``

applyrule(int(p(t, x)*x^n::integer, x = -infinity .. infinity) = m[n](t), int(p(t, x)*x^2, x = -infinity .. infinity)-m[1](t)^2)

 

This code works for me :)
 

Download question.mw

@Carl Love 
 

subs(int(p(t, x)*x^n, x = -infinity .. infinity) = m[n](t), int(p(t, x)*x^2, x = -infinity .. infinity)-m[1](t)^2)

int(p(t, x)*x^2, x = -infinity .. infinity)-m[1](t)^2

(1)

``


I want Maple to replace the integral term by m_2

BUT: I want Maple do this generically depending on the index n.

Thanks!

 

 

 

Page 1 of 1