Computer Oriented Numerical Analysis Assignment
Computer Oriented Numerical Analysis Assignment
Amity Campus
Uttar Pradesh
India 201303
ASSIGNMENTS
PROGRAM: BSc IT
SEMESTER-II
Subject Name
Study COUNTRY
Roll Number (Reg.No.)
Student Name
:
:
:
:
INSTRUCTIONS
a) Students are required to submit all three assignment sets.
ASSIGNMENT
Assignment A
Assignment B
Assignment C
DETAILS
Five Subjective Questions
Three Subjective Questions + Case Study
Objective or one line Questions
MARKS
10
10
10
b)
c)
d)
e)
Signature :
Date
:
_________________________________
_________________________________
Assignment
Computer Oriented Numerical Analysis
Assignment A
1.
2.
3.
4.
Define error, relative error and absolute error. Give example of each.
Find the rate of convergence of Newton Raphson Method.
By using Regula Falsi method find the root of 15 correct up to 2 decimal places.
Solve the following set of equations by using Gauss Elimination Method.
2x+3y+4z = 12
3x+y+z = 4
x+4y+z = 5
5. Solve the following set of equations by Gauss Seidal Method.
-8x1 + x2 + x3 = 4
x1 + -5x2 x3 = 1
x1 + x2 4x3 = 3
Assignment B
1. (a) Round off and truncate the following numbers to four decimal places.
(a) 132.59839
(b) 0.073729
(c) 9528.26058
(b) Find the root of the equation 2x3-5x-1=0 by using Bisection method. Perform
5 steps.
2. Solve the following problem by Jacobi Method. Perform three steps.
x1 - 2x2 - x3 - x4 = 3
-2x1+x2- x3 - x4 = 15
x1 - x2 +x3-2x4 = 27
-x1 -x2 -2x3 +x4 = -9
3. (a) For the given data
x
f(x)
1
33
2
50
3
69
4
90
5
129
Find the value of f(x) at 1.4
(b) Choose 4 cards at-random from a standard 52 card deck. What is the
probability that two kings and two ace will be chosen.
Assignment C
1. Round off the number 0.859378 to four significant digits.
(a) 0.8594
(b) 0.8593
(c) 8593
(d) 8.593
(b) 0.8593
(c) 8593
(d) 8.593
(e) None
(b)x2=x1-(f(x0) (f(x1)-f(x0))/(x1-x0)
(d)x2=x0-(f(x0) (f(x1)-f(x0))/(x1-x0)
4. Solve the following equation by Regula Falsi Method upto 2 steps by taking the initial
value x0=1 and x1=2
X3-X-4=0
(a) 1.234
(b) 1.666
(c) 1.9823
5. Choose the initial values of the Bisection Method to solve the following equation
x5+5x+1=0
(a) x0=1, x1=2(b) x0=0, x1=1
(c) x0=0, x1=-1
(d) x0=-1, x1=-2
6. Solve x3-2x-5=0 by Newton Raphson Method upto 2 decimal places of accuracy by
taking x0=2
(a) 2.3568
(b) 2.995
(c) 2.09
(d) 2.135
7. Solve x=1/(x+1)2 by iteration method. Take x0=0.5. Perform two steps only.
(a) .479
(b) .3854
(c) .4053
(d) .793
8. Which method has the fastest convergence?
(a) Bisection method (b) Newton Raphson Method (c) Regula Falsi Method
(d) Iterative Method
9. In Bisection method the initial approximation x0 and x1 are chosen such that
(a) f(x0).f(x1)<0
(b) f(x0).f(x1)>0
(c) f(x0).f(x1)=0
(d) f(x0)-f(x1) is negative.
10. The basic iteration formula to solve 12 is
(a)1/2(xn-12/xn)
(b) 1/2(xn+12/xn)
(c) 1/2(1/xn-12/xn)
(d) None
y0=
(a) y4-4y3+6y2-4y1+y0
(c) y4+4y3-6y2+4y1-y0
(b) = y4-4y3+6y2-4y1+y0
(d) None of these
(c) E* =1
(d) E/ =1
(d) None
(b) y1=y0/h
(c) y1=y0+h
(c) =0
(d) None
(b) Jacobi
(c) (2,2)
(c) y=ax+c
(b) y2+2y1+y0
(d) None
(c) y2+y1+y0
(d) None
(d) None
(b) [y0+yn+2(y1+y2+.+yn)]
(d) None of these