Introduction to Numerical Methods Mathematical Procedures

Slides:



Advertisements
Similar presentations
Newton’s Divided Difference Polynomial Method of Interpolation
Advertisements

Numerical Methods.  Polynomial interpolation involves finding a polynomial of order n that passes through the n+1 points.  Several methods to obtain.
Newton’s Divided Difference Polynomial Method of Interpolation
Selected from presentations by Jim Ramsay, McGill University, Hongliang Fei, and Brian Quanz Basis Basics.
Chapter 18 Interpolation The Islamic University of Gaza
Differentiation-Discrete Functions
Direct Method of Interpolation
8/15/ Differentiation-Discrete Functions Major: All Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati.
Reading Between the Lines
9/19/2015http://numericalmethods.eng.usf.edu1 Introduction to Scientific Computing Major: All Engineering Majors Authors: Autar Kaw, Luke Snyder
Welcome to EML3041: Computational Methods. SIT IN FIRST FOUR ROWS ONLY My name is Dr. Kaw. Introduce yourself to the person on your left and right! Say.
1 Interpolation. 2 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a.
1 Lagrangian Interpolation Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
1 Newton’s Divided Difference Polynomial Method of Interpolation Chemical Engineering Majors Authors: Autar Kaw, Jai.
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
Quadratic Spline Interpolation Part 1 of 2
1 Newton’s Divided Difference Polynomial Method of Interpolation Major: All Engineering Majors Authors: Autar Kaw,
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
1 Direct Method of Interpolation Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
1 INTERPOLASI. Direct Method of Interpolation 3 What is Interpolation ? Given (x 0,y 0 ), (x 1,y 1 ), …… (x n,y n ), find the value of ‘y’ at a value.
1 Direct Method of Interpolation Mechanical Engineering Majors Authors: Autar Kaw, Jai Paul
1 Spline Interpolation Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
1 Newton’s Divided Difference Polynomial Method of Interpolation Mechanical Engineering Majors Authors: Autar Kaw,
1 NUMERICAL METHOD. 2 Introduction Definition : The study of approximation techniques for solving mathematical problems, taking into account the extent.
1 Spline Interpolation Method Mechanical Engineering Majors Authors: Autar Kaw, Jai Paul
Interpolation - Introduction
11/22/ Differentiation-Discrete Functions.
Introduction to Scientific Computing
Interpolation.
Differentiation-Discrete Functions
CHAPTER 3 NUMERICAL METHODS.
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
FE Exam Tutorial
Differentiation-Discrete Functions
Computational Methods EML3041
Reading Between the Lines
Newton’s Divided Difference Polynomial Method of Interpolation
Introduction to Scientific Computing
Spline Interpolation Method
Computational Methods EML3041
Spline Interpolation Method
Mechanical Engineering Majors Authors: Autar Kaw, Charlie Barker
Spline Interpolation Method
Spline Interpolation Method
Direct Method of Interpolation
Computational Methods Autar Kaw University of South Florida
Spline Interpolation Method
Lagrangian Interpolation
MATH 2140 Numerical Methods
Computational Methods EML3041
Integrating Discrete Functions
Newton’s Divided Difference Polynomial Method of Interpolation
Trapezoidal Rule of Integration
Spline Interpolation Method
Lagrangian Interpolation
Lagrangian Interpolation
POLYNOMIAL INTERPOLATION
Direct Method of Interpolation
INTERPOLASI.
Why Splines ?
Newton’s Divided Difference Polynomial Method of Interpolation
Lagrangian Interpolation
Lagrangian Interpolation
Simultaneous Linear Equations
Direct Method of Interpolation
SKTN 2393 Numerical Methods for Nuclear Engineers
Spline Interpolation Method
Reading Between the Lines
Newton’s Divided Difference Polynomial Method of Interpolation
Lagrangian Interpolation
Presentation transcript:

Introduction to Numerical Methods Mathematical Procedures

Mathematical Procedures Nonlinear Equations Differentiation Simultaneous Linear Equations Curve Fitting Interpolation Regression Integration Ordinary Differential Equations Other Advanced Mathematical Procedures: Partial Differential Equations Optimization Fast Fourier Transforms

How much of the floating ball is under water? Nonlinear Equations How much of the floating ball is under water? Diameter=0.11m Specific Gravity=0.6

Nonlinear Equations How much of the floating ball is under the water?

Differentiation What is the acceleration at t=7 seconds?

Differentiation What is the acceleration at t=7 seconds? Time (s) 5 8 12 Vel (m/s) 106 177 600

Simultaneous Linear Equations Find the velocity profile, given Time (s) 5 8 12 Vel (m/s) 106 177 600 Three simultaneous linear equations

Interpolation What is the velocity of the rocket at t=7 seconds? Time (s) 5 8 12 Vel (m/s) 106 177 600

What is Interpolation ? Given (x0,y0), (x1,y1), …… (xn,yn), find the value of ‘y’ at a value of ‘x’ that is not given. http://numericalmethods.eng.usf.edu

Interpolants Evaluate Differentiate, and Integrate. Polynomials are the most common choice of interpolants because they are easy to: Evaluate Differentiate, and Integrate. http://numericalmethods.eng.usf.edu

Newton’s Divided Difference Method Linear interpolation: Given pass a linear interpolant through the data where http://numericalmethods.eng.usf.edu

Figure 2: Velocity vs. time data Example The upward velocity of a rocket is given as a function of time in Table 1. Find the velocity at t=16 seconds using the Newton Divided Difference method for linear interpolation. t v(t) s m/s 10 227.04 15 362.78 20 517.35 22.5 602.97 30 901.67 Figure 2: Velocity vs. time data for the rocket example Table 1: Velocity as a function of time http://numericalmethods.eng.usf.edu

Linear Interpolation http://numericalmethods.eng.usf.edu

Linear Interpolation (contd) http://numericalmethods.eng.usf.edu

Quadratic Interpolation http://numericalmethods.eng.usf.edu

Figure 2: Velocity vs. time data Example The upward velocity of a rocket is given as a function of time in Table 1. Find the velocity at t=16 seconds using the Newton Divided Difference method for quadratic interpolation. t v(t) s m/s 10 227.04 15 362.78 20 517.35 22.5 602.97 30 901.67 Figure 2: Velocity vs. time data for the rocket example Table 1: Velocity as a function of time http://numericalmethods.eng.usf.edu

Quadratic Interpolation (contd) http://numericalmethods.eng.usf.edu

Quadratic Interpolation (contd) http://numericalmethods.eng.usf.edu

Quadratic Interpolation (contd) http://numericalmethods.eng.usf.edu

General Form where Rewriting http://numericalmethods.eng.usf.edu

General Form http://numericalmethods.eng.usf.edu

General form http://numericalmethods.eng.usf.edu

Figure 2: Velocity vs. time data Example The upward velocity of a rocket is given as a function of time in Table 1. Find the velocity at t=16 seconds using the Newton Divided Difference method for cubic interpolation. t v(t) s m/s 10 227.04 15 362.78 20 517.35 22.5 602.97 30 901.67 Figure 2: Velocity vs. time data for the rocket example Table 1: Velocity as a function of time http://numericalmethods.eng.usf.edu

Example The velocity profile is chosen as we need to choose four data points that are closest to http://numericalmethods.eng.usf.edu

Example http://numericalmethods.eng.usf.edu

Example http://numericalmethods.eng.usf.edu

Comparison Table http://numericalmethods.eng.usf.edu

Distance from Velocity Profile Find the distance covered by the rocket from t=11s to t=16s ? http://numericalmethods.eng.usf.edu

Acceleration from Velocity Profile Find the acceleration of the rocket at t=16s given that http://numericalmethods.eng.usf.edu

Regression Thermal expansion coefficient data for cast steel

Regression (cont)

Integration Finding the diametric contraction in a steel shaft when dipped in liquid nitrogen.

Ordinary Differential Equations How long does it take a trunnion to cool down?