Presentation is loading. Please wait.

Presentation is loading. Please wait.

MATH-321 54321 My research interests lie primarily in the area of numerical analysis and scientific computing, …

Similar presentations


Presentation on theme: "MATH-321 54321 My research interests lie primarily in the area of numerical analysis and scientific computing, …"— Presentation transcript:

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 Richard L. Burden, J. Douglas Faires 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 BBQ

6 MATH-321 Request Forms

7 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

8 Two factors 1) Hard working students 2) MATLAB (Programming)

9 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

10 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

11 2 1 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 2 1

12 PUBLISH script file to pdf
Example Solve the quadratic equation quads.m a = 3; b =10; c = 3; discr = b^2 - 4*a*c; sq_discr = sqrt(discr) x1 = ( - b + sq_discr ) / ( 2*a ) x2 = ( - b - sq_discr ) / ( 2*a ) 1 publish('quads','pdf') 2

13 commonly used mathematical functions
Use help command

14 >> f = @(x) 3*x^2+10*x+3 >> g = @(t,x) t+x+10
Create your function Example Create the following functions >> f 3*x^2+10*x+3 f = function_handle with value: @(x)3*x^2+10*x+3 >> f(1) ans = 16 >> g t+x+10 g = function_handle with value: @(t,x)t+x+10 >> g(1,2) ans = 13


Download ppt "MATH-321 54321 My research interests lie primarily in the area of numerical analysis and scientific computing, …"

Similar presentations


Ads by Google