Consider the following app.
<pre>
public class ComputeSquareRoot {
public static void main(String[] args) {
double data = 3.1415926;
System.out.println("The square root of " + data + " is " + StrictMath.sqrt(data));
}
}
</pre>