title: Need help to write a Java math formula for this assignment
body: <p>Hi I'm in my 2nd week of Java and I was assigned a mah worksheet formula, but I don't know how to do it and I really need help.
  The question is: Write a formula, which will add 5 the the cube of double t times double n and assign it to double X.</p>
  
  <p>what I have so far</p>
  
  <pre><code>X= Math.cube(t*n)+5;
  </code></pre>
  
  <p>I feel like I did his wrong since I hardly understand how to do it.</p>