I was proud of this one. I also learned two things that might help others.
First, pow([base],[exponent]) instead of the carat key (^) is how you raise things to powers in Moodle. That was 20 minutes of my life . . .
Second, error tolerance “Nominal” uses absolute error and error tolerance “Relative” uses percentage error. That was only 5 minutes of my life . . .