Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5859
| From | swiss <gregoire.nicollier@hevs.ch> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | bug ? |
| Date | 2011-10-25 10:17 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j862b6$5ls$1@smc.vnet.net> (permalink) |
Following rational function has a double pole matched by a double root at (4+\sqrt{17})/4. The first result is correct, the other ones are false, but come without warning. Can somebody explain this to me?
In[50]:= Limit[-(((s (4 s - 5)^2 - (5 + 3 Sqrt[17])/
8 (4 s + 1)) ((4 s - 5)^2 -
4 (5 + 3 Sqrt[17])/8 (4 s - 7)))/(16 s^2 - 32 s - 1)^2),
s -> 1/4 (4 + Sqrt[17])]
Out[50]= 1/544 (331 - 19 Sqrt[17])
In[51]:= 1/544 (331 - 19 Sqrt[17]) // N
Out[51]= 0.46445
In[52]:= -(((s (4 s - 5)^2 - (5 + 3 Sqrt[17])/
8 (4 s + 1)) ((4 s - 5)^2 -
4 (5 + 3 Sqrt[17])/8 (4 s - 7)))/(16 s^2 - 32 s - 1)^2) /.
s -> 1/4 (4 + Sqrt[17]) // Simplify
Out[52]= 1/16 (1 + 2 Sqrt[17])
In[53]:= 1/16 (1 + 2 Sqrt[17]) // N
Out[53]= 0.577888
In[54]:= -(((s (4 s - 5)^2 - (5 + 3 Sqrt[17])/
8 (4 s + 1)) ((4 s - 5)^2 -
4 (5 + 3 Sqrt[17])/8 (4 s - 7)))/(16 s^2 - 32 s - 1)^2) /.
s -> 1/4 (4 + Sqrt[17.])
Out[54]= 0.09375
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
bug ? swiss <gregoire.nicollier@hevs.ch> - 2011-10-25 10:17 +0000
Re: bug ? Richard Fateman <fateman@cs.berkeley.edu> - 2011-10-26 21:48 +0000
Re: bug ? DrMajorBob <btreat1@austin.rr.com> - 2011-10-27 10:31 +0000
Re: bug ? Peter Pein <petsie@dordos.net> - 2011-10-28 09:37 +0000
Re: bug ? Peter Pein <petsie@dordos.net> - 2011-10-29 11:16 +0000
Re: Re: bug ? Andrzej Kozlowski <akoz@mimuw.edu.pl> - 2011-10-29 11:29 +0000
csiph-web