All Units 2&5marks Qu With Ans
All Units 2&5marks Qu With Ans
ENGINEERING AND
TECHNOLOGY, TIRUTTANI - 631209
Approved by AICTE, New Delhi Affiliated to Anna University, Chennai
QUESTION BANK
1.TESTING OF HYPOTHESIS
PART – A
1. Define Type I Error and Type II Error.
Type I error: Reject H 0 when it is true.
Type II error: Accept H 0 when it is false.
2. What are the parameters and statistics in sampling?
Parameters: - mean
- Standard Deviation (S.D)
Statistics: x - mean
s - S.D
3. What is sampling distribution?
From a population a number of samples are drawn of equal size n. Find out the mean of
each sample. The means of samples are not equal. The means with their respective frequencies
are grouped. The frequency distribution so formed is known as sampling distribution.
4. Define small sample.
If the size of the sample is less than 30 then it is called as small sample.
5. Define ‘t’ – test.
X
To compare mean of sample and population. And t n
s
6. Define F – test.
S12
F test is applied to compare variances. And F 2
if S12 S 2 2
S2
7. Write the Application or Uses of F test.
i. F test is applied to compare variances.
ii.To test whether if there is any significant differences between two population
variance.
8. Define 2 distribution.
2 is used to test whether differences between observed and expected frequencies are
significances. And 2
(O E ) 2
E
9. Write any Application (or) uses of 2 distribution.
(i) To test “goodness of fit”
(ii) To test “independence of attributes”
(iii) To test homogeneity and population variance
10. Write the condition for the application of 2 test.
(1) The sample observation should be independent.
(2) O E
i i
(3) N 50
(4) No theoretical cell frequency should be less than 5.
11. Define 2 test of goodness of fit.
Chi square test of goodness of fit is a test to find if the deviation of the experiment from
theory is just by chance or it it is due to the inadequacy of the theory to fit the observed data. By
this test , we test whether difference between observed and expected frequencies are significant
or not.
12. Mention the various steps involved in testing of hypothesis.
i. Set up a null hypothesis H 0
ii. Set up the alternative hypothesis H1
iii. Select the appropriate level of significance ( )
13. What are the expected frequencies of 2 2 contingency table?
Type-I
Formula: 2
(O E ) 2
1. The following table gives the number of air craft accidents that occurred during the various
days of the week. Test whether the accidents are uniformly distributed over the week.
Type-II
(a d bc)2 (a b c d)
2
(a b)(c d)(a c)(b d)
4. 1000 students at college level were graded according to their I.Q. and their economic
conditions What conclusion can you draw from the following data:
I.Q. Level
Economic conditions
High Low
Rich 460 140
Poor 240 160
5. Find if there is any association between extravagance in fathers and extravagance in sons
from the following data. Determine the coefficient of association also.
Type-III
Formula: 2
(O E ) 2
6. Two researchers A and B adopted different techniques while rating the students level.
Can you say that the techniques adopted by the them are significant?
Researcher Below Average Above Genius Total
average average
A 40 33 25 2 100
B 86 60 44 10 200
Total 126 93 69 12 300
7. Test of the fidelity and selectivity of 190 radio receivers produced the
results shown in the following.
Fidelity
Selectivity Low Average High
Low 6 12 32
Average 33 61 18
High 13 15 0
Use the 0.01 level of significance to test whether there is a relationship between fidelity
and selectivity.
8. Two samples of pools of votes for 2 candidates A and B for a public office are taken, one
from among residents of urban areas and the other from residents of rural areas. The results
are given below: Examine whether the nature of the area is related to voting preference in
this election.
Vote for A B Total
Area
Rural 620 380 1000
Urban 550 450 1000
Total 1170 830 2000
F-Test:
S12 n1s12 x 2
x
x1
2
S12
1
F if S12 S2 2 (or ) s12 1
x1
S2 2 n1 1 n1
n1
x
x x2
2 2 2
S ns 2
F 22 if S2 2 S12 S2 2 2
2 2
s2 2
2
x2 n2
S1 n2 1 n2
1. A group of 10 rats fed on diet A and another group of 8 rats fed on diet B, recorded the
following increase in weight.
Diet A: 5 6 8 1 12 4 3 9 6 10
Diet B: 2 3 6 8 10 1 2 8
Find if the variances are significantly different.
2. Two random samples of sizes 8 and 7 had the following values of the variables.
Sample A 9 11 13 11 15 9 12 14
Sample B 10 12 10 14 9 8 10
Do the estimates of population variance differ significantly?
3. Two independent samples of sizes 9 and 7 from a normal population had the following
values of the variables. [M/J – 2014]
Sample I: 18 13 12 15 12 14 16 14 15
Sample II: 16 19 13 16 18 13 15 - -
Do the estimates of population variance differ significantly at 5% level of significance?
4. Time taken by workers in performing a job are given below: [N/D – 2013]
Type I: 21 17 27 28 24 23 -
Type II: 28 34 43 36 33 35 39.
Test whether there is any difference between the variances of time distribution.
5. Test whether there is any significant difference between the variances of the populations
from which the following samples are taken: [N/D – 2012]
Sample I : 20 16 26 27 23 22
Sample II: 27 33 42 35 32 34 38
6. Test if the difference in the means is significant for the following data: [N/D – 2010]
Sample I: 76 68 70 43 94 68 33
Sample II: 40 48 92 85 70 76 68 22
Test whether the samples have come from the same normal population. [M/J – 2012]
Increasing/Decreasing/more
x One tail test than /Less than condition we
t 1
s can apply one tail test
n 1 Two tail test Other than that we can apply
two tail test
2. The following table gives the length of 12 samples of Egyptian cotton taken from a
consignment 48, 46, 49, 46, 52,45, 43, 47, 47, 46, 45, 50. Test if the mean length of the
consignment can be taken as 46.
3. Given a sample mean of 83, a sample standard deviation of 12.5 and a sample size of
22 test the hypothesis that the value of the population mean is 70 against the
alternative that it is more than 70. Use the 0.025 significance level.
Type-II
x1 x2 Here
t n s 2 n2 s22
1 1 S2 1 1
S2 n1 n2 2
n1 n2
4. Two horses A and B were tested according to the time (in seconds) to run a particular
race with the following results:
Horse A 28 30 32 33 33 29 34
Horse B 29 30 30 24 27 29
Test whether horse A is running faster than B at 5% level.
5. A group of 10 rats fed on diet A and another group of 8 rats fed on diet B, recorded the
following increase in weight.
Diet A: 5 6 8 1 12 4 3 9 6 10
Diet B: 2 3 6 8 10 1 2 8
Does it show superiority of diet A over diet B.
Type-II
x1 x2
Z
s12 s22
n1 n2
1. The means of two large samples of 1000 and 2000 members are 67.5 inches and 68.0 inches
respectively. Can the samples be regarded as drawn from the same population of standard
deviation 2.5inches?
2. A simple sample of heights of 6400 Englishmen has a mean of 170 inches and a standard
deviation of 6.4 inches ,while a simple sample of 1600 Australians has a mean of 172 inches
and a standard deviation of 6.3 inches. Do the data indicate that Australians are on the average
taller than Englishmen?
3. The Sales Manager of a large company conducted a sample survey in two places A and B
taking 200 samples in each case. The results were the following table. Test Whether the average
sales in the same in the two areas at 5% level.
Place A Place B
CRD RBD
.
To influence one factor To influence Two factor
No restriction further treatments No restriction on treatments replications
- Use only rectangular or Square field
15.Explain LSD
Latin square design is very popular in agricultural research where it is not
possible to have a large number of subjects.
Latin square have equal number of rows and columns arranged in a square known
Latin square.
Demerits:
The experiment error is large as compared to the other design since homogeneity of the
units is ignored.
17.What are merits and demerits of RBD
Merits:
It has simple layout.
The design controls the variability in the experimental units and gives the treatments
equivalues to show their effects.
The analysis of the design is simple and straight forward as in the case of two-way
classification of analysis of variance.
The analysis is possible even in the case of missing observations.
Demerits:
The design is not suitable for large number of treatments since in this case the block
size is large and hence homogeneity of units may not be possible.
If controls the variability in one direction only.
18.What are merits and demerits of LSD
Merits:
Latin squares design control variability in two direction of the experimental materials.
The analysis of the design is simple and straight forward and is a three way
classification of analysis of variance.
Demerits:
The process of randomization is not as simple as in RBD.
The experimental area should be in the form of square.
A 2x2 Latin square is not possible.
20. Why a 2x2 Latin square is not possible? Explain
Consider a nxn Latin square design, then the degrees of freedom for SSE is ,
(n 2 1) (n 1) (n 1 (n 1)
n 2 1 3n 3
n 2 3n 2
(n 1)(n 2)
For n=2 d.f of SSE =0 MSE is not defined
Therefore comparisons are not possible. Hence a 2x2 Latin square Design is not
possible.
21. Define 2 2 factorial design.
A major conceptual advancement in an experimental design is exemplified by
factorial design.The most important of these special cases is that of k factors each at
only two levels.
(i) Temperature (ii) Time or pressure
A complete replicate of such a design requires 2 2,...., 2 2k observation is
A B C D
B C D A
C D A B
D A B C
PART – B
I II III IV
6 14 10 9
14 9 12 12
10 12 7 8
8 10 15 10
11 14 11 11
2. The three samples given below have been obtained from three normal populations with equal
variances. Test the hypothesis that the population means are equal at 5% level of significance.
1 6 8 5 12 9
Sample 2 5 3 8 7 7
3 10 7 11 10 12
Random Block Design (Two – Way Classification)
1. Analyse the following RBD and find your conclusion. [N / D – 2013]
Treatments
𝑇1 𝑇2 𝑇3 𝑇4
𝐵1 12 14 20 22
𝐵2 17 27 19 15
Blocks 𝐵3 15 14 17 12
𝐵4 18 16 22 12
𝐵5 19 15 20 14
2. A set of data involving four “four tropical feed stuffs A, B, C, D” tried on 20 chicks is given
below. All the twenty chicks are treated alike in all respects expect the feeding treatments
and each feeding treatment is given to 5 chicks. Analyze the data. Weight gain of baby chicks
fed on different feeding materials composed of tropical feed stuffs. [A/M–2010]
Total
A 55 49 42 21 52 219
B 61 112 30 89 63 355
C 42 97 81 95 92 407
D 169 137 169 85 154 714
G
Grand Total
=1695
3. Four varieties A, B, C, D of a fertilizer are tested in a RBD with 4 replications. The plot
yields in pounds are as follows:
A 12 D 20 C 16 B 10
D 18 A 14 B 11 C 14
B 12 C 15 D 19 A 13
C 16 B 11 A 15 D 20
Analyze the experimental yield. [A / M – 2012 / 2014]
4. Carry out ANOVA ( Analysis of variance ) for the following. [N / D – 2011]
A B C D
1 44 38 47 36
2 46 40 52 43
Workers 3 34 36 44 32
4 43 38 46 33
5 38 42 49 39.
5. The following data represent the number of units of production per day turned out by
different workers using 4 different types of machines. [A / M – 2011 / 2013]
Machine Type
A B C D
1 44 38 47 36
2 46 40 52 43
Workers 3 34 36 44 32
4 43 38 46 33
5 38 42 49 39
(i) Test whether the mean production is the same for the different machine types.
(ii) Test whether the 5 men differ with mean productivity.
6. The sales of 4 salesmen in 3 seasons are tabulated here. Carry out an analysis of variance.
Salesmen [N / D – 2012]
Seasons A B C D
Summer 36 36 21 35
Winter 28 29 31 32
Monsoon 26 28 29 29
[Refer class work for extra problems]
Latin Square (Three – Way classification)
1. A variable trial was conducted on wheat with 4 varieties in a Latin Square design. The plan
of the experiment and per plot yield is given below: [A / M – 2012]
D 25 B 23 A 20 D 20
A 19 D 19 C 21 B 18
B 19 A 14 D 17 C 20
D 17 C 20 B 21 A 15
Analyze the data.
2. A farmer wishes to test the effect of 4 fertilizers A, B, C, and D on the yield of wheat. The
fertilizers are used in LSD and the result is tabulated here. Perform an analysis of variance.
A 18 C 21 D 25 B 11 [N / D – 2012]
D 22 B 12 A 15 C 19
B 15 A 20 C 23 D 24
C 22 D 21 B 20 A 17
3. Analyse the following of Latin Square experiment. [M / J – 2013]
A 12 D 20 C 16 B 10
D 18 A 14 B 11 C 14
B 12 C 15 D 19 A 13
C 16 B 11 A 15 D 20
4. The following is a Latin Square of a design when 4 varieties of seed are being tested. Set up
the analysis of variance table and state your conclusion. You can out the suitable charge of
origin and scale. [N / D-2013]
5. Analyse the variance in the Latin square of yields (in kgs) of paddy where P, Q, R, S denote
the different methods of cultivation: [A / M – 2014]
6. In a Latin square experiment given below are the yields in quintals per acre on the paddy
crop carried out for testing the effect of five fertilizers A, B, C, D, and E. Analyse the data
for variations. [A / M – 2011]
B 25 A 18 E 27 D 30 C 27
A 19 D 31 C 29 E 26 B 23
C 28 B 22 D 33 A 18 E 27
E 28 C 26 A 20 B 25 D 33
D 32 E 25 B 23 C 28 A 20
7. The following is a Latin square of a design when 4 varieties of seeds are being tested. Set
up the analysis of variance table and state your conclusion. You may carry out suitable
change of origin and scale. [M / J – 2013]
A 105 B95 C 125 D 115
C 115 D 125 A 105 B 105
D 115 C 95 B 105 A 115
B 95 A 135 D 95 C 115
UNIT-III
Solutions Of Equation And Eigen Value Problems
PART-A
1. What is the condition of convergence in Successive approximation Method (or) fixed
point method.
Sol. The condition for convergence is that in the neighborhood of the root g ( x) 1
2. If g(x) is continuous in [a,b], then under what conditions has a unique solution in
[a,b]?
5. State the order (rate) of convergence and convergence condition for Newton
Raphsonmethod.
Sol. The order of convergence of Newton Raphson method is 2
f ( xn )
xn 1 xn , n 0,1,2,.......
f ( xn )
7. Show that Newton Raphson formula to find a can be expressed in the form
1 a
xn 1 xn
2 xn
Sol. Let x = a x2 a
f ( xn ) xn a, f ( xn ) 2 xn
2
( i.e.) f(x) = x2 - a
By Newton Raphson method,
f ( xn ) ( x 2 a) x 2 a 1 a
xn1 xn xn n n xn
f ( xn ) 2 xn 2 xn 2 xn
x N
p
f ( xn )
x n 1 xn x n n p 1
f ( x n ) px n
( p 1) x n N
p
p 1
.
px n
9. Establish an iteration formula to find the reciprocal of a positive
number N by Newton Raphson method.
Sol. Let x = 1/N
1 1
N N 0
x x
1 1 1
(i.e.) f ( x) N f ( x n ) N , f ( x n ) 2
x xn xn
By Newton Raphson method,
1
N
f ( xn ) xn 2 1
x n 1 xn xn x n x n N
f ( x n ) 1 xn
2
xn
x n 2 Nx n .
10. Derive Newton’s formula to find the cube root of a positive number k.
3
Sol. Let x = k
f(x) = x3 – k f ( xn ) xn k , f ( xn ) 3xn
3 2
By Newton Raphson method,
f ( xn ) x 3 k
xn1 xn xn n 2
f ( xn ) 3xn
2 xn 3 k 1 k
2
2 xn 2 .
3xn 3 xn
12. What is the order of convergence of Newton-Raphson method if the multiplicity of the
root is one.
Sol: Order of convergence of Newton-Raphson method is 2.
13. Compare Gauss Elimination and Gauss Jordan methods for solving
linear systems of the form AX=B.
Sol. In Gauss Elimination method, the coefficient matrix reduced to upper triangular matrix
and we get the solution by back substitution whereas in Gauss Jordan method, the
coefficient matrix reduces to an unit or identity or diagonal matrix and we get the solution
without using back substitution.
1 2
25. Find inverse of A = by Gauss Jordan method.
3 4
1 2 1 0
Sol. AI = 3 4 0 1
1 3 1 0 1 0 7 3
= 0 1 2 1 = 0 1 2 1
7 3
Hence A-1 =
2 1
PART – B
Newton – Raphson method:
f ( xn )
xn 1 xn , n 0,1,2,.......
f ( xn )
19. Solve the following system of equations using Gauss Jacobi and Gauss – seidal method
27𝑥 + 6𝑦 − 𝑧 = 85; 6𝑥 + 15𝑦 + 2𝑧 = 72; 𝑥 + 𝑦 + 54𝑧 = 110.
20. Solve the following system of equations using Gauss – seidal method
20𝑥 + 𝑦 − 2𝑧 = 17; 3𝑥 + 20𝑦 − 𝑧 = −18; 2𝑥 − 3𝑦 + 20𝑧 = 25.
21. Solve the following set of equations using Gauss – Seidal iterative procedure
−10𝑥 + 2𝑦 + 2𝑧 = 4; 𝑥 − 10𝑦 + 2𝑧 = 18; 𝑥 + 𝑦 − 10𝑧 = 45.
22. Solve the following system of equations using Gauss – seidal method
𝑥 + 𝑦 + 54𝑧 = 110; 27𝑥 + 6𝑦 − 𝑧 = 85; 6𝑥 + 15𝑦 + 2𝑧 = 72.
23. Solve 5𝑥 − 𝑦 + 𝑧 = 10; 2𝑥 + 4𝑦 = 12 𝑎𝑛𝑑 𝑥 + 𝑦 + 5𝑧 = −1 using Gauss – seidal method.
POWER METHOD
1 −3 2
27. Find the numerically largest eigenvalue of 𝐴 = (4 4 −1) by power method.
6 3 5
5 0 1
28. Using power method, find all the eigenvalues of 𝐴 = (0 −2 0).
1 0 5
29. Determine the largest eigenvalue and the corresponding eigenvector of the matrix
1 6 1
𝐴 = (1 2 0) with the initial vector 𝑋 0 = [1, 1, 1]𝑇 .
0 0 3
25 1 2
30. Find the numerically largest eigenvalue of 𝐴 = 1 3 0 ) and the corresponding
(
2 0 −4
eigenvector.
1 3 −1
31. Find the dominant eigenvalue of 3 2 4 ) by power method.
(
−1 4 10
2 −1 0
32. Find the largest eigenvalue of the matrix (−1 2 0) by power method. Also find its
0 −1 0
corresponding eigenvector.
Rotation matrix(P)
cos sin 1 2a
For 2x2 P & tan 1 12
sin cos 2
11 a22
a
cos 0 sin
1 2a13
For 3x3 P 0 1 0 & tan 1
sin 2 a11 a33
0 cos
4 1
33. Using Jacobi method find the eigen values and eigen vectors of A
1 4
6 3
34. Using Jacobi method find the eigen values and eigen vectors of A
3 4
5 0 1
35. Using Jacobi method find the eigen values and eigen vectors of A 0 2 0
1 0 5
2 0 1
36. Using Jacobi method find the eigen values and eigen vectors of A 0 2 0
1 0 2
UNIT-IV
PART-A
1. Define interpolation and extrapolation?
Sol. The process of computing the value of a function inside the given range is called
interpolation. The process of computing the value of a function outside the given range is called
extrapolation.
Sol.
Newton’s formula can be used only when the values of the independent variable x are
equally spaced. But Lagrange’s interpolation formula can be used whether the values of the
independent variable x are equally spaced or not. Lagrange’s formula can be used for inverse
interpolation also, while Newton’s formula cannot be used.
Sol.
( x x1 )( x x 2 )( x x3 ).......( x x n )
y f ( x) y0
( x0 x1 )( x0 x 2 )( x0 x3 ).......( x0 x n )
( x x0 )( x x 2 )( x x3 ).......( x x n )
y1
( x1 x0 )( x1 x 2 )( x1 x3 ).......( x1 x n )
( x x0 )( x x1 )( x x3 ).......( x x n )
y2
( x 2 x0 )( x 2 x1 )( x 2 x3 ).......( x 2 x n )
+,…………..+
( x x0 )( x x1 )( x x 2 )( x x3 ).......( x x n1 )
yn
( x n x0 )( x n x1 )( x n x 2 )( x n x3 ).......( x n x n1 )
6. What is the disadvantage in practice in applying Lagrange’s interpolation formula?
Sol.
It requires close attention to sign and there is always a chance of committing some
error due to a number of positive and negative signs in the numerator and denominator.
7. What is inverse interpolation?
Sol.
It is the process of finding the values of x corresponding to a value of y, not present in the
table.
8. What is the Lagrange’s formula to find y if three sets of values (x0,y0), (x1,y1), (x2,y2)
are given?
( x x1 )( x x2 ) ( x x0 )( x x2 )
y f ( x) y0 y1
Sol.
( x0 x1 )( x0 x2 ) ( x1 x0 )( x1 x2 )
( x x0 )( x x1 )
y2 .
( x2 x0 )( x2 x1 )
9. Write the Lagrange’s formula for inverse interpolation.
( y y1 )( y y 2 )( y y 3 ).......( y y n )
Sol. x f ( y) x0
( y 0 y1 )( y 0 y 2 )( y 0 y 3 ).......( y 0 y n )
( y y0 )( y y2 )( y y3 ).......( y yn )
x1
+
( y1 y0 )( y1 y2 )( y1 y3 ).......( y1 yn )
( y y0 )( y y1 )( y y3 ).......( y yn )
x2
+
( y2 y0 )( y2 y1 )( y2 y3 ).......( y2 yn )
+,…………………+
( y y0 )( y y1 )( y y2 ).......( y yn 1 )
xn
( yn y0 )( yn y1 )( yn y2 ).......( yn yn 1 )
10. State Newton’s divided difference formula.
Sol.
y y0 ( x x0 )y0 ( x x0 )( x x1 ) 2 y0 ( x x0 )( x x1 )( x x2 ) 3 y0 +,…
11. Use Lagrange’s formula to find the quadratic polynomial that takes these values
x : 0 1 3
Sol.
By Lagrange’s formula
( x x1 )( x x2 ) ( x x0 )( x x2 )
y f ( x) y0 y1
( x0 x1 )( x0 x2 ) ( x1 x0 )( x1 x2 )
( x x0 )( x x1 )
y2
( x2 x0 )( x2 x1 )
x 2 3x
y(x) =
2
Hence y(2) = 1.
Sol.
dy 1 1 1 1
y0 2 y0 3 y0 4 y0 .............
dx x x0 h 2 3 4
d2y 1 2 11 4
2 2
0 y 3
y0 y0 .......... .............
dx x x0 h 12
dy 1 1 1 1
yn 2 yn 3 yn 4 yn .............
dx x x n h 2 3 4
d2y 1 2 11 4
2 2 y n 3
y n yn .......................
dx x x n h 12
14. Obtain the interpolation quadratic polynomial for the given data by
X: 0 2 4 6
Y : -3 5 21 45
x y = f(x) y 2 y 3 y
0 -3
8 8
2 5 0
16 8
4 21
24
6 45
u (u 1) 2 u (u 1)(u 2) 3
y y 0 uy 0 y0 y 0 ............
2! 3!
x x0 x 0 x
where u
h 2 2
( x / 2)( x / 2 1)
y 3 ( x / 2)(8) (8) 0
2!
y 3 4 x x( x 2)
y = x2 + 2x – 3.
equal parts.
0
Sol. h
6 6
When h = , the values of y = sinx are
6
2 3 4 5
x: 0
6 6 6 6 6
y=sinx: 0 0.5 0.8660 1 0.8660 0.5 0
Trapezoidal rule is
sin xdx
h
( y0 y n ) 2( y1 y 2 y3 ......... y n1
0
2
(0 0) 2(0.5 0.8660 1 0.8660 0.5)
6(2)
0.9770
6
1
f ( x) dx =
2
0.5
( y0 y10 ) 2( y1 y2 y3 ........ y9 )
2
17. Why is Trapezoidal rule so called?
Sol. The Trapezoidal rule is so called, because it approximates the integral by the sum
of n trapezoids.
18. How the accuracy can be increased in Trapezoidal rule of evaluating a given
definite integral?
Sol. If the number of points of the base segment b-a, ( the range of integration) is
increased, a better approximation to the area given by the definite integral will be
obtained.
19. In deriving the Trapezoidal formula, the arc of the curve y = f(x) over each sub
interval is replaced by its ______
Sol. chord.
20. When does Simpson’s rule or Simpson’s one-third rule give exact result?
Sol. Simpson’s rule will give exact result, if the entire curve y = f(x) is itself a parabola.
21. What are the truncation errors in Trapezoidal and Simpson’s rules of
numerical integration?
h3
Sol. Error in the Trapezoidal rule is f ( ) .
12
Error in the Trapezoidal rule is of the order h2.
h5
Error in the Simpson’s one-third rule is f IV
( ) .
90
Error in the Simpson’s one-third rule is of the order h4.
3h 5
Error in the Simpson’s three eighth rule is f IV
( ) .
80
Error in the Simpson’s three eighth rule is of the order h4.
22. Write the Simpson’s 1/3 rule formula.
Sol
Simpson’s 1/3 rule is
xn
h
x f ( x)dx 3 y0 yn 4 y1 y3 y5 ,.... 2 y2 y4 y6 ,....
0
23. What is the condition for Simpson’s 3/8 rule and state the formula.
Sol. The condition for Simpson’s 3/8 rule is the number of sub-intervals
should be a multiple of 3.
Simpson’s 3/8 rule is
xn
f ( x)dx 8 ( y
3h
0 yn ) 3( y1 y2 y4 y5 y7 .........)
x0
2( y3 y6 y9 ....................)
xn
PART-B
Lagrange’s interpolation formula
1. Using Lagrange’s interpolation formula, find 𝑦(10) from the following table. [A / M – 2011]
x: 5 6 9 11
y: 12 13 14 16
2. Using Lagrange’s interpolation, find the value of 𝑓(3), from the following table: [M / J –
2012]
x: 0 1 2 5
f(x): 2 3 12 147
3. Using Lagrange’s interpolation, find the value of 𝑓(3), from the following table:
x: 0 1 2 3 [N / D – 2013]
f(x): 2 3 12 147
4. Using Lagrange’s formula to fit a polynomial to the following data hence find 𝑦(𝑥 = 1).
x: -1 0 2 3 [N / D – 2010]
f(x): -8 3 1 12
5. Find polynomial 𝑓(𝑥) by using Lagrange’s formula and hence find 𝑓(4) for
x: 1 3 5 7 [M / J – 2014]
f(x): 24 120 336 720.
4. From the following table of half – yearly premium for polices maturing at different ages
estimate the premium for policies maturing at age 46 and 63. [A/M – 2011]
Age x: 45 50 55 60 65
Premium y: 114.84 96.16 83.32 74.48 68.48
𝑑𝑦 𝑑2 𝑦
2. From the following table of values of x and y, obtain 𝑑𝑥 𝑎𝑛𝑑 𝑑𝑥 2 for 𝑥 = 1.2. [A/M – 2010]
3. The population of a certain town is given below. Find the rate of growth of the population in
1931, 1941, 1961 and 1971.
[M/J – 2013]
Year x: 1931 1941 1951 1961 1971
Population in thousands y: 40.62 60.80 79.95 103.56 132.65.
𝜋
2. Evaluate ∫0 𝑠𝑖𝑛𝑥𝑑𝑥, by trapezoidal and Simpson’s one – third rules by dividing the range
into 10 equal parts. Verify your answer with integration. [N/D – 2012 ,M/J – 2014]
2 𝑑𝑥
3. Evaluate ∫0 𝑥 2+𝑥+1 to three decimals, dividing the range of integration into 8 equal parts
using Simpson’s rule. [M/J – 2012]
4. The table below gives the velocity V of a moving particle at time t seconds. Find the distance
covered by the particle in 12 seconds and also the acceleration at t=2 seconds, using
Simpson’s rule.
t: 0 2 4 6 8 10 12
V: 4 6 16 34 60 94 136.
5. The velocity v of a particle at a distance s from a point on its path is given as follows:
s in meter: 0 10 20 30 40 50 60
v m/sec : 47 58 64 65 61 52 38.
Estimate the time taken to travel 60 meters by using Trapezoidal rule and Simpson’s rule.
[M/J – 2014]
6 𝑑𝑥
6. Evaluate ∫0 using Trapezoidal rule. Verify the answer with direct integration.
1+𝑥 2
1 1 𝑑𝑥𝑑𝑦
7. Evaluate ∫0 ∫0 1+𝑥+𝑦 using Trapezoidal rule. [N/D – 2013]
9. A rocket is launched from the ground. Its acceleration is registered during the first 80 seconds
and is in the table below. Using trapezoidal rule and Simpson’s one – third rule, find the velocity
of the rocket at t=80 sec. [A/M – 2010]
𝑡(sec) : 0 10 20 30 40 50 60 70 80
𝑡(𝑐𝑚/𝑠𝑒𝑐) : 3 31.63 33.34 35.47 37.75 40.33 43.25 46.69 40.67.
UNIT-V
yn 1 yn
h
2
f ( x0 , y0 ) f x0 h, y0 hf ( x0 , y0
Runge kutta method (R-K Method
2nd order R-K method 3rd order R-K method 4th order R-K method
k1 hf ( x , y ) k1 hf ( x , y ) k1 hf ( x , y )
h k h k1 h k
k2 hf x , y 1 k2 hf x , y k2 hf x , y 1
2 2 2 2 2 2
k3 hf x h, y 2k2 k1 h k
k3 hf x , y 2
1 2 2
y [k1 4k2 k3 ]
6 k4 hf x h, y k3
1
y [k1 2k2 2k3 k4 ]
6
y1 y0 y
4h
y n 1, p y n 3 2 y n 2 y n 1 2 y n
3
y n 1 4 y n y n 1
h
y n 1,c y n 1
3
Adam-Bashforth predictor and corrector formula.
h
yn 1, p yn 55 yn 59 yn 1 37 yn 2 9 yn 3
24
h
yn 1, c yn 9 yn 1 19 yn 5 yn 1 yn 2
24
PART – A
1. What are the merits and demerits of the Taylor method of solution.
Sol.
Taylor method is very powerful if we can calculate the successive derivative of y in an easy
manner. If there is a simple expression for the higher derivatives in terms of the previous
derivatives of y, Taylor’s method will work very well. But in the differential equation
dy
f ( x, y ) , the function f(x,y) may have a complicated algebraically structure. Then the
dx
evaluation of higher order derivatives may become tedious. This is the demerit of this method.
2. Taylor series method will be very useful to give some _____ for powerful numerical
methods such as Runge kutta method, Milne’s method, etc.
3. The use of Taylor series to solve numerically, differential equations is restricted by the
labour involved in the determination of _________.
dy
4. Solve the differential equation x y xy , y(0) = 1 by Taylor series
dx
method to get the value of y at x = h.
Sol. Given
y x y xy
x0 0, y0 1
y x y xy y0 0 1 0 1
y 1 y xy y
y0 1 1 0 1 3
y y xy y y y0 ' ' ' 3 1 0 1 5
y y 2 y xy y y0 ' ' ' ' 5 6 0 3 14
Taylor’s series is
( x x0 ) 2 ( x x0 ) 3
y( x) y0 ( x x0 ) y0 y0 y0
2! 3!
( x x0 )4 iv
y .......
4!
(h 0) 2 (h 0) 3
y(h) 1 (h 0)(1) (3) (5)
2 6
(h 0) 4
(14) .......
24
3 5 7
y (h) 1 h h 2 h3 h 4 ...................
2 6 12
5. State the disadvantage of Taylor series method?
Sol. The disadvantage of Taylor series method is the evaluation of higher order
derivative which may become tedious for the function which have a complicated
algebraical structure.
7. Taylor series and Runge kutta method are single step methods while
Sol. Milne’s predictor and corrector method and Adam-Bashforth predictor and corrector
method.
8. Which formula is a particular case of Runge kutta formula of the second order.
11.In Euler’s method, if h is small, the method is too slow and if h is large, it gives
inaccurate value. Say True or False.
Sol. True.
dy
12.Using modified Euler’s method, find y(0.1) if x 2 y 2 , y ( 0) 1 .
dx
Sol. Given f(x,y) = x2 + y2 , x0 = 0, y0 = 1, h = 0.1
y1 y 0
h
f ( x0 , y 0 ) f x0 h, y 0 hf ( x0 , y 0
2
f ( x0 , y 0 ) x0 y 0 0 1 1
2 2
y1 1
0.1
1 f 0 0.1,1 0.1(1)
2
y1 1
0.1
1 f 0.1,1.1
2
y1 1
0.1
1 1.22
2
y1 1.111
13.Write down the formula to solve second order differential equation using Runge kutta
method of 4th order.
Sol. The second order differential equation is
d2y dy
g ( x , y , )
dx 2 dx
dy
put z. (1)
dx
dz
then g ( x, y, z ) (2)
dx
Equation (1) and (2) can be solved using the formula
k1 hf ( x0 , y0 , z0 )
h k l
k2 hf x0 , y0 1 , z0 1
2 2 2
h k l
k3 hf x0 , y0 2 , z0 2
2 2 2
k4 hf x0 h, y0 k3 , z0 l3
y
1
k1 2k2 2k3 k4
6
y1 y0 y
l1 hg ( x0 , y0 , z0 )
h k l
l2 hg x0 , y0 1 , z0 1
2 2 2
h k l
l3 hg x0 , y0 2 , z0 2
2 2 2
l4 hg x0 h, y0 k3 , z0 l3
z
1
k1 2k2 2k3 k4
6
z1 z0 z
Similarly we can find the next increments by replacing
Sol. The difference between the computed value yi and the true value y(xi) at
1. The use of Runge kutta method gives quick convergence to the solutions of the
differential equation than Taylor’s series method.
2. In Runge kutta method, the derivatives of higher order are not required for calculation
as in Taylor’s series method.
16. Write the formula to find k2, k4 in Runge kutta method of fourth order.
Sol.
h k
k2 hf x0 , y0 1
2 2
k4 hf x0 h, y0 k3
h5 5
The truncation error in Milne’s corrector formula is y ( )
90
18. Write down the error in Adam-Bashforth’s method.
251h 5 5
Sol. The truncation error in Adam’s predictor formula is y ( )
720
19h 5 5
The truncation error in Adam’s corrector formula is y ( )
720
h
yn 1, p yn 55 yn 59 yn 1 37 yn 2 9 yn 3
24
h
yn 1, c yn 9 yn 1 19 yn 5 yn 1 yn 2
24
20. Write down Milne’s predictor and corrector formula.
Sol.
4h
y n 1, p y n 3 2 y n 2 y n 1 2 y n
3
y n 1 4 y n y n 1
h
y n 1,c y n 1
3
21. Compare the Milne’s predictor – corrector and Adam-Bashforth predictor – corrector
Sol. For both the method, we require four prior values of y.If the prior values are not
given , we can find them by using Taylor’s series method or Euler’s method or Runge
kutta methods.
22.Mention the multistep methods available for solving ordinary differential equation
Sol. i) Milne’s predictor - corrector method
ii) Adam’s Bashforth predictor – corrector method.
PART-B
Taylor’s series, Euler’s and Modified Euler’s method:-
1. Apply Taylor series method to find and approximate value of 𝑦 when 𝑥 = 0.1, 0.2 given that
𝑑𝑦
= 𝑥 + 𝑦, 𝑦(0) = 1. [M/J – 2014]
𝑑𝑥
2. Given 𝑦 ′ = 𝑥 2 − 𝑦, 𝑦(0) = 1, 𝑦(0.1) = 0.9052, 𝑦(0.2) = 0.8213, find 𝑦(0.3) using
Taylor’s series method. [N/D – 2013]
3. Using Taylor series method, compute 𝑦(0.2) and 𝑦(0.4) correct to 4 decimal places given
𝑑𝑦
= 1 − 2𝑥𝑦 and 𝑦(0) = 0, by taking ℎ = 0.2. [A/M – 2011]
𝑑𝑥
𝑑𝑦
4. By Taylor series method find 𝑦(0.1), 𝑦(0.2)𝑎𝑛𝑑 𝑦(0.3) if = 𝑥 − 𝑦 2 , 𝑦(0) = 1.
𝑑𝑥
[N/D – 2012]
𝑑𝑦
5. Given 𝑑𝑥 = 1 + 𝑦 2, where 𝑥 = 0, find 𝑦(0.2), 𝑦(0.4) and 𝑦(0.6), using Taylor series
method. [A/M – 2010]
′ 2 2
6. Use Euler’s method, with ℎ = 0.1 to find the solution of 𝑦 = 𝑥 + 𝑦 with 𝑦(0) = 0 in 0 ≤
𝑥 ≤ 5. [N/D – 2010]
𝑑𝑦
7. Consider the initial value problem 𝑑𝑥 = 𝑦 − 𝑥 2 + 1, 𝑦(0) = 0.5. Using the modified Euler
method find 𝑦(0.2). [M/J – 2012]
𝑑𝑦
8. By modified Euler method, find 𝑦(0.1), 𝑦(0.2)𝑎𝑛𝑑 𝑦(0.3) if 𝑑𝑥 = 𝑥 + 𝑦, 𝑦(0) = 1.
[N/D – 2012]
9. Using modified Euler method, find 𝑦(0.1), 𝑦(0.2) given
𝑑𝑦
𝑑𝑥
= 𝑥 2 + 𝑦 2 , 𝑦(0) = 1. [A/M – 2011]
𝑑𝑦
10. Solve by Euler’s method, the equation 𝑑𝑥 = 𝑥 + 𝑦, 𝑦(0) = 0 choose ℎ = 0.2 and compute
𝑦(0.4)𝑎𝑛𝑑 𝑦(0.6). [N/D – 2013]
Fourth Order Runge- Kutta Method Milne’s & Adam’s predictor corrector:
11. Using R-K method of fourth order to find y(0.1) and y(0.2) for the initial value problem
dy
x y 2 , y (0) 1
dx
dy y 2 x 2
12. Using R-K method of fourth order to solve , y(0) 1 at x=0.2
dx y 2 x 2
13. Using R-K method of fourth order to find y(0.2) and y(0.4)given that
dy
y y 2 x , y (0) 2 by taking h=0.2
dx
14. Using R-K method of fourth order to find y(0.1) and y(0.2) for the initial value problem
dy
x 2 y 2 , y (0) 1
dx
15. Find y(0.7) & y(0.8) given that y ' y x 2 , y(0.6) 1.7379 by using R-K method of fourth
order take h=0.1
dy
16. Given x 3 y , y ( 0) 2
dx
i) Compute y(0.2), y(0.4) and y(0.6) by R-K method of 4th order.
ii) Hence find y(0.8) by Milne’s predictor corrector method taking h =0.2
17. Solve y x y ,0 x 1 , y(0) = 0, y(0.2) = 0.02, y(0.4) = 0.0795,
2