Recent content by chem212

  1. C

    MATLAB: Finding the 5th Root using Newton's Method

    i have tried to apply what the both of you said but it is not working for me. Here is what i did. Please let me know what i did wrong. function [y]= fifthroot (P) x=p xi=1 i=5 endcondition=0.00001; xi=xi-((xi^5-P)/(5*xi)^4); E=abs((xi-x)/x); if E<0.00001 break while E > endcondition...
Back
Top