Re: numerical integral
- From: mecej4 <mecej4_spam_nyet@xxxxxxxxxxxxx>
- Date: Tue, 19 Aug 2008 17:06:51 -0500
philips wrote:
Hi All,How about this (verify before using!)
Do you know how to time-efficiently compute the integral
\integral_{xmin}^{xmax} (\exp(\sum_{ k=1 }^{n} (a_{k} * x^{k})) dx
for some fixed xmin, xmax and n.
Maybe some tricky change of variables for start.....
r=s=a_n/(n+1)
for i=n-1,n-2,...,1
t=a_i/(i+1)
r=(r*x_max+t)
s=(s*x_min+t)
end for
result=r*x_max-s*x_min
-- mecej4
.
- Follow-Ups:
- Re: numerical integral
- From: Jean-Claude Arbaut
- Re: numerical integral
- References:
- numerical integral
- From: philips
- numerical integral
- Prev by Date: C++ Matrix & Linear Algebra library
- Next by Date: Re: numerical integral
- Previous by thread: numerical integral
- Next by thread: Re: numerical integral
- Index(es):
Relevant Pages
|