newtonRhapson using derivative method

2.	Implement Newton Rhapson method. Please use derivative method for the implementation.