Creating a New Method for Square Root Loop

Hi! I'm writing a program that uses a while new method to calculate the square root of *a*. We can't use the Math class at all, we have to make this method using Newton's method and the user-inputed integer *n*:

http://fc81.deviantart.com/fs34/f/20...pfruitloop.jpg

Then I have to set the initial value of x^0 = 1, and perform 1000 iterations. (I'm not totally sure why or how to do that. I don't think x^n should be increasing like x^n++ or anything.) Then I have to call this method from the *main* method to compute the following expression, where there are *n* radicals:

http://fc59.deviantart.com/fs33/f/20...pfruitloop.jpg

The output is the result of this second formula. Now, these are the problems I'm having creating this:

how to make asterisks triangle using java code

how to make an asterisk triangle using java could i hope you can help me..?