Numerical Analysis Introduction To MATLAB Programming

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

Numerical Analysis

Introduction to MATLAB Programming

Lab # 1
Tuesday, Sept 21, 2021

Dr. Zohaib Atiq Khan


Assistant Professor
zohaib.atiq@uet.edu.pk
Department of Chemical, Polymer & Composite Materials
Engineering (New Campus)

1
Course Title Numerical Analysis
Course Number MA-240L

Semester Fall 2021

Instructor (Theory) Dr. Zohaib Atiq Khan

Designation Assistant Professor

Email zohaib.atiq@uet.edu.pk

Credit Hours 1

Contact Hours 3

Compulsory/Elective Compulsory

UET 2
LAHORE Copyright ® Dr Zohaib Atiq Khan
Lab Scheme
Module 1 Module 4
• MATLAB Introduction • Solution of linear simultaneous equations
• Using Array Operation • Jacobi Method
• Array Operation Tutorial • Gauss Siedel Method
• Plotting and Output
• MATLAB Files- Scripts and Functions
• Loops and Execution Control
Module 5
• Differentiation in Single Variable
Module 2 • uler’s methods
• Errors in Numerical Computation
• Runge–Kutta methods
• Round off Errors: And iterative Method
• Truncation Errors and Taylor Series
Module 6
Module 3 • Numerical Integration
• Numerical Solution of Nonlinear Equation • rapezoidal and Simpson’s rules
• Bisection Method
• Fixed Point Iteration Method
• Newton Raphson Method

UET 3
LAHORE Copyright ® Dr Zohaib Atiq Khan
Assessment Criteria

• 6 Lab Assessments 60%


• 1 Case study 20%
• Lab Attendance 20%

UET 4
LAHORE Copyright ® Dr Zohaib Atiq Khan
UET 5
LAHORE Copyright ® Dr Zohaib Atiq Khan
UET 6
LAHORE Copyright ® Dr Zohaib Atiq Khan
Tutorial
CRE Programming Fluid Flow Numerical
Analysis
Sajid 24 44 36 36
Nimra 52 57 68 76
Abdul Qayum 66 53 69 73
Amir 85 40 86 72
Haris 15 47 25 28
Asad ullah 79 72 82 91

Create a 6 x 3 matrix of allMarks to contain marks for first three courses


Append marks for the Numerical Analysis course to allMarks when received
Do the following computations
1. Numerical Analysis course was out of 50. Scale the marks to half
2. Extract row three and give the marks to Abdul Qayum. Also calculate his total marks
3. Extract marks for Haris and Asad ullah for the first three subject.
4. Calculate average marks obtained in each four courses
5. Scale all marks out of *10

UET 7
LAHORE Copyright ® Dr Zohaib Atiq Khan

You might also like