#include #include static double f (double x) { return (acos(x)*acos(x)*exp(atan(x))); } void main (void) { static double I, I1, a, b, h, S[3], d; int j, N; printf("Enter the left border of integration: "); scanf("%lf",&a); printf("Enter the right border of integraton: "); scanf("%lf",&b); printf("Enter the precision of calculations: "); scanf("%lf",&d); S[0]=f(a)+f(b); N=1; S[2]=0; h=(b-a)/2; I=S[0]*h/2; do {I1=I; S[1]=0; for (j=0;jd); printf("The value of the integral is: "); printf("%4.10lf",I); }