作业: 编写一个求定积分的通用函数,用它分别求以下几个积分:double integral(double a, double b, double (*f)(double)); (1+x)x|b到a;3+2x|b到a;e^x+1|b到a