Jump to content

    This is a odd and generally pointless question but I have an inquiry about calculators. The particular one I am using is the windows calculator that comes built in, I assume this is true for all calculators but maybe it isn't so I thought I would include it. When finding the mean on the calculator how have to do something that I find a little odd. I will give an example.
    Set of numbers: 69, 66.6, 53.18008 and 69. I will tell two ways to do this.
       69+66.6+53.18008+69/5=202.58008

            Obviously this is incorrect HOWEVER if I do

       69+66.6+53.18008+69 EQUALS/ENTER /5=51.556016

           This is correct. Why do I have to hit enter? Wouldn't it do the same operation?
 

PC SPECS: Athlon 860k, MSI 380 4GB, 8GB memory, 1TB HDD, Fractal Design Core 1000

Link to comment
https://linustechtips.com/topic/342609-how-to-calculator/
Share on other sites

Link to post
Share on other sites

I thought I would have to do (69/5) in order for it to only apply to that specific number?

 

Order of operations. It's dividing 69/5 and then adding it to the other numbers in your first example. PEMDAS. Division comes before addition so you have to put all the numbers in the numerator in parenthesis or add them up before dividing by 5 :)

PC SPECS: Athlon 860k, MSI 380 4GB, 8GB memory, 1TB HDD, Fractal Design Core 1000

Link to comment
https://linustechtips.com/topic/342609-how-to-calculator/#findComment-4667590
Share on other sites

Link to post
Share on other sites

I thought I would have to do (69/5) in order for it to only apply to that specific number?

no, your calculater is smarter than that and follows BEDMAS

brackets, exponents, division and multiplication (from left to right) and addition and subtraction (again from left to right)

so if you want it to not follow this rule you need brackets around the addition so that it does that first, because brackets come before division

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
https://linustechtips.com/topic/342609-how-to-calculator/#findComment-4667596
Share on other sites

Link to post
Share on other sites

I thought I would have to do (69/5) in order for it to only apply to that specific number?

 

No, that's the default behavior. You need to do (a+b+c+d)/5 to not get it to apply to that specific number.

Link to comment
https://linustechtips.com/topic/342609-how-to-calculator/#findComment-4667602
Share on other sites

Link to post
Share on other sites

Nope. In Math it will always divide and multiply before you add.

 

It goes:

 

Parenthesis

Exponents

Multiplication

Division

Addition

Subtraction

 

(A+B+C+D+E)/5 is what you want

New subject! What did your teacher tell you to use to remember PEMDAS? Some shit about my mother making pizza. 

PC SPECS: Athlon 860k, MSI 380 4GB, 8GB memory, 1TB HDD, Fractal Design Core 1000

Link to comment
https://linustechtips.com/topic/342609-how-to-calculator/#findComment-4667641
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×