X (0) X (1) X (2) RHS X X X: Newton-Raphson Method All VBA Code

Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 1

Newton-Raphson Method all VBA code

VBA Code
Equations
Linear Equation
Nonlinear Guess
Nonlinear Guess

x(0)
x1

x(1)
x2

x(2)
x3

RHS
8
1

1
Gauss Jordan

(run Gauss_Jordan_Macro)
x

Function Check Using x (eq 4.11 = 0)

f1 =

f2 =

f3 =

else set x = x*
Newton Raphson

Gauss Jordan

(run NR_Gauss_Jordan_Macro)

fi/x1

fi/x2

fi/x3

f2

0.4999875006

7.0001

20.5001875007

f3

2.0001

4.0001

6.0001

28.0006000001

Linear Equation

You might also like