I'll give you the general procedure for calculating $x^y$ for arbitrary reals $x,y$ such that $x > 0$ on a calculator with limited precision.
First note that we only need to care about the case when $0 < y < 1$.
$3^\sqrt{2} = 3 \times 3^{\sqrt{2}-1} \approx 3 \times 3^{0.414214}$.
Next express $y$ in binary. To do so repeat ( ×2
then ( -1
if the value is at least $1$ ) ), and the first digits form the binary expansion.
0.414214
0.828428
1.656856
1.313712
0.627424
1.254848
0.509696
1.019392
0.038784
0.077568
0.155136
0.310272
0.620544
1.241088
0.482176
0.964352
1.928704
1.857408
1.714816
1.429632
0.859264
1.718528
$0.414214 \approx 0.011010100000100111101_2$.
Finally compute $\prod_{k=1} x^{a_k/2^k}$ where $a_k$ is the $k$-th digit in the binary expansion of $y$. To do so efficiently, start with 1
, and go in reverse order from the last to the first digit, at each step doing ( √
then ( ×
$x$ =
if the current digit is a $1$ ) ).
[It is very helpful if your calculator also has a memory function, which you should use to store $x$ first so that you can just recall it at each multiplication.]
Here are all the intermediate results assuming your calculator rounds to $7$ significant digits on every operation.
1
1 3
1.732051
1.316074 3.948222
1.987013 5.961039
2.441524 7.324572
2.706395 8.119185
2.849418
1.688022
1.299239 3.897717
1.974264
1.405085
1.185363
1.088744
1.043429
1.021484 3.064452
1.750558
1.323087 3.969261
1.9923
1.411489 4.234467
2.057782 6.173346
2.484622
1.576268
$3^\sqrt{2} \approx 1.576268 \times 3 \approx 4.728804$.
As you can see it turns out the answer you get is correct to $7$ significant digits. It is accidental in this case, because even the final multiplication alone will force the result to be an exact multiple of $3$, and it so happens that the answer correct to $7$ digits is also a multiple of $3$. In general you expect at least the last digit to be inaccurate.