program simpsonsoku2(input,output); const a=0; b=1; pi=3.1415; var I,h,s,t:real; N,x,u:integer; function f1(x:real):real; begin f1:=4/(1+sqr(x)) end; function f2(N:integer):real; begin h:=b-a; h:=h/N; s:=0; u:=2; while u