So I understand that converting something like:
4 + 2 * 8 / 6 + 2
goes from left to right, so to get the postfix you throw parentheses in it based around the precedence from left to right:
( ( 4 + ( ( 2 * 8 ) / 6 ) ) + 2 )
then you get the postfix by going left to right and pulling the numbers and operators based on the right parentheses:
But what about for exponents?
does this go from right to left?
If so is this the only step thats different with exponents?
Then would you evaluate this the same you would with any postfix?
Then does the following evaluate to 49? For some reason I have 19 in my notes...