[Date Index] [Thread Index] [Author Index]
Re: Re: could someone explain Mathematica's protests about division by zero here?
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/