Using the math function parser on the endpoints of integration to handle, say, pi/4