calculus integral problem