MathGroup Archive 2008

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

Search the Archive

NIntegrate[UnitStep[...]PDF[...],{x,...}] hard to integrate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg93388] NIntegrate[UnitStep[...]PDF[...],{x,...}] hard to integrate
  • From: er <erwann.rogard at gmail.com>
  • Date: Wed, 5 Nov 2008 04:57:24 -0500 (EST)

hello,

i have:

f[x_]=(0.014999775454701741*E^(5.264*x) +
E^(2.632*x)*(-0.012692488700608462 - 0.14964297032258167*x))/
 (12.579644604014753 + 7.102251209677398*E^(2.632*x) + E^(5.264*x))

g[t_]:=NIntegrate[ UnitStep[t-f[x]] PDF[ NormalDistribution[0,1/2],x],
{x,-Infinity,Infinity} ]

g[0] runs for a very long time before forcing the kernel to quit, let
alone FindRoot[g[t]==0.25,{t,-1,1}]

Note that f[x]PDF[NormalDistribution[0,1/2],x] integrates to 0 and i
virtually zero outside [-2,2]

I use Mathematica 5.2/Ubuntu/4GB/IntelCoreDuo2

any recommandation?

thanks!



  • Prev by Date: Re: Mathematica Help Urgent (Very New Beginner)
  • Next by Date: Re: LabeledListPlot
  • Previous by thread: Re: bar chart
  • Next by thread: Re: NIntegrate[UnitStep[...]PDF[...],{x,...}] hard to integrate