Program of finding derivative equation and Newton raphson using derivative