Re: Bug in math4
- To: mathgroup at smc.vnet.net
- Subject: [mg20698] Re: [mg20633] Bug in math4
- From: Hendrik van Hees <h.vanhees at gsi.de>
- Date: Mon, 8 Nov 1999 02:48:44 -0500
- Organization: GSI Darmstadt
- References: <8038b8$af5@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
What's also interesting is that one can get the correct result as
follows:
vanhees at tp-hees:~ > math
Mathematica 4.0 for Students: Linux Version
Copyright 1988-1999 Wolfram Research, Inc.
-- Motif graphics initialized --
In[1]:= f[x_] = Integrate[Sqrt[2 - Sin[x]], x]
Pi
-- - x
2
Out[1]= -2 EllipticE[------, -2]
2
In[2]:= N[f[4]-f[1]]
Out[2]= 3.73785
It seems that Mathematica solves a definite integral different from an
indefinite one. That's rather strange.
--
Hendrik van Hees Phone: ++49 6159 71-2755
c/o GSI-Darmstadt SB3 3.162 Fax: ++49 6159 71-2990
Planckstr. 1 mailto:h.vanhees at gsi.de
D-64291 Darmstadt http://www.gsi.de/~vanhees/index.html