title: how to implement compound interest formula
body: <p>I need to have this formula work in swift
  10000 * 1+(7/100) ^ 5</p>
  <p>Here's my current code but the pow function isn't working as I need it</p>
  <pre><code>let yearly = 5.00
  let initial = 10000.00
  let interestRate = 7.00
  let result = pow(initial * (1+(interestRate/100)),yearly)
  </code></pre>