Download presentation
Presentation is loading. Please wait.
Published byVictor Copeland Modified over 6 years ago
1
MATH-321 54321 My research interests lie primarily in the area of numerical analysis and scientific computing, …
2
Math 321: Introduction to Numerical Computing
Numerical analysis Math 321: Introduction to Numerical Computing Numerical analysis the branch of mathematics that deals with the development and use of numerical methods for solving problems. “Solve” problems with no analytic solution Numerical analysis naturally finds applications in all fields of engineering, the physical sciences, life sciences, …..
3
MATH-321 SYLLABUS 2) Polynomial interpolation 4) Numerical integration and differentiation* 1) Solution of non-linear equations 7) Linear Regression 3) Splines 6) Solution of linear algebraic systems 5) IVB & BVP* Worked: Num. Sol. for PDE. Accele linear and nonlinear solver and their error analysis 8) Error Analysis
4
MATH-321 1)Request 2)Messages 3)BBQ 1)Webpage 2)Resources
5
MATH-321 SYLLABUS 2) Polynomial interpolation
4) Numerical integration and differentiation* 1) Solution of non-linear equations 7) Linear Regression 3) Splines 6) Solution of linear algebraic systems 5) IVB & BVP* Computer Usage: Computer software is essential for this course. Mainly we will be using MATLAB as the computational platform 8) Error Analysis
6
Quick Introduction to Matlab
Create variable >> a=1 a = 1 >> b=2, c=9 b = 2 c = 9 >> g = c - b -a g = 6 >> h = cos(g) h = Defining a Vector >> v = [3 1 1] v = 3 1 1 >> u = [1 2 3 4 5] u = 1 2 >> u=1:5 >> w = 2:3:15 w = Defining Matrices >> A = [ 1 2 3; 3 4 5; 6 7 0] A = 1 2 3 3 4 5 6 7 0 Matrix time a vector >> A*v' ans = 8 18 25 Determinant >> det(A) ans = 16
7
Script file in Matlab Example Solve the quadratic equation
Solve quadratic >> a=3; b=10; c=3; >> discr = b^2 - 4*a*c discr = 64 >> sq_discr = sqrt(discr) sq_discr = 8 >> x1 = ( - b + sq_discr ) / ( 2*a ) x1 = >> x2 = ( - b - sq_discr ) / ( 2*a ) x2 = -3 Example Solve the quadratic equation
8
Script file in Matlab Example >> quad
Solve quadratic >> quad c = 3 discr = 64 sq_discr = 8 x1 = x2 = -3 Example Solve the quadratic equation Type name of the file
9
Script file in Matlab Example >> v=[3 10 3]
Solve quadratic >> v=[3 10 3] v = >> [x1, x2] = quadratic_solve(v) x1 = x2 = -3 Example Solve the quadratic equation
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.