... 1.796307
62
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
2.6.2 Rate of Convergence of Iteration Method
Let f(x) = 0 be the equation which is being expressed as x = g(x). The iterative formula for ... (3.7 781 5) = 3. 788 63
ALGEBRAIC AND TRANSCENDENTAL EQUATION
65
Example 5. Find the real root of equation f(x) = x
3
+ x
2
– 1 = 0 by using iteration method.
Sol. Here...
... the Range
Lower limit a = 0
Upper limit b = 6
Enter the number of subintervals = 6
Value of the integral is: 1.3571
5 98
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Enter the value of y2 ... ALGORITHM FOR TRAPEZOIDAL RULE
Step 1. Start of the program for numerical integration
Step 2. Input the upper and lower limits a and b
Step 3. Obtain the number of s...
... 66
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Putting i = 2 in (1) x
3
= 0.02439
Therefore reciprocal of 41 is 0.0244.
Example 8. Find the square root of 20 correct to 3 decimal places ... x
3
up to four decimal places. So we have
1
2
= 3.4641.
72
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
=
()
()
10
0.4343 2 .81 33 1.2
2.41 28
log 2 .81 33 0.4...
... 0.07 38
∇
and
4
log 50 = 0.05 08
∇−
Example 10. Given that:
123456 78
1 8 27 64 125 216 343 512
x
y
Construct backward difference table and obtain
4
()
f8∇
.
1 08
COMPUTER BASED NUMERICAL AND ...
2
2
()
d
fx
dx
and so on.
The operator ∆ is an analogous to the operator D of differential calculus. In finite differences,
we deal with ratio of simultaneous incremen...
... values of the independent variables are at
equal interval.
Proof: Consider the polynomial f(x) = a
0
+ a
1
x + a
2
x
2
+ + a
n
x
n
(1)
Where n is a positive integer and a
0
, a
1
, a
2
, a
n
... 12.
Similarly we have obtained
∆
3
u
0
= 6 and
∆
4
u
0,
∆
5
u
0
, are all zero as
u
r
=
r
3
is a polynomial
of third degree.
130
COMPUTER BASED NUMERIC...
... 33.1162109]
192
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
5. Apply Gauss forward formula to find a polynomial of degree three which takes the values
of y as given on next page:
2 4 681 0
21 382 0
x
y −
23
17 ... 0.256 0.0 48
26
fu
−−
=− + × + × + ×
= 0.04 787 5
190
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Example 4. Use Gauss’s forward formula...
... DIFFERENTIATION
The method of obtaining the derivatives of a function using a numerical technique is known as
numerical differentiation. There are essentially two situations where numerical differentiation ... Newton
forward formula, and if the same is required at a point near the end of the set of given tabular
294
INTERPOLATION WITH UNEQUAL INTERVAL
289
Example 1. Ob...
... Ans.
324
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Example 6. Evaluate the integral
6
3
0
1
dx
x+
∫
by using Weddle’s rule.
Sol. Divide the interval [0,6] into 6 equal parts each of ... Using the formula, the given interval of integration must be divided into an even number of sub-
intervals.
320
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Sol. (i)...
... approximation of the error, we have.
13
2 182 95
15
x
≤ .00005.
Taking logarithm, we obtain
15 log x ≤ log
.00005 2 182 95
13
afa f
or x ≤ . 988 .
340
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Example ... nn
yyhfxy
+
=+
342
COMPUTER BASED NUMERICAL AND STATISTICAL TECHNIQUES
Thus,
xx
x
37
11
363
2
2079
++
represents y correct to 4 decimal places. In the...