Skip to comments.
1200-year-old problem 'easy' [dividing by zero]
BBC ^
| 12/8/06
Posted on 12/08/2006 12:20:06 PM PST by LibWhacker
click here to read article
Navigation: use the links below to view more comments.
first previous 1-20 ... 181-200, 201-220, 221-240 ... 321-333 next last
To: null and void
You didn't ping me to this thread because????? S/he did'nt think s/he could get your undivided attention.
201
posted on
12/08/2006 2:18:24 PM PST
by
Erasmus
(Go to Sebastopol and Crimea River.)
To: Stone Mountain
I suspect I'm missing something here. What is it?
In most programming tools, there is a difference between integer division and rational division. In most programs, if I say x = 3/2, I get 1 for answer because 2 goes into three once. Basically, integer division drops the remainder. However, if I say x= 3.0/2.0, I'll get 1.5, much as you'd normally expect. The addition of the .0 would tell the code that we're doing rational division. Also, some programs will automatically typecast. If I use an integer variable but divide it by a rational variable, some packages will do rational division for me by typecasting the integer into a rational number automatically. In other packages you might have to do this by hand, depending on how strict the typing in that language is.
In the real world 3/2 = 3.0/2.0. In programming, it doesn't.
202
posted on
12/08/2006 2:19:36 PM PST
by
JamesP81
(If you have to ask permission from Uncle Sam, then it's not a right)
To: Erasmus
If you were doing a chain of calculations and somewhere along the chain the quantity would become unrepresentable, it would come out as NAN, which would be propagated throughout the remainder of your calculation. Yup. But airplanes can't navigate to "NAN". I had forgotten that IEEE floating point has an infinite representation. If divide by zero return that, and it worked OK in following transactions, that would be jake. But NAN doesn't compute.
Stubborn math professors who don't comprehend that there is a real world out there drive how these things operate and it makes things difficult. Got to put in special code to pre-test for this stuff just to make them feel good about the universe.
203
posted on
12/08/2006 2:19:58 PM PST
by
narby
To: MortMan
I am a programmer with a fairly extensive mathematical background. However, the schooling has had a fair number of years (not yet approaching infinity) to wear off. Your answer did not at all offend me.
204
posted on
12/08/2006 2:20:07 PM PST
by
Ingtar
(Prensa dos para el ingles)
To: IYAAYAS
i may also be "imaginary" but when used in electrical equations it can predict real world measurable results. Actually because I stands for current, the EE jocks have to use "j".
205
posted on
12/08/2006 2:20:33 PM PST
by
Erasmus
(Go to Sebastopol and Crimea River.)
To: vrwc1
So since there are so many ways of dealing with the divide by zero problem in a computer program, the concept of "nullity" isn't really useful to programmers, right?
I wouldn't say its not useful, but maybe not of overriding importance. It'd have some applications in discrete math, which is what computer scientists gravitate towards instead of high level calculus.
206
posted on
12/08/2006 2:20:44 PM PST
by
JamesP81
(If you have to ask permission from Uncle Sam, then it's not a right)
To: bert
Yeah, and explain it to a guy with missing fingers . . .
To: 2banana
LOL
Thanks for the math lesson!
Some of us, however, have been able to deduce this with empirical data obtained from personal observation.
That is to say, watching a close friends marriage go 'bad'.
208
posted on
12/08/2006 2:25:44 PM PST
by
ASOC
(The phrase "What if" or "If only" are for children.)
To: LibWhacker
Is nulity divided by nulity, zero or nul[ity]?
209
posted on
12/08/2006 2:25:57 PM PST
by
PISANO
To: Tinman
Hi, Tinman!... See my comment at post #70. It's the standard explanation you get in algebra class for not allowing division by zero. In short, no matter which numerator you try to divide zero into, you'll either run into a problem of nonexistence (of an answer) or a problem of non-uniqueness (of an answer). So division by zero is left undefined for all numerators.
To: lepton
Another is that it simultaneously yields all values. Dividing both sides by zero lets you simply pick which ones Like this.
a = b
a^2 = a*b
a^2-b^2 = a*b-b^2
(a+b)(a-b) = b(a-b)
(a+b) = b
a+a = a
2a = a
2 = 1
211
posted on
12/08/2006 2:27:19 PM PST
by
OSHA
(I am become OSHA, destroyer of beers.)
To: narby
Yup. But airplanes can't navigate to "NAN". I had forgotten that IEEE floating point has an infinite representation. Of course not. But the point is for the program to be able to catch the NaN before applying it, and do something appropriate instead.
212
posted on
12/08/2006 2:29:38 PM PST
by
Erasmus
(Go to Sebastopol and Crimea River.)
To: JamesP81
I wouldn't say its not useful, but maybe not of overriding importance. I have yet to see anyone on this thread offer any compelling reason that "nullity" would be useful in a computer program.
It'd have some applications in discrete math, which is what computer scientists gravitate towards instead of high level calculus.
I have the feeling that 99.9% of all college professors teaching discrete math would be violently opposed the concept of "nullity".
213
posted on
12/08/2006 2:30:48 PM PST
by
vrwc1
To: narby
I do not think that crossing the equator would be any reason for concern. I suspect this has been "worked around" many times and that there are many redundant systems in aircraft to take care of the problem.
214
posted on
12/08/2006 2:33:09 PM PST
by
mountainlyons
(Hard core conservative)
To: gb63
"Loved those TRS-80's. Give me!"
I still have my TRS-80 Color Computer! It has 64k RAM AND Extended Basic!!!
215
posted on
12/08/2006 2:33:12 PM PST
by
Syntyr
(Freepers - In the top %5 of informed Americans!)
To: vrwc1
That's what MAX_INT is for integer types! Yeah. But if I thought I might get that result I don't think I'd pick such a limited data type as INT. But that's just me.
I'm don't see how the concept of "nullity" does that.
By giving hardware manufacurers an excuse. Mathematics may not need the concept of a "nullity", but humans do.
But, nevermind. I'm sure the mathematics geeks will get all offended by this and make such a stink that the concept will die and the hardware changes won't be made.
I'm sure centuries from now, programmers will be pre-testing for zero and handling the issue manually, and dealing with computer crashes from nowhere when they forget.
216
posted on
12/08/2006 2:33:17 PM PST
by
narby
To: Stone Mountain
No, he calls it a "theorem." That means he claims to have a proof.
To: LibWhacker
Fair enough.
I'll go away now. <)8-(
;-)
Regards
218
posted on
12/08/2006 2:36:30 PM PST
by
Tinman
(Yankee by birth, Texan by Choice..."Support the Troops" shouldn't be just a bumper sticker)
To: bert
2+2=5 for LARGE values of 2
or small values of 5
219
posted on
12/08/2006 2:36:48 PM PST
by
Raycpa
To: OSHA
220
posted on
12/08/2006 2:37:44 PM PST
by
lepton
("It is useless to attempt to reason a man out of a thing he was never reasoned into"--Jonathan Swift)
Navigation: use the links below to view more comments.
first previous 1-20 ... 181-200, 201-220, 221-240 ... 321-333 next last
Disclaimer:
Opinions posted on Free Republic are those of the individual
posters and do not necessarily represent the opinion of Free Republic or its
management. All materials posted herein are protected by copyright law and the
exemption for fair use of copyrighted works.
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson