function r=myfun33
N=10000;
x=2*rand(1,N)-1;
y=rand(1,N);
count=0;
for i=1:N
if -sqrt(1-x(i)^2)+1<y(i) && y(i)<=abs(cos(x(i)))
count=count+1;
end
end
r=count/N*2;
end
function r=myfun34
rand('seed',3539)
v=fix(10*rand(1,50));
idx=find(v>=3&v<=7);
r=sum(v(idx));
end
function s=myfun35
s=0;
r=1.07;
for i=2:2:38
s=s+power(r,i);
end
end