











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Dr. Sahaujas Advait delivered this lecture at Alliance University for Machine Learning and MATLAB course. Its main points are: Partial, Differential, Equations, Heat, Solution, Forward, Difference, Method, Backward, Analytical, Cranck-Nicolson
Typology: Slides
1 / 19
This page cannot be seen from the preview
Don't miss anything!












Most of the codes have been adopted from various books forNumerical Computing using MATLAB their references have beengiven in short on each topic
docsity.com
Dr. Hanif Durad^
Lecture Outline Example MOL for one-way wave equation Heat Equation Solution Forward Difference Method (Analytical solutionassignment) Backward Difference Method (Assignment) Crank-Nicolson Method
docsity.com
Wave Equation-Solved Examplef=@(x) sin(pi*x)g=@(x) 0u=finedif (f,g,1,1,1,6,6)u = 0 0.5878^ 0.
0.9511^ 0.
0 0 0.4755^ 0.
0.7694^ 0.
0 0 0.1816^ 0.
0.2939^ 0.
0 0 -0.1816^ -0.
-0.2939^ -0.
0 0 -0.4755^ -0.
-0.7694^ -0.
0 0 -0.5878^ -0.
-0.9511^ -0.
0
B4, P-325Kreyszig_AEM 8e, P-548, 928
docsity.com
Iterative Methods for LinearSystems
docsity.com
Iterative Refinement Example(1/2)^ ^ Chapra B1 old, P-287, Problem 10.
Dr. Hanif Durad^
(^8) docsity.com
Iterative Refinement-Assignment
Dr. Hanif Durad^
^ Chapra B1 new, P-260, Problem 9.
docsity.com
Dr. Hanif Durad^
test ??
docsity.com
Jacobi Method (3/3) Varying no. of iterations>> max1=13max1 = (^13) >> X=jacobi(A,b,x0,delta, max1)X =0.12500.12500.37500.
Dr. Hanif Durad^
(^13) docsity.com
Dr. Hanif Durad^
test ??
docsity.com
Dr. Hanif Durad^
Successive over Relaxation(SOR) (2/2)
Dr. Hanif Durad^
SOR Method converged in
8 iterations X = 0.12500.12500.37500.
docsity.com
Dr. Hanif Durad^
(^19) docsity.com