Find Potential Of A Gradient System