Scratch cat will calculate a given number by any power (so long as it's not so long it can't be displayed!). So if you wanted to find out 3 to the power of 3 (3 cubed) type 3 then 3 and watch him calculate it.
A cross-curricular project with Mr_Man2257 to help with maths.