Can you solve 8÷2(2+2)?

Discussion in 'Other News' started by Chinatown, Aug 1, 2019.

  1. Truckers Report Jobs

    Trucking Jobs in 30 seconds

    Every month 400 people find a job with the help of TruckersReport.

  2. Dave_in_AZ

    Dave_in_AZ Road Train Member

    57,577
    394,512
    May 4, 2015
    0
    OMG word problems. Dude. Does Johnny get benefits? Is the truck governed? Does Johnny get to keep the FSC? Is this 1099?
     
    lilillill and Cattleman84 Thank this.
  3. buddyd157

    buddyd157 Road Train Member

    13,576
    34,885
    May 25, 2017
    under a shade tree
    0
    factor in a bad case of hemorrhoids, and Johnny gonna be itching all the way to the poor house.
     
    MartinFromBC and Cattleman84 Thank this.
  4. tinytim

    tinytim Road Train Member

    5,143
    18,448
    Oct 29, 2007
    Northern Ontario
    0
    I'll take that bet. You'll never get complete agreement but the idea that multiplication and division are treated equally and you work from left to right gives 16 as the correct answer.

    8÷2(2+2)
    1st you do 2+2, now you have no brackets and are left with 8÷2x4. Left to right you end up with 16.
    8÷[2(2+2)] on the other hand...
     
  5. lilillill

    lilillill Sarcasm... it's not just for breakfast

    5,642
    13,471
    Nov 7, 2007
    Possum Booger, Alabama
    0
    It all depends on how you treat the term 2(4)—implicit or explicit.

    If you treat it implicitly, then it's:

    8
    ------- = 1
    2(2+2)

    If you treat it explicitly, as most programming languages do (and Texas Instruments calculators), then it's:

    8
    ---- * (2+2) = 16
    2

    Make sense? Coming from the programming industry, my brain is wired for the latter.
     
    MartinFromBC and tinytim Thank this.
  6. MartinFromBC

    MartinFromBC Road Train Member

    2,769
    12,478
    Oct 19, 2018
    0
    So I just put it into Google to see what it said.
    Google say the answer is 16.
    Screenshot_20190803-105813_Chrome.jpg
     
    Cat sdp Thanks this.
  7. lilillill

    lilillill Sarcasm... it's not just for breakfast

    5,642
    13,471
    Nov 7, 2007
    Possum Booger, Alabama
    0
    Google is probably doing that in Javascript, which will treat it as explicit.
     
  8. speedyk

    speedyk Road Train Member

    1,837
    2,470
    Apr 8, 2015
    0
  9. lilillill

    lilillill Sarcasm... it's not just for breakfast

    5,642
    13,471
    Nov 7, 2007
    Possum Booger, Alabama
    0
    So I just tried a couple of experiments in Excel and in Access Visual Basic. Both require explicit terms in the expression.

    6FDCCA9F-6262-453B-91DA-A973CCD72663.jpeg

    And in Access VB

    7FD2622A-2FE2-446E-A4B8-E35FB12D20BF.jpeg

    we get...

    2FB2901E-26A9-4F2E-8A2D-60A0826FD2B3.jpeg

    Neither will let you do an implied multiplication.
     
    tinytim Thanks this.
  10. MartinFromBC

    MartinFromBC Road Train Member

    2,769
    12,478
    Oct 19, 2018
    0
    Because the answer is 16.
     
  • Truckers Report Jobs

    Trucking Jobs in 30 seconds

    Every month 400 people find a job with the help of TruckersReport.