I think I figure it out. The answer is:
12 A ^2 * 2 A * - 31 + 4 A * 6 + /
I figured that that the square sign and the number 2 count as one operator.
For ^2 I just use the x^2 button on the calculator and it gave me the same answers.
I need to change this expression to postfix form.
(12*A^2-2*A+31)/(4*A+6)
I know how to do this except for the squaring part. I got stuck.
This is my try.
12 A 2 ^ * 2 A * - 31 + 4 A * 6 + /
When I test this in a calculator, it gives different results. Another problem is that I don't really know how to square in a postfix calculator.
I would really appreciate some help
Thank you
1 answer