I am \'obviously\' just learning programming and I can\'t seem to figure out what to do in order to get rid if this error. The error is on the second to the last line - the
Math.pow takes two arguments, in an expression x^y it takes first parameter x and second parameter y, but you're only passing single arguments. Where's your exponent?