# Problem with evaluation expressions with exponents

1. Mar 23, 2013

### nameVoid

The way i am evaluating post fix expressions is not working with exponents

Example
InfixII
3*(4^2-2/3)+4
To post fix
342^*23/-4+

=16*3-2/3)+4

Am i evaluating the parenthesis the wrong way

2. Mar 23, 2013

### CompuChip

Yes, you first need to evaluate 4^2 - 2/3. Then multiply that by 3.