title: Java Math Exercise Not Giving Right Answer
body: <pre><code>7 - 2 + Math.log10(1000) + Math.log(Math.pow(Math.E, 5))
  </code></pre>
  
  <p>What does this equal in Java I can't plug it in because if I compile it in a class/method it gives me errors even when it checks to be good. I'm not sure what I'm doing wrong as I am getting 10.171 and more numbers but it still says I'm wrong online on my practice - it. I know 7 - 2 + Math.log10(1000) ultimately equals 8 but I just mess up on the last part of adding cause I'm not exactly sure of the value when Math.E is to the power of 5 and log.</p>