MathGroup Archive 2009

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

Search the Archive

Re: Integrate and Piecewise

  • To: mathgroup at smc.vnet.net
  • Subject: [mg98473] Re: Integrate and Piecewise
  • From: "William O. Bray" <bray at math.umaine.edu>
  • Date: Fri, 10 Apr 2009 04:56:47 -0400 (EDT)

How about:

f3[s_, a_, t0_] := 
 Evaluate[Integrate[f4[t, a, t0], {t, -Infinity, s}]]

Plot[f3[s, 1, 0], {s, -3, 3}, PlotRange -> All]

The integration and plotting seems a tad slow. One could use Piecewise to define f3 by making it zero for s<a.


  • Prev by Date: Re: PlotLegends bug?
  • Next by Date: Constructing Lists: Alternating accumulation?
  • Previous by thread: Re: Integrate and Piecewise
  • Next by thread: Re: Integrate and Piecewise