Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: could someone explain Mathematica's protests about division by zero here?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg69743] Re: [mg69686] Re: could someone explain Mathematica's protests about division by zero here?
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Fri, 22 Sep 2006 01:04:11 -0400 (EDT)
  • References: <eeqqvi$ot7$1@smc.vnet.net> <200609211129.HAA07605@smc.vnet.net>

N got in there because I had a rule: MakeBoxes[Newton,_]="N"

When I cut and pasted the code, it interpreted the box structures to
contain the symbol N. However, the behavior was exactly the same, so I
didn't bother to change it to something more innocuous.

I guess I was expecting some kind of error like: "too little
precision, you numskull" and not, "division by zero".

On 9/21/06, Jens-Peer Kuska <kuska at informatik.uni-leipzig.de> wrote:
> Hi,
>
> do you think it is a good idea to use the symbol N
> ?? Remember that N[expr] convert everything to
> floating
> point numbers.
>
> What do you expect when you combine numbers with
> 1.8 digits precision ?? and -1/2 with 2,3 digits
> ??
> Assuming[n > 0,
> Refine at Min[829046.769691507*n,
> 1.75*
> n*(1 - Sqrt[1 + (0.16*(-0.5*m*X + X^2))/m^2])]]
>
> work fine.
>
> Regards
>   Jens
>
> "Chris Chiasson" <chris at chiasson.name> schrieb im
> Newsbeitrag news:eeqqvi$ot7$1 at smc.vnet.net...
> | Assuming[N>0,
> |
> Refine at Min[829046.769691507`1.8176125240919663*N,
> |      1.75`1.7378880703663873*^8*
> |        N*(1-Sqrt[
> |
> 1+(0.1600000000000000944`3.096910013008058*(-0.5`2.\
> | 3979400086720393*m*X+X^2))/m^2])]]
> |
> | --
> | http://chris.chiasson.name/
> |
>
>
>


-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Split a file into multiple files using a pattern
  • Next by Date: Re: Re: an equation containg radicals
  • Previous by thread: Re: could someone explain Mathematica's protests about division by zero here?
  • Next by thread: Has anybody had any success creating new HSQLDB databases within Mathematica using DatabaseLink?