Why you like programming?

This is a discussion on Why you like programming? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; >> Not right. Well, it tends towards zero, and seeing as infinity is an abstraction, it was loosely said. 1/1 ...

  1. #46
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    >> Not right.

    Well, it tends towards zero, and seeing as infinity is an abstraction, it was loosely said.

    1/1 = 1.
    1/0.5 = 2
    1/.25 = 4
    1/.125 = 8
    ...
    1/0.00000000000000000000000000125 = 800000000000000000000000000

    see any pattern? Towards what 'number' does the result tend as the denominator tends towards 0, but can't reach? Infinity. I always found it slightly odd that while x/0 is undefined, x/infinity is just 0 ... if you do some 'manipulation' ...


    EDIT - oh dear ... this has just turned into a maths debate Never thought I'd see the day when I would be debating maths

  2. #47
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,529
    twomers & risby: There is also the theory that you're wrong and the only reason dividing by zero is so bad is because you can mathematically prove anything you want to be true.

    For any real number x:
    x^2 − x^2 = x^2 − x^2
    Factoring both sides in two different ways:
    (x − x)(x + x) = x(x − x)
    Dividing both sides by x − x, giving (0 / 0):
    (0 / 0)(x + x) = x(0 / 0)
    Simplified, yields:
    (1)(x + x) = x(1)
    Which is:
    2x = x
    Since this is valid for any value of x, we can plug in x = 1.
    2 = 1

    I have broken the Universe. OH SHI—

  3. #48
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    Calculus is pretty much based around dividing my zero.

    I wish I remembered more of Douglas Adams' books :/


    edit -

    well x/0 is one thing, but 0/0 is quite another

  4. #49
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,529
    Doesn't mean that it isn't relevant.

  5. #50
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    I know, but the question is whether 0/0 is 1 because what's above the line is the same as what's below, or whether it's 0 because what's above the line is 0 ... I prefer to use L'Hopital's rule to simplify these kinds of things instead of relying on my breaking down and simplification power.

  6. #51
    Registered Luser risby's Avatar
    Join Date
    Jun 2006
    Posts
    72
    Quote Originally Posted by twomers
    1/1 = 1.
    1/0.5 = 2
    1/.25 = 4
    1/.125 = 8
    ...
    1/0.00000000000000000000000000125 = 800000000000000000000000000

    see any pattern? Towards what 'number' does the result tend as the denominator tends towards 0, but can't reach? Infinity. I always found it slightly odd that while x/0 is undefined, x/infinity is just 0 ... if you do some 'manipulation' ...

    EDIT - oh dear ... this has just turned into a maths debate Never thought I'd see the day when I would be debating maths
    You are right, of course. And I do feel like a right mathsdebater.
    ===
    Don't grumble about what you can't have;
    be grateful you don't get what you deserve.

  7. #52
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Now what do you feel about Computer science logic and graph theory

    *cracks out notebook*

  8. #53
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    You can do so much with it.

    My good side:
    Like bubba said, it brings out the creativity in me, wich would explain why I enjoy making games most of all.

    My bad side:
    Most people no nothing about computers. So I can take advantage of that. *devil*

  9. #54
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,262
    One more thing though ... I believe we should embrace the ideals of the Romans and not have a number zero!!

  10. #55
    Registered User
    Join Date
    Mar 2002
    Posts
    1,595
    Saving people's lives on a daily basis was getting a bit stressful. I find it relaxing to only have to deal with two types of strings, untangle bugs such as This not being the same as this, and grasping concepts like this pointing to itself, etc. ;-)
    You're only born perfect.

  11. #56
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,529
    > Saving people's lives on a daily basis was getting a bit stressful
    If you don't mind me asking, how did you save lives? Were you a doctor?

  12. #57
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    Mario,

    I like your awnser.

    Although your avatar is junk.

  13. #58
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    The old avatar was better...
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  14. #59
    Registered User
    Join Date
    May 2006
    Location
    Troy
    Posts
    14
    If there's any reason not to become a math major, it's the pain you get from reading these divide by zero conversations.

  15. #60
    Registered Luser risby's Avatar
    Join Date
    Jun 2006
    Posts
    72

    Talking

    Quote Originally Posted by Rash
    If there's any reason not to become a math major, it's the pain you get from reading these divide by zero conversations.
    This divisive comment adds zero to the conversation.
    ===
    Don't grumble about what you can't have;
    be grateful you don't get what you deserve.

Page 4 of 6 FirstFirst 123456 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21