title: how to determin the time complexity of this c program
body: <pre><code>void mystery2 (int n)
  {
   int i;
   for (i = 1; i &lt;= n; i++) {
      double x = i;
      double delta = 1 / (double)i;
      while ( x &gt; 0 )
        x -= delta;
    }
  return 0;
  }
  </code></pre>
  
  <p>How to determine the time complexity of this program using tracking tables like here <a href="http://pages.cs.wisc.edu/~vernon/cs367/notes/3.COMPLEXITY.html#application" rel="nofollow">http://pages.cs.wisc.edu/~vernon/cs367/notes/3.COMPLEXITY.html#application</a> and not by guessing? </p>