n=input("Enter n=")
format long
integr=0.;
for i=1:n
x=rand();
y=rand();
fv=func(x);
if y<=fv;
integr=integr+1;
end
end
integr*4/n


function y=func(x)
y=sqrt(1-x*x);
return
end
