# more examples of Polish notation

The following examples, presented first in standard infix notation, converted to Polish notation, all use the same four operands but combined with different operators and parentheses. Operators are assumed to be binary.

$(1+2)\times(3+4)$ in standard infix notation becomes $\times\>+1\>2+3\quad 4$ in Polish notation. Both expressions should evaluate to 21.

$1+2\times 3+4$ standard becomes $+\>+1\times 2\>3\>4$ Polish notation. Both evaluate to 11.

$1+2\times(3+4)$ turns to $+\>1\times 2+3\>4$. Evaluate to 15.

$(1+2)\times 3+4$ is $+\>\times\>+1\>2\>3\>4$. Evaluate to 13.

Title more examples of Polish notation MoreExamplesOfPolishNotation 2013-03-22 16:14:58 2013-03-22 16:14:58 Mravinci (12996) Mravinci (12996) 5 Mravinci (12996) Example msc 03B70 msc 68N17