Project 38
For Loop (75 points)
Write an applet which will allow the user to enter a base and exponent  both
of type integer. The applet must then find the exponential value. If the base
is 0 and the exponent is zero, make sure you indicate the result is undefined.
Otherwise, if the base is zero, the result will always be 0. IF the exponet
is zero without a zero base, then make sure your applet indicates that the
result is 1. If the exponent is postive, then use a for loop to
determine the exponential value. If it is negative, then use
the following formula for the calculation:
x^{y} = e ^{( y ln (x) )}
That is x to the y equals e all to the y times the natural logarithm of x.
Math.log returns the natural logarithm of a number.
Math.exp returns e(the base of natural logarithms) raised to a power.
Since you can not take the log of a negative number, you will have to design
your applet in such a way so that you can still use this formula.

If 0 to the 0 is entered, then the output must be :
0 to the power of 0 is undefined.

If 0 to the .5 is entered, then the output must be :
0 to the power of .5 is undefined.

If 0 to the 1 is entered, then the output must be :
0 to the power of 1 is undefined.

If 1 to the 0 is entered, then the output must be :
1 to the power of 0 is 1.

If 2 to the 3 is entered, then the output must be :
2 to the power of 3 is 8.

If 2 to the 3 is entered, then the output must be :
2 to the power of 3 is .125

If 2 to the 3 is entered, then the output must be :
2 to the power of 3 is .125

If 2 to the 3 is entered, then the output must be :
2 to the power of 3 is 8
Other Requirements:
 Document your applet. Include your Name, Date, Project#, and a
description of the project.
 Test your results with a calculator. Try all possibilities.
 Input the data with the TextField class
 Output your report with the TextArea class and replaceText method.
Sample Output for Project 38