Second version of newtons method
Third version of newtons method
Fourth version of newtons method