Professional Documents
Culture Documents
Use the Newton-Raphson method of finding roots of equations to find the resistance R at
Thermistors are temperature-measuring 18.99 C . Conduct three iterations to estimate the root of the above equation.
devices based on the principle that the
thermistor material exhibits a change in the relationship between the resistance R of the thermistor and the temperature is given by
electrical resistance with a change in
1
temperature. 1.129241 10 3 2.341077 10 4 ln( R) 8.775468 10 8 ln R
3
Tin plated
1
copper alloy 1.129241 10 3 2.341077 10 4 ln( R ) 8.775468 10 8 ln R
3
lead wires 18.99 273.15
Cont.….
Applications in Electrical Engineering
Iteration 2
Iteration 1 The estimate of the root is
The estimate of the root is f R1
R2 R1
f R0 f R1
R1 R0
f R0
2.341077 10 4 ln(15000) 8.775468 10 8 ln 150003 2.341077 10 4 ln(12946) 8.775468 10 8 ln 12946 3
2.293775 10 3
2.293775 10 3
12946
15000 4 7 2
4 7
2.341077 10 2.6326404 10 {ln(12946)} 2
2.341077 10 2.6326404 10 {ln(15000)}
12946
15000 6
5 2.6140 10
3.5383 10 12946
15000 1.9906 10 8
1.7230 10 8 12946 131.32
15000 2053.5
13078
12946
The absolute relative approximate error a at the end of Iteration 2 is
The absolute relative approximate error a at the end of Iteration 1 is
R2 R1
R R0 a 100
a 1 100 R2
R1
13078 12946
12946 15000 100
100 13078
12946 1.0041%
15.862% The number of significant digits at least correct is 1, as the absolute relative approximate
The number of significant digits at least correct is 0, as you need an absolute relative error is less than 5% .
approximate error of less than 5% for one significant digit to be correct in your result
Algorithm
Step 1:
Evaluate f’(x) symbolically.
Step 2:
Use an initial guess of the root , to
estimate the new value of the
root, as
f xi
xi 1 = xi -
f xi
Algorithm
Step 3:
Find the absolute relative
approximate error as,
xi 1- xi
a = 100
xi 1
Step 4:
Compare the absolute relative
approximate error with the pre-
specified relative error tolerance .