BCA S2 MATHS U3
BCA S2 MATHS U3
MATHEMATICS
SEMESTER 2
UNIT 3
HI COLLEGE
SYLLABUS
|2 1 ||3|
| 1 -1 | | 2 |
| -1 2 | | 1 |
We can use either the Gauss-Seidel or Gauss-Jacobi method to solve this system.
x(0) = [0, 0, 0]
x(1) = [3/2, 2/2, -1/2]
x(2) = [5/4, 7/4, -3/4]
x(3) = [23/16, 31/16, -13/16]
x(0) = [0, 0, 0]
x(1) = [3/2, 2/2, -1/2]
x(2) = [5/4, 7/4, -3/4]
x(3) = [23/16, 31/16, -13/16]
As we can see, both methods converge to the same solution: x = [23/16, 31/16,
-13/16].
Formulation
Ax = b
where A is a matrix, x is the solution vector, and b is the constant vector, the
Gauss-Jordan method performs the following steps:
then the system has a unique solution, and x = [x1, x2, x3].
To find the inverse of a matrix A using the Gauss-Jordan method, we can perform
the following steps:
...and so on,
A=|23|
|45|
Perform row operations to transform the augmented matrix into reduced row
echelon form:
| 1 -3/2 -1/2 |
| 0 1/2 -1/2 |
A^(-1) = |-3/2|
| /2 |
|/2 |
HiCollege Click Here For More Notes 07
NUMERICAL DIFFERENTIATION
Numerical Differentiation
The first order derivative of a function f(x) at a point x=a is denoted as f'(a) and
represents the rate of change of the function at that point. The first order
derivative can be approximated using the following formulas:
1. Forward Difference Formula: f'(a) ≈ (f(a+h) - f(a)) / h
where h is a small positive value.
1. Central Difference Formula: f'(a) ≈ (f(a+h) - f(a-h)) / (2h)
2. Backward Difference Formula: f'(a) ≈ (f(a) - f(a-h)) / h
The second order derivative of a function f(x) at a point x=a is denoted as f''(a) and
represents the rate of change of the rate of change of the function at that point.
The second order derivative can be approximated using the following formulas:
NON-TABULAR POINTS
A non-tabular point is a point where the function values are not known exactly. In
this case, we can use interpolation or extrapolation techniques to estimate the
function values.
For example, if we know the values of the function f(x) at x=a and x=a+h, we can
use linear interpolation to estimate the value of the function at x=a+2h:
f(a+2h) ≈ 2f(a+h) - f(a)
We can then use this estimated value to calculate the first order derivative:
f'(a) ≈ (f(a+h) - f(a)) / h
NUMERICAL INTEGRATION
Numerical integration is a method used to approximate the value of a definite
integral. There are several methods for numerical integration, including:
Simpson's 1/3 Rule: This method approximates the value of a definite integral
by dividing the area under the curve into parabolic segments and summing
the areas of the segments.
The actual value of the integral is approximately π^2/3 ≈ 2.33333. The Trapezoidal Rule
gives an error of approximately ±0.08333, while Simpson's 1/3 Rule gives an error of
approximately ±10^-8.