- To: mathgroup at smc.vnet.net
- Subject: [mg65226] Re: BinomialDistribution
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Sun, 19 Mar 2006 03:19:03 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 3/18/06 at 6:40 AM, J.A.Solomon at city.ac.uk (Solomon, Joshua)
>This makes me feel foolish.
>This gives me a nice, bell-shaped curve, with a minimum of about 0
>and a maximum of about .09. Let's integrate it from 0 to .29.
>How can this be negative?
The problem is the default precision when Integrate substitutes values for u into the symbolic solution. The simplest solution is to use NIntegrate instead of Integrate, i.e.,
Equivalently, you could change the limits for integration to an exact number and convert the answer to a machine precision number using N, i.e,
To reply via email subtract one hundred and four
Prev by Date:
Next by Date:
Re: Combined Graphics3D with Separate PlotRange?
Previous by thread:
Next by thread: