Discussion about math, puzzles, games and fun.   Useful symbols: ÷ × ½ √ ∞ ≠ ≤ ≥ ≈ ⇒ ± ∈ Δ θ ∴ ∑ ∫  π  -¹ ² ³ °

You are not logged in.

## #1 2015-08-22 10:41:02

MathsIsFun
Registered: 2005-01-21
Posts: 7,664

### Order of Operations Calculator

Rewritten in JavaScript: Order of Operations Calculator

Does it work for you?

Any issues at all?

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

## #2 2015-08-22 15:28:57

bobbym
bumpkin
From: Bumpkinland
Registered: 2009-04-12
Posts: 109,606

### Re: Order of Operations Calculator

Hi;

Worked on all my test problems. The tree is a nice idea.

In mathematics, you don't understand things. You just get used to them.
If it ain't broke, fix it until it is.
Always satisfy the Prime Directive of getting the right answer above all else.

Offline

## #3 2015-08-22 21:19:58

bob bundy
Registered: 2010-06-20
Posts: 8,137

### Re: Order of Operations Calculator

hi MathsIsFun

I, too, like the tree.  Everything I tried worked.  Do you have a plan for dealing with things like:

tan(pi/4) = 0.9999999999999999

Scientific calculators have an option for switching to degrees.  Any chance of that ?

Bob

Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

Offline

## #4 2015-08-23 20:35:38

MathsIsFun
Registered: 2005-01-21
Posts: 7,664

### Re: Order of Operations Calculator

Thanks for the tests. I will look into a Deg/Rad switch.

"The physicists defer only to mathematicians, and the mathematicians defer only to God ..."  - Leon M. Lederman

Offline

## #5 2015-08-23 21:44:03

bob bundy
Registered: 2010-06-20
Posts: 8,137

### Re: Order of Operations Calculator

Thanks,

Bob

Children are not defined by school ...........The Fonz
You cannot teach a man anything;  you can only help him find it within himself..........Galileo Galilei

Offline