1. Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
    Dismiss Notice

6÷2(1+2)=?

Discussion in 'Mathematics and Physics' started by Gobbledok, May 2, 2011.

Thread Status:
Not open for further replies.
  1. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    9,916
    Likes:
    1,097
    When I used a simple expression like 1+1 embedded in lots of parenthesis, the BASIC interpreter replied "Expression too complicated"
     
  2. Gobbledok

    Gobbledok Active Member

    Joined:
    Mar 9, 2008
    Messages:
    452
    Likes:
    34
    Location:
    Toowoomba, Australia
    Of course it can be read as having 2 results, that is the whole point.

    TBH I believe there is only 1 way to solve it. I do see how it can be ambiguous though.

    Here is a reply I wrote in the other forum:

    I think the problem arises because people who have done lots of algebra treat it as

    6÷(2(1+2)) = 1

    the same way Wolfram|Alpha treats algebra.

    Whereas people who are familiar with only the BODMAS method, treat it as

    (6÷2)(1+2) = 9

    the same way Wolfram|Alpha treats sums.

    So to people who have done lots of algebra, factoring the equation first (A(B+C)=(AB+AC)) is the most natural way.

    I personally have been taught that juxtaposition takes priority over other divisions/multiplications, so I use the same rule that the American Mathematical Society uses for it's submission guidelines.
     
    Last edited: May 4, 2011
  3. atferrari

    atferrari Well-Known Member

    Joined:
    Oct 8, 2003
    Messages:
    2,812
    Likes:
    121
    Location:
    Buenos Aires - Argentina
    LOT of, is maybe too much

    Have you tried with just two? :confused:
     
  4. dave

    Dave New Member

    Joined:
    Jan 12, 1997
    Messages:
    -
    Likes:
    0


     
  5. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    9,916
    Likes:
    1,097

    This was some 35+ years ago on a timesharing DEC PDP-11/20 or 11/50 running RSTS-11 and used Basic-Plus an intermediate code interpreter.

    I wrote something like:

    10 A=(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((1))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
    (assume the parens are matched)
    and got the error
    "Expression to Complicated"

    I loved to push the envelope and I could crash the machine at will for all 16 or 32 users at the time.

    Hey, the breaks are artifacts of VB. They are not in my input.
     
    Last edited: May 4, 2011
  6. misterT

    misterT Well-Known Member Most Helpful Member

    Joined:
    Apr 19, 2010
    Messages:
    2,697
    Likes:
    368
    Location:
    Finland
    In that example "a/b(c+d)" Wolfram Alpha treats 'b' as a function call. Try putting a space after the 'b' and you will get a different answer.
     
  7. SneaKSz

    SneaKSz Member

    Joined:
    Jul 5, 2010
    Messages:
    267
    Likes:
    4
    Location:
    Belgium
    There is a new math equation on FB :D
     
  8. DerStrom8

    DerStrom8 Super Moderator Most Helpful Member

    Joined:
    Aug 9, 2010
    Messages:
    5,484
    Likes:
    503
    Location:
    Vermont (GMT-5:00)
    I saw one of these that was asking what 2+2x2 equaled. Somebody actually started arguing with me, saying it was 8 :p:D
     
    Last edited: May 5, 2011
  9. RMMM

    RMMM New Member

    Joined:
    Jan 22, 2010
    Messages:
    357
    Likes:
    3
    Location:
    Maryland
    If you are trying to complicate things, and write in a way that can have more than one outcome, then you are writing poorly.

    Math is (supposed to be) a universal language. This should be written in a left to right order, using signs; not implied multiplication.

    Also, If you were using this like:

    The combination to the lock is
    4+6, 15*5, and 6÷2(1+2)

    We know that is unclear.

    Convert the division to a fraction and re-write.
     
  10. KeepItSimpleStupid

    KeepItSimpleStupid Well-Known Member Most Helpful Member

    Joined:
    Oct 30, 2010
    Messages:
    9,916
    Likes:
    1,097
    Depends on what you mean? Multiplication is always done first. The x can be interpreted as multiply or it can be interpreted as x.

    (1)
    ;

    (2)


    (3)


    I would interpret it as the least one because standard form would have it that way.

    This always seems to be a tough one for many -1^4 = 1
     
    Last edited: May 5, 2011
  11. DerStrom8

    DerStrom8 Super Moderator Most Helpful Member

    Joined:
    Aug 9, 2010
    Messages:
    5,484
    Likes:
    503
    Location:
    Vermont (GMT-5:00)
    Yeah, sorry--that was just how I wrote it. It is actually * (multiplication).
    (The answer is 6, by the way :p ) lol
     
  12. Nigel Goodwin

    Nigel Goodwin Super Moderator Most Helpful Member

    Joined:
    Nov 17, 2003
    Messages:
    39,228
    Likes:
    641
    Location:
    Derbyshire, UK
    OK, this thread has been pointless since the first post.

    It's now closed!

    Moderator.
     
Thread Status:
Not open for further replies.

Share This Page