Some Logic equation

  • Bloody GangBang
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Aug 06, 2010
  • Posts: 7
  • Status: Offline

Post August 16th, 2010, 6:45 am

i think there's some mis-logic in "dead" thing..
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 16th, 2010, 6:45 am

  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post August 16th, 2010, 10:32 am

I'll just leave these here:

http://en.wikipedia.org/wiki/Validity
http://en.wikipedia.org/wiki/Soundness
The Beer Monocle. Classy.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post August 16th, 2010, 7:55 pm

All but one truth will one day be proven wrong. Or, as UNFLUX used to say, the only constant is change.

Some people say you can't divide by zero, I ask, what happens to the thing that was supposed to be divided, where does it go ?
Strong with this one, the sudo is.
  • Hob Bramble
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 21, 2004
  • Posts: 351
  • Loc: Indiana, USA
  • Status: Offline

Post August 17th, 2010, 12:15 am

joebert wrote:
All but one truth will one day be proven wrong.


Including that. *wink*
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post August 17th, 2010, 5:13 am

I love logic. It was my favorite college class. I still have the book in a box in storage somewhere.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post August 17th, 2010, 9:11 am

joebert wrote:
Some people say you can't divide by zero, I ask, what happens to the thing that was supposed to be divided, where does it go ?

It doesn't "go" anywhere. You can't divide by zero in the first place; it has no mathematical meaning to do so.
The Beer Monocle. Classy.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post August 17th, 2010, 12:37 pm

Quote:
It doesn't "go" anywhere. You can't divide by zero in the first place; it has no mathematical meaning to do so.


I start out with an empty room that I want to divide into zero equal spaces. I still have an empty room even if it wasn't divided, don't I ?

I can't simply forget the left operand existed, just because there was nowhere to send it.

If it's not possible to divide by zero, why do programming languages have error handlers for when it happens ? :D
Strong with this one, the sudo is.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post August 17th, 2010, 1:31 pm

Quote:
My teacher says you can't divide a number by zero. Why?

Let's look at some examples of dividing other numbers.

10/2 = 5 This means that if you had ten blocks, you could
separate them into five groups of two.

9/3 = 3 This means that if you had nine blocks, you could
separate them into three groups of three.

5/1 = 5 Five blocks could be separated into five groups
of one.

5/0 = ? Into how many groups of zero could you separate
five blocks?

It doesn't matter how many groups of zero you have, because they would never add up to five since 0+0+0+0+0+0 = 0. You could even have one million groups of zero blocks, and they would still add up to zero. So, it doesn't make sense to divide by zero since there is not a good answer.

If you know a little bit about multiplication, you could look at it this way:

10/2 = 5 This means that 5 x 2 = 10

9/3 = 3 This means that 3 x 3 = 9

5/1 = 5 This means that 5 x 1 = 5

5/0 = ? This would mean that the answer x 0 = 5, but
anything times 0 is always zero.

So there isn't an answer.

- Dr. Margaret

Credit

If you didn't know that, after watching this video, you'll never forget it...



http://www.youtube.com/watch?v=mNDtKi2cPR0
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Joined: May 22, 2004
  • Posts: 3415
  • Loc: Richland, WA
  • Status: Offline

Post August 17th, 2010, 3:51 pm

Quote:
10/2 = 5 This means that if you had ten blocks, you could
separate them into five groups of two.

When I read that I was epecting them to say you "separated them into two groups of five.

Did anyone else expect this, or have I been think of division the wrong way for my entire life?

I know they are the same thing but, I wonder how others seperate them out.

Same with this:
Quote:
5/1 = 5 Five blocks could be separated into five groups
of one.


When I read that I think one group of five.
#define NULL (::rand() % 2)
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post August 17th, 2010, 4:40 pm

joebert wrote:
I start out with an empty room that I want to divide into zero equal spaces. I still have an empty room even if it wasn't divided, don't I ?

I can't simply forget the left operand existed, just because there was nowhere to send it.

If it's not possible to divide by zero, why do programming languages have error handlers for when it happens ? :D

You're not thinking about it correctly. The dividend doesn't "need to go anywhere" because you're not doing anything to it in the first place. A room that is never divided by anything is still the same room. And since division by zero has no meaning, you're never doing a division.

Programming languages have handlers for such an error because trying to divide by zero is an error. To not treat it as such would break mathematics and cause your dearest loved ones to catch on fire.
The Beer Monocle. Classy.
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post August 19th, 2010, 5:09 am

Error handlers are designed to keep the program from crashing in cases the programmer hasn't figured out how to deal with yet.

If the equation exists, there has to be a way to solve it.

zero divided by anything is universally accepted to result in zero. Why does that work, and why can't anything divided by zero result in the original anything being returned ?

0 / 1 = 0
1 / 0 = 1
Strong with this one, the sudo is.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post August 19th, 2010, 5:24 am

joebert wrote:
Error handlers are designed to keep the program from crashing in cases the programmer hasn't figured out how to deal with yet.

If the equation exists, there has to be a way to solve it.

zero divided by anything is universally accepted to result in zero. Why does that work, and why can't anything divided by zero result in the original anything being returned ?

0 / 1 = 0
1 / 0 = 1


I think I actually have to agree with you on this one. Semantically speaking, if you substitute the word nothing for the number zero, any number divided by nothing equals the original number because there is no division taking place. From a mathematical view I know that's wrong, but it certainly makes sense to me.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • spork
  • Brewmaster
  • Silver Member
  • User avatar
  • Joined: Sep 22, 2003
  • Posts: 6128
  • Loc: Seattle, WA
  • Status: Offline

Post August 19th, 2010, 9:37 am

joebert wrote:
Error handlers are designed to keep the program from crashing in cases the programmer hasn't figured out how to deal with yet.

If the equation exists, there has to be a way to solve it.

zero divided by anything is universally accepted to result in zero. Why does that work, and why can't anything divided by zero result in the original anything being returned ?

0 / 1 = 0
1 / 0 = 1


Because if A / B = C, then it must follow that C * B = A.

In the equation D / 0 = E, there is no number E that, when multiplied by zero, gives a non-zero number D.
The Beer Monocle. Classy.

Post Information

  • Total Posts in this topic: 28 posts
  • Users browsing this forum: No registered users and 173 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.