By "integrate" what do you mean? Compute the integral? That has nothing to do with pointers to functions. If so, that is no simple task for any arbitrary mathematical function.
basically compute the intergral from a to b ( a and b would be paramaters along with the function). Its to show that you can create a pointer to a function like in this case when u dont know if you are going to compute sin() or something different.
Sorry if it's kinda vauge. Im not to worried about the assignemnt itself I jsut want to learn the concept of a pointer to a function.