Subject: problem with integration of gaussian distribution
From: Leo Butler
Date: Mon, 6 Jul 2009 22:11:44 +0100 (BST)
On Mon, 6 Jul 2009, Riemann, Robert wrote:
< >> What must I do, to let Maxima sort some summands in powers of p?
< >
< >I'm sorry, I don't understand.
<
< (any function f(p)) => (...)p^0+(...)p^1+(...)p^2+...
<
< If I know the term (...) in front of p^0, i could substitute it to reduce the
< number of variables (in my case from 6 to 3)
I think that you want to use 'collectterms' to do this work.
Since your integrand is of the form
q*exp(a*p^2+b*p+c)
it is probably best to determine these coefficients for your problem,
and integrate the above expression, and substitute back. This way, the
functional dependence is pretty clear.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.