Math I did the program but need to know a little more
<p>I did the problem but I only found out How to do it for one value of <code>x</code>? Here is the program.</p>

<pre><code>public class PointsOnACircleV1 {
    public static void main(String[ ] args)
    {
    double r = 1;
    double x = 0.1;
    double equation1= Math.pow(r,2);
    double equation2= Math.pow(x,2);
    double y = Math.sqrt(equation1-equation2);

    System.out.println(y);

        }
}
</code></pre>

<p>I got the correct answer .99 (......)</p>

<p>I need mine to show multiple values of x. Here is how the output should be. Please help if you can.<br>
<img src="http://i.stack.imgur.com/AI47y.png" alt="img"></p>
