function f = f2(x)

k = 0.84;
f = sqrt(1-k^2*cos(x)^2);

