721
I dunno (piefed.cdn.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] Digit@lemmy.wtf 18 points 2 days ago* (last edited 2 days ago)

Hrmm.

I read that as resulting in 21.

My education system did fail me.

I plugged that into ghci as 2+5*(8-5), and it says 17.

:(

I did (2+5)*(8-5).

Doh.

[Edit: (Double doh! Mistyped that here as 5+2. XD)]

[-] A_Chilean_Cyborg@feddit.cl 21 points 2 days ago

You do parenthesis first and then multiplications and then sums, you did parenthesis, then sums, then multiplications, wich is wrong.

[-] merc@sh.itjust.works 2 points 2 days ago

You don't necessarily have to do parentheses first. What matters is that the things inside the parentheses are a group that you can't break apart. If you have 10÷2+3-2*(2+1) you can do the division first 5+3-2*(2+1) then the addition outside the parentheses 8-2*(2+1) It's just that before you do the multiplication of the term outside the parentheses, you have to handle the parentheses group, so you get 8-2*3 -> 8-6 -> 2

[-] Nils@lemmy.ca 11 points 2 days ago

plugged that into ghci as 5+2*(8-5), and it says 17.

You might want to report that error. Or, did you mean 2+5*(8-5)?

[-] Digit@lemmy.wtf 7 points 2 days ago* (last edited 2 days ago)

Oops! Typo. School failed me hard!

[Edit: Thanks. Corrected that.]

[-] victorz@lemmy.world 2 points 2 days ago

How far along in school are you btw?

[-] Digit@lemmy.wtf 1 points 1 day ago

over 20 years past giving up on school [in 2nd year of college], when they kept failing me.

[-] Cavemanfreak@lemmy.dbzer0.com 8 points 2 days ago

I did (2+5)*(8-5).

The problem is you can't just add parenthesis willy nilly, that breaks the whole equation!

[-] ivanafterall@lemmy.world -3 points 2 days ago

Well, it used to be a free country until common core and now this nonsense is the result. Numbers and punctuation mixed together. Pure chaos.

this post was submitted on 27 Nov 2025
721 points (91.2% liked)

Science Memes

17472 readers
2876 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS