


f(x, y, z) = x^{2} + y^{3} + z^{4} Examples: f(1, 1, 1) = 3 f(2, 2, 1) = 13 
Notes:




Finding the documentation for the Math.sqrt method:

import java.lang.Math; // Not needed... already done by Java compiler public class Sqrt { public static void main(String[] args) { double a, b, c; a = 2.0; b = Math.sqrt(a); c = 2.0*Math.sqrt(a) + 1.0; System.out.print("a = "); System.out.println(a); System.out.print("Sqrt of a = "); System.out.println(b); System.out.print("2*sqrt(a) + 1 = "); System.out.println(c); } } 


double a, b; a = 2.0; b = Math.sqrt(a); 
