Integrating a Function as a Power Series