Re: Odd behavior (bug?) with Exp[-x^2} and Erf
- To: mathgroup at smc.vnet.net
- Subject: [mg42949] Re: Odd behavior (bug?) with Exp[-x^2} and Erf
- From: Bill Rowe <listuser at earthlink.net>
- Date: Tue, 5 Aug 2003 02:05:01 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
On 8/4/03 at 12:45 AM, siegman at stanford.edu (AES/newspost) wrote: > Very reluctant to claim I've found a bug in Mathematica, but the > following cells certainly aren't doing what I expect them to: > f[x_] = (Exp[-5(x + 1)^2] + Exp[-5x^2] + Exp[-5(x - 1)^2])^2 > Plot[f[x], {x, 0, 2}, PlotRange -> {{0, 2}, {0, 2}}]; > g[y_] = Integrate[f[x], {x, 0, y}, Assumptions -> y > 0] > Plot[g[y], {y, 0.001, 2}, PlotRange -> {{0, 2}, {0, 1}}]; What do you see that you don't expect?
- Follow-Ups:
- Re: Re: Odd behavior (bug?) with Exp[-x^2} and Erf
- From: Peter Pein <peter1963@totalise.co.uk>
- Re: Re: Odd behavior (bug?) with Exp[-x^2} and Erf