



































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
This lecture is for Computational Physics course. It was delivered by Dr. Hanif Durad at Pakistan Institute of Engineering and Applied Sciences, Islamabad (PIEAS). It includes: Partial, Differential, Advection, Equation, Numerical, Methods, Sparse, Linear, Systems, Characteristics
Typology: Slides
1 / 43
This page cannot be seen from the preview
Don't miss anything!




































Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad Kreyszig_AEM 8e, P- 918
Poisson’s equation with following BC’sWrite a MATLAB program to solve the Dr. Hanif Durad 3
xx yy n u u xy x y u x u x x u y u y y
using h=0.5 in both x and y directions
Direct methods : find the exact solution in a finite number of steps Robust Usually computational expensive. Good for small dense matrix Iterative methods: it is close enough to the exact solution (within error tolerance)Start with an initial “guess”, successively improve the guess until Accuracy and Convergence Issues Good for large sparse matrix Dr. Hanif Durad CSE245\MatrixSolverI.pdf
Dr. Hanif Durad
Dr. Hanif Durad
Dr. Hanif Durad