(Since you've mentioned that you're working on homework I'll give you a chance to figure out for yourself how to apply Math.pow() to your particular calculation rather than just giving you the final answer immediately.)