Basic question

w/ewew/e

New member
Joined
Jul 6, 2019
Messages
2
Why is 3.5-1.5/3.5 not the same as 2/3.5?
3.5-1.5/3.5= 3.0714
2/3.5= 0.5714

why do they give different results.
 

Dr.Peterson

Elite Member
Joined
Nov 12, 2017
Messages
4,156
Have you learned the order of operations (operator precedence)?

The expression 3.5-1.5/3.5 means 3.5 - (1.5/3.5), not (3.5 - 1.5)/3.5.
 

Otis

Senior Member
Joined
Apr 22, 2015
Messages
1,651
Hello w/ewew/e. These are different expressions:

\(\displaystyle 3.5 - \frac{1.5}{3.5}\)

\(\displaystyle \frac{3.5 - 1.5}{3.5}\)

In the first expression, we do the division first.

In the second expression, we do the subtraction first.

Typing 3.5-1.5/3.5 means the first expression.

For the second expression, we type grouping symbols around the numerator (like Dr. Peterson showed).

Here are some links to lessons about Order of Operations:



😎
 
Top