Mathematics: Analog Ias
Mathematics: Analog Ias
Mathematics: Analog Ias
MATHEMATICS
NUMERICAL ANALYSIS & COMPUTER
PROGRAMMING
Previous year Questions from 1992 To 2017
Syllabus
Numerical methods: Solution of algebraic and transcendental equations of one variable by bisection, Regula-
Falsi and Newton-Raphson methods; solution of system of linear equations by Gaussian elimination and
Gauss-Jordan (direct), Gauss-Seidel(iterative) methods. Newton's (forward and backward) interpolation,
Lagrange's interpolation. Numerical integration: Trapezoidal rule, Simpson's rules, Gaussian quadrature
formula. Numerical solution of ordinary differential equations: Euler and Runga Kutta-methods.
ANALOG IAS
Computer Programming: Binary system; Arithmetic and logical operations on numbers; Octal and Hexa-
decimal systems; Conversion to and from decimal systems; Algebra of binary numbers.
Elements of computer systems and concept of memory; Basic logic gates and truth tables, Boolean algebra,
normal forms.Representation of unsigned integers, signed integers and reals, double precision reals and
long integers.
Algorithms and flow charts for solving numerical analysis problems.
ANALOG IAS
I N S T I T U T E
The Right Choice of Achievers
Corporate Office: 2nd Floor, 1-2-288/32, Indira Park ‘X’Roads, Domalguda, Hyderabad-500 029.
Ph: 040-27620440, 9912441137/38, Website: www.analogeducation.in
Branches: New Delhi: Ph:8800270440, 8800283132 Bangalore: Ph: 9912441138,
9491159900 Guntur: Ph:9963356789 Vishakapatnam: Ph: 08912546686
2 6 6
2 8 6
inverse of the matrix. (10 Marks)
2 6 8
postulate rules. Mention the rules used during simplification. Verify your result by
constructing the truth table for the givern expression and for its simplest form.
(10 Marks)
2016
3. Convert the following decimal numbers to equivalent binary and hexadecimal
numbers:
(i) 4096 (ii) 0.4375 (iii) 2048.0625 (10 marks)
4. Le t f(x)=e2xcos3x for x [0,1]. Estimate the value of f(0.5) Using Lagrange interpolating
polynomial of degree 3 over the nodes x=0, x=0.3, x=0.6 and x=1. Also compute the
error bound over the interval [0,1] and the actual error E(0.5) (20 marks)
1
5. For an integral f x dx show that the two point Gauss quadrature rule is given by
1
1
1 1 4
A. A B C . A B C . A B C . A B C . (15 marks)
2015
7. Find the principal (or canonical) disjunctive normal form in three variables p,q,r for the
Boolean expression p q r p q r . is the given Boolean expression a
contradiction or a tautology? (10 marks)
8. Find the lagrange interpolating polynomial that fits the following data:
x –1 2 3 4
f(x) –1 11 31 69
Find f(1.5) (20 marks)
13. Use only AND and OR logic gates to construct a logic circuit for the Boolean
expression z=xy+uv (10 marks)
14. Solve the system of equations
2x1–x2=7
–x2+2x2–x3=1
–x2+2x3=1
Using Gauss-Seidel iteration method (perform three iterations) (15 marks)
15. Use Runge-Kutta formula of fourth order to find the value of y at x=0.8, where
dy
x y , y(0.4)=0.41. Take the step length h=0.2 (20 marks)
dx
16. Draw a flow chart for Simpson’s one-third rule. (15 marks)
17. For any Boolean variables x and y, show that x+xy=x (15 marks)
2013
18. In an examination, the number of students who obtained marks between certain limits
were given in the following table:
Using Newton forward interpolation formula, find the number of students whose marks
lie between 45 and 50. (10 marks)
19. Develop an algorithm for Newton-Raphson method to solve f(x)=0 starting with initial
iterate x0, n be the number of iterations allowed, epsilon be the prescribed relative
error and delta be the prescribed lower bound for f'(x) (20 marks)
20. Use Euler’s method with step size h=0.15 to compute the approximate value of y(0.6),
correct up to five decimal places from the initial value problem. y=x(y+x)–1, y(0)=2
(15 marks)
T 2 4 6 8 10 12 14 16 18 20
V 16 28.8 40 46.4 51.2 32.0 17.6 8 3.2 0
2012
22. Use Newton-Raphson method to find the real root of the equation 3x=cosx+1 correct
to four decimal places (12 marks)
dy
23. Provide computer algorithm to solve an ordinary differential equation f x, y in
dx
the intervel [a,b] for n number of discrete points, where the initial value is y()=, using
Euler’s method. (15 marks)
24. Solve the following system of simultaneous equations, using Gauss–Seidel iterative
method:
3x+20y–z=–18
20x+y–2z=17
2x–3y+20z=25 (20 marks)
dy
25. Find at x=0.1 from the following data:
dx
x: 0.1 0.2 0.3 0.4
y: 0.09975 0.9900 0.9776 0.9604 (20 marks)
26. In a certain examination, a candidate has to appear for one major & two major sub
jects. The rules for declaration of results are marks for major are denoted by M1 and
and for minor by M2 and M3. If the candidate obtains 75% and above marks in each of
the three subjects, the candidate is declared to have passed the examination in first
class with distinction. If the candidate obtains 60% and above marks in each of the
three subjects, the cadidate is declared to have passed the examination in first class.
If the candidate obtains 50% or above in major, 40% or above in each of the two
minors and an average of 50% or above in all the three subjects put together, the
candidate is declared to have passed the examination in-second class. All those
candidates, who have obtained 50% and above in major and 40% or above in minor,
are declared to have passed the examination. If the candidate obtains less than 50%
in major or less than 40% in anyone of the two minors, the candidate is declared to
have failed in the examinations. Draw a flow chart to declare the results for the above.
(20 marks)
1 rd
Simpson’s rule. (12 marks)
3
28. (i) Compute (3205)10 to the base 8.
(ii) Let A be an arbitary but fixed Boolean algebra with operations and and the
zero and the unit element denoted by 0 and 1 respectively. Let x,y,z... be elements of
A. If x,yA be such that xy=0 and xy=1 then prove that y=x. (12 marks)
29. A solid of revolution is formed by rotating about the x-axis, the area between the
x-axis, the line x=0 and x=1 and a curve through the points with the following
co-ordinates:
x y z f x, y , z
1 1 1 1
1 1 0 0
1 0 1 0
1 0 0 0
0 1 1 1
0 1 0 0
0 0 1 0
0 0 0 0
(20 marks)
31. Draw a flow chart for Lagrange’s interpolation formula. (20 marks)
2010
32. Find the positive root of the equation 10x e x2 –1=0 correct up to 6 decimal places by
using Newton-Raphson method. Carry out computations only for three iterations.
(12 marks)
33. (i) Suppose a computer spends 60 percent of its time handling a particular type of
computation when running a given program and its manufacturers make a change that
improves its performance on that type of computation by a factor of 10. If the program
takes 100 sec to execute, what will its execution time be after the change?
g a b c d a e f where x denotes the complement of x
(ii) Find the decimal equivalent of (357.32)8 (6+6=12 marks)
40. Develop an algorithm for Regula-Falsi method to find a root of f(x)=0 starting with two
initial iterates x0 and x1 to the root such that sign(f(x0) sign(f(x1). Take n as the maxi
mum number of iterations allowed and epsilon be the prescribed error.
(30 marks)
2008
43. Find the smallest positive root of equation xex–cosx=0 using Regula-Falsi method. Do
three iterations. (12 marks)
44. State the principle of duality
(i) in Boolean algebra and give the dual of the Boolean expression
X Y . X .Z . Y Z and XX 0
(ii) Represent A B C A B C A B C in NOR to NOR logic network.
(6+6=12 marks)
45. (i) The following values of the function f(x)=sinx+cosx are given:
x 10 20 30
f(x) 1.1585 1.2817 1.3360
Construct the quadratic interpolating polynomial that fits the data. Hence calculate
f . Compare with exact value.
12
(ii) Apply Gauss-Seidel method to calculate x,y,z from the system:
–x–y+6z=42
6x–y–z=11.33
–x+6y–z=32
with initial values (4.67, 7.62, 9.05). Carry out computations for two iterations
(15+15=30 marks)
46. Draw a flow chart for solving equation F(x)=0 correct to five decimal places by
Newton-Raphson method (30 marks)
2007
47. Use the method of flase position to find a real root x 3 5 x 7 0 lying between 2 and
3 and correct to 3 places of decimals. (12 marks)
48. Convert:
(i)46655 given to be in the decimal system into one in base 6.
(ii) (11110.01)2 into a number in the decimal system. (6+6=12 marks)
49. (i) Find from the following table, the area bounded by the x–axis and the curve y=f(x)
between x=5.34 and x=5.40 using the trapezoidal rule:
2006
1
b
x
f x dx
a
3
f x0 4 f x1 2 f x2 4 f x3 .... 2 f x2 n 2 4 f x2 n 1 f x2 n ]
(30 marks)
54. Use appropriate quadrature formulae out of the Trapezoidal and Simpson’s rules to
1
dx
numerically integrate 1 x 2 with h=0.2. Hence obtain an approximate value of .
0
required weights and residues. Use five decimal places for computation.(12 marks)
63. (i) Convert the following binary number into octal and hexa decimal system:
101110010.10010
(ii) Find the multiplication of the following binary numbers:11001.1 an d 101.1
(6+6=12 marks)
x 1 1
64. Find the positive root of the equation 2e using Newton-Raphson
x 2 x 1
method correct to four decimal places. Also show that the following scheme has error
1 a
of second order: xn 1 xn 1 2 (30 marks)
2 xn
b
1 1
65. Draw a flow chart and algorithm for Simpson’s rd rule for integration 1 x 2 dx
3 a
2001
69. Show that the truncation error associated with linear interpolation of f(x), using ordi
1
M 2 x1 x0 where
2
nates at x0 and x1 with x0 x x1 is not larger in magnitude than
8
2
M 2 max f '' x in x0 x x1. Hence show that if f x e
t 2
dt , the truncation
0
x1 x0
2
Simpson’s one-third rule. Hence find the value of and actual error, correct to five
places of decimals
(ii) Solve the following system of linear equations, using Gauss-eliminations method.
x1+6x2+3x3=6
2x1+3x2+3x3=117
4x1+x2+2x3=283 (15+15=30 marks)
1999
b
75. Obtain the Simpson’s rule for the integral I f x dx and show that this rule is exact
a
for polynomials of degree n3. In general show that the error of approximation for
b a
5
76. Using fourth order classical Runge-Kutta method for the initial value problem
du
2tu 2 , u 0 1 , with h=0.2 on the interval [0,1], calculate u(0.4) correct to six
dt
places of decimal. (20 marks)
1998
3
dx
77. Evaluate
1
x
by Simpson’s rule with 4 strips. Determine the error by direct
1
interval (1.6,2.2) and th rule for (2.2,3.4):
8
x 1.6 1.8 2.0 2.2 2.4
f(x) 4.953 6.050 7.389 9.025 11.023
i 0 1 2 3
places. xi 1 2 3 4 (20 marks)
yi 1 5 11 8
91. Find the derivate of f(x) at x = 0.4 from the following table:
1993
92. Find correct to 3 decimal places the two positive roots of 2e x–3x2=2.5644 (20 marks)
3
Compare it with the value obtained by using the trapezoidal rule and with exact value.
(20 marks)
dy
94. Solve xy for x=1.4 bu Runge-Kutta method, initially x=1, y=2 (Take h=0.2)
dx
(20 marks)
1992
95. Compute to 4 decimal placed by using Newton-Raphson method, the real root of
x2+4sinx=0 (20 marks)
dy
96. Solve by Runge-Kutta method x y with the initial conditions x0=0, y0=1 correct
dx
up to 4 decimal places, by evaluating up to swecond increment of y (Take h=0.1)
(20 marks)
97. Fit the natural cubic spline for the data.
x:0 1 2 3 4
y: 0 0 1 0 0 (20 marks)