Simson's rule Integration

Please input fucntion to integrate, for example: f(x) = sin(x)+cos(x)

Please define a single variable, for example x: