Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #8135
| From | DrMajorBob <btreat1@austin.rr.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: How to look for this kind of error |
| Date | 2012-01-25 12:01 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <jfoqv3$5ob$1@smc.vnet.net> (permalink) |
| References | <201201241008.FAA20312@smc.vnet.net> |
Even without Simplify or FullSimplify, Mathematica frequently makes
assumptions that don't hold in individual cases.
A trivial case is
x/x
1
which is wrong for x == 0.
Your expressions probably involve a more complicated form of the very same
cancellation.
Bobby
On Tue, 24 Jan 2012 04:08:48 -0600, Sam Takoy <sam.takoy@yahoo.com> wrote:
> Hi,
>
> Suppose I have a very complicated function TestCodazzi and
>
> TestCodazzi[0,2,3]
>
> returns one answer while
>
> TestCodazzi[0, x, y] //FullSimplify /. {x->2, y->3}
>
> returns a totally different answer. Now, there is a lot going on and I
> could start testing different parts of my code. However, could
> Mathematica show me the instances where it was making certain
> assumptions that may not be true, and so help me in tracking down this
> discrepancy?
>
> Many thanks in advance,
>
> Sam
>
--
DrMajorBob@yahoo.com
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: How to look for this kind of error DrMajorBob <btreat1@austin.rr.com> - 2012-01-25 12:01 +0000
csiph-web