Skip to content

GaoRy-127/NewtonRaph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NewtonRaph

Newton Raphson Method on matlab

Basic Idea

The algorithm of this code is based on

Discription

  • First

    Get Function y=f(x)
    and Differentiate f(x)

  • Second

    Set error, maximum iteration and initial X

  • Third

    Program will in 3 situations.

    • First, when error is bigger than lastest one.
    • Second, when the error value converge to the error value you set
    • Third, when the number of iteration reaches to number you set

Others..

  • I made this code to do my college assignment.
    After making this, I compare mine with the codes that uploaded at Mathworks homepage.
    And then, I thought,

    "oh shit, my code is more user friendly than uploaded codes."

    (Actually, it's not. Just my opinion)

  • I am hoping that my code can help other undergraduate students' assignments

Releases

No releases published

Packages

No packages published

Languages