1*e6d6c189SCody Peter MelloBEGIN { 2*e6d6c189SCody Peter Mello pi = 3.1415927 3*e6d6c189SCody Peter Mello printf "cos(%f) = %f\n", pi/4, cos(pi/4) 4*e6d6c189SCody Peter Mello printf "sin(%f) = %f\n", pi/4, sin(pi/4) 5*e6d6c189SCody Peter Mello e = exp(1) 6*e6d6c189SCody Peter Mello printf "e = %f\n", e 7*e6d6c189SCody Peter Mello printf "log(e) = %f\n", log(e) 8*e6d6c189SCody Peter Mello printf "sqrt(pi ^ 2) = %f\n", sqrt(pi ^ 2) 9*e6d6c189SCody Peter Mello printf "atan2(1, 1) = %f\n", atan2(1, 1) 10*e6d6c189SCody Peter Mello} 11