integration - find equation of curve