Professional Documents
Culture Documents
1 a) Find the roots of the following equations using Gauss-Seidel iteration method: 2
2x+3y+z=9, x+2y+3z=6, 3x+y+2z=8
b) What are the reasons to study numerical methods in Computer Science? Explain with 3
mentioning the proper applications
2 a) Find the value of height y in feet at x =11 meter from the following table using suitable 2
method:
Distance x 3 7 9 10 12
meter
Height y feet 16 120 72 63 85
b) Find the maximum and minimum values of y from the following tabular function: 3
x 1 3 5 7 9
y=f(x) 0.25 0 2.25 16 56.25
3 a) Solve the following linear equations by using Matrix: 2x+3y=13 and 4x-y=5. 2
b) The population of a town in the last six censuses was as given below. Estimate the 3
population for the year 1947.
The population y0 to y5 will be updated by using the last digit of your own id adding 4 at
each steps. [For example, since ID: 191-15-2272, hence y0=2, y1=7, y2=12, y3=17,
y4=22, y5=27.]
4 a) Find the real root of the equation x2-bx+c=0 using Fixed point iterative method allow 2
with 3 decimal point. [Note: value of b and c will be taken from your own id of the last
part except 0. For example: since id: 191-15-2380, hence b=3 and c=8].
b) Find the real root of the equation ax3-bx2-c=0 using Newton-Raphson method allow 3
with 4 decimal point. [Note: value of a, b and c will be taken from your own id of the
last part except 0. For example: since id: 191-15-2285, hence a=2, b=8 and c=5].
5 a) Mr. Jamil wanted to run a mathematical program but he faced some problems. He found 2
the calculated value of 𝒆 is 𝟏/𝟕 = 𝟎. 𝟏𝟒𝟐𝟖𝟓𝟕𝟏𝟒𝟐𝟖𝟔. If he used three approximations
of the number 𝟏/𝟕 are given as 0.1396, 0.1412 and 0.1511. Find the best approximation
among the three and why?
3
b) Find the real root of the equation ax3-bsinx-c=0 using bisection method allow with 4
decimal point. [Note: value of a, b and c will be taken from your own id of the last part
except 0. For example: since id: 191-15-2209, hence a=2, b=2 and c=9].