f=@(x) e^(-x); h=1/64; x=h*i; x10=f(0)+f(1); x11=0; x12=0; for i=1:63; if(mod(i,2)==0) x12=x12+f(x); else x11=x11+f(x); end; end; a=(h/3)*(x10+2*x12+4*x11); printf("%.8f\n",a);