title: How to write this math equation into c++
body: <p>I don't know how to write the formula given in C++ and I cant use short cuts.  I have to write the code in long version this is what I have so far</p>
  
  <pre><code>        4x^3 + 8x^2 + 9x - 18
  y = --------------------------
         |7 – x^3| + √(3x^2 + 18)
  </code></pre>
  
  <p><code>|  |</code> means absolute value</p>
  
  <p>It needs to be in a format like this (this is an example from my book):</p>
  
  <pre><code>double y = ((-4.0 * pow(x, 3.0)) + (8.0 * pow(x, 2.0) - (9.0 * x) + 18.0)) / (abs(7.0 - pow(x, 3.0)) + (sqrt(3.0) * pow(x, 2.0) + 10.0)); 
  </code></pre>