MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Integral Convergence


Hi Viorel,

NIntegrate[f[x],{x,x0,x1,x2,x3,...,xn}] gives
NIntegrate[f[x],{x,x0,xn}] except it causes the algorithm to break the
integral into pieces which you can choose to not straddle the
discontinuity.

(See further-examples under Help-NIntegrate.)

David




In article <8gsnoh$ed1 at smc.vnet.net>,
  Viorel Ontalus <vio2 at mail.lehigh.edu> wrote:
> Dear All,
> I am having problems with some calculations and I am asking for help
or
> suggestions.
>
> I am integrating a piecewise defined function. The function is non
zero
> for some periodic intervals.
> When nonzero the function has the form f[x_]:=c * Sqrt[ 1-( (x-a)/b )
^2*
> UnitStep[1-( (x-a)/b )^2] ]
> with a, b, c constants
> g[y_]:=Integrate[f[x],{x,0,y}]
> I want to plot g[y]
> I get a lot of messages that are telling  :"Nintegrate failed to
> converge to prescribed accuracy"
> " Integration converging too slowly"   etc.
>
> Does anybody know a fix?
>
> Thanks Vio
>
>


Sent via Deja.com http://www.deja.com/
Before you buy.


  • Prev by Date: Re: contour-plot & ascii-art
  • Next by Date: Pb with ZeroTest
  • Previous by thread: Re: Integral Convergence
  • Next by thread: Fwd: Global Font Size