I dunno (piefed.cdn.blahaj.zone)
 
you are viewing a single comment's thread
view the rest of the comments
[–] 87 points 9 months ago* (12 children)

Presuming PEMDAS is our order of operations and the 5 next to the parentheses indicates multiplication...

2+5(8-5) -> 2+5(3) -> 2+15=17

Other than adding a multiplication indicator next to the left parentheses for clarification (I believe it's * for programming and text chat purposes, a miniature "x" or dot for pen and paper/traditional calculators), this seems fine, yeah.

...I worry about how many people may not understand how to solve equations like these.

  • source
  • hideshow 15 child comments
  • [–] 35 points 9 months ago* (last edited 9 months ago) (8 children)

    That's not even an equation, just basic arithmetic

  • source
  • parent
  • hideshow 10 child comments
  • [–] 5 points 9 months ago (1 child)

    Fair enough, I've heard "math problem" and "math equation" used interchangeably.

    Also you would be surprised how many people do not know basic algebra, at least in the US rofl

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 9 months ago (2 children)

    You. You are one of them bc you do not know what an equation is.

    There is no algebra here. This is arithmetic.

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (1 reply)
  • load more comments (6 replies)
  • [–] 13 points 9 months ago* (1 child)

    While I never failed a math class, I also never went past high school. When would your presumptions NOT be true?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 7 points 9 months ago* (2 children)

    Some forms of programming syntax, although there are the fringe cases where an equation (or function in programming) is represented by a symbol in conjunction with a parentheses input.

    For example:

    y(x) = 2*x+3

    5+y(1) = 10, as 1 is substituted in for x in the prior equation.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 9 months ago (2 children)

    And in some languages a number can be used as a name of a variable or a function, so it can be anything really

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 9 months ago

    Not in most programming languages, though. You cannot start names with a number. Unless you're using some strange character that merely looks like a number, anyways. Programming with unicode can get weird but generally works without issue these days.

  • source
  • parent
  • load more comments (1 reply)
  • load more comments (9 replies)