Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W. 13-15 Th. 13-15, F. 13-15.

Slides:



Advertisements
Similar presentations
Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
Advertisements

Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F
#8: Curves and Curved Surfaces CSE167: Computer Graphics Instructor: Ronen Barzel UCSD, Winter 2006.
March 1, 2009Dr. Muhammed Al-Mulhem1 ICS 415 Computer Graphics Hermite Splines Dr. Muhammed Al-Mulhem March 1, 2009 Dr. Muhammed Al-Mulhem March 1, 2009.
Numerical Methods.  Polynomial interpolation involves finding a polynomial of order n that passes through the n+1 points.  Several methods to obtain.
Interpolation A method of constructing a function that crosses through a discrete set of known data points. .
CS 445/645 Fall 2001 Hermite and Bézier Splines. Specifying Curves Control Points –A set of points that influence the curve’s shape Knots –Control points.
MATH 685/ CSI 700/ OR 682 Lecture Notes
Selected from presentations by Jim Ramsay, McGill University, Hongliang Fei, and Brian Quanz Basis Basics.
Basis Expansion and Regularization Presenter: Hongliang Fei Brian Quanz Brian Quanz Date: July 03, 2008.
1 Introduction Curve Modelling Jack van Wijk TU Eindhoven.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
1 Curve-Fitting Spline Interpolation. 2 Curve Fitting Regression Linear Regression Polynomial Regression Multiple Linear Regression Non-linear Regression.
Mathematics Topics Table of Contents. 9/14/2013 Tables of Contents 2 How to Use Topics Main Topics Numbers Real Numbers Numbers and Data Numbers & Geometry.
Direct Method of Interpolation
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 23 CURVE FITTING Chapter 18 Function Interpolation and Approximation.
ECIV 301 Programming & Graphics Numerical Methods for Engineers Lecture 24 Regression Analysis-Chapter 17.
Copyright © 2006 The McGraw-Hill Companies, Inc. Permission required for reproduction or display. 1 Interpolation Chapter 18.
Chapter 6 Numerical Interpolation
8/15/ Differentiation-Discrete Functions Major: All Engineering Majors Authors: Autar Kaw, Sri Harsha Garapati.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Spline curves 1/23 Curves and Surfaces.
CS 376 Introduction to Computer Graphics 04 / 23 / 2007 Instructor: Michael Eckmann.
Interactive Graphics Lecture 9: Slide 1 Interactive Graphics Lecture 9: Introduction to Spline Curves.
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.
Computational Method in Chemical Engineering (TKK-2109)
1 Lagrangian Interpolation Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Numerical Methods For Slides Thanks to Lecture 6 Interpolation
1 Newton’s Divided Difference Polynomial Method of Interpolation Major: All Engineering Majors Authors: Autar Kaw,
June D Object Representation Shmuel Wimer Bar Ilan Univ., School of Engineering.
Interpolation.
Computers in Civil Engineering 53:081 Spring 2003 Lecture #15 Spline Interpolation.
1 Direct Method of Interpolation Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
Introduction to Numerical Analysis I MATH/CMPSC 455 Splines.
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.
Spline Interpolation A Primer on the Basics by Don Allen.
1 Spline Interpolation Method Major: All Engineering Majors Authors: Autar Kaw, Jai Paul
5. Interpolation 5.1 Definition of interpolation. 5.2 Formulas for Interpolation. 5.3 Formulas for Interpolation for unequal interval. 5.4 Applications.
1 Chapter 4 Interpolation and Approximation Lagrange Interpolation The basic interpolation problem can be posed in one of two ways: The basic interpolation.
Dan, Phoenix, Carl.  Several ways you can model  Polynomial functions, linear functions, splines.
Math 495B Polynomial Interpolation Special case of a step function. Frederic Gibou.
11/22/ Differentiation-Discrete Functions.
CSCI480/582 Lecture 9 Chap.2.2 Cubic Splines – Hermit and Bezier Feb, 11, 2009.
Introduction to Numerical Methods Mathematical Procedures
Curve-Fitting Spline Interpolation
Solving Equations by Factoring
Interpolation.
Interpolation Estimation of intermediate values between precise data points. The most common method is: Although there is one and only one nth-order.
PROGRAMME F6 POLYNOMIAL EQUATIONS.
Interpolation Methods
Differentiation-Discrete Functions
Reading Between the Lines
Spline Interpolation Method
Chapter 18.
Spline Interpolation Method
Spline Interpolation Method
Direct Method of Interpolation
MATH 2140 Numerical Methods
Solving Quadratic equations by graphing.
Spline Interpolation Class XVII.
Interpolation Methods
INTERPOLASI.
Why Splines ?
Solving simultaneous linear and quadratic equations
PPT9: Global and local interpolation
Direct Method of Interpolation
Integrated Math 3 – Mod 3 Test Review
Reading Between the Lines
Spline representation. ❖ A spline is a flexible strip used to produce a smooth curve through a designated set of points. ❖ Mathematically describe such.
Newton’s Divided Difference Polynomial Method of Interpolation
Lagrangian Interpolation
Presentation transcript:

Computer Programming (TKK-2144) 13/14 Semester 1 Instructor: Rama Oktavian Office Hr.: M.13-15, W Th , F

Outlines 1. Quadratic Interpolation 2. Cubic Interpolation 3. Spline Interpolation 4. Example in chem.eng

Quadratic interpolation We want to find a polynomial which satisfies for for given data points (x0,y0),(x1,y1),(x2,y2).

Quadratic interpolation 4 The upward velocity of a rocket is given as a function of time in Table 2. Find the velocity at t=16 seconds using the direct method for quadratic interpolation Table 1 Velocity as a function of time. Figure 1Velocity vs. time data for the rocket example

Quadratic interpolation Solving the above three equations gives Figure 2 Quadratic interpolation.

Quadratic interpolation Figure 2 Quadratic interpolation.

Cubic Interpolation Figure 3 Cubic interpolation.

Cubic Interpolation Figure 3 Cubic interpolation.

Spline Interpolation  Spline:  In Mathematics, a spline is a special function defined piecewise by polynomials;  In Computer Science, the term spline more frequently refers to a piecewise polynomial (parametric) curve.  Simple construction, ease and accuracy of evaluation, capacity to approximate complex shapes through curve fitting and interactive curve design.

Spline Interpolation  Spline Interpolation:  Linear spline  Quadratic spline  Cubic spline

Spline Interpolation  Linear Spline Interpolation:

Spline Interpolation  Linear Spline Interpolation:

Spline Interpolation  Quadratic Spline Interpolation:

Spline Interpolation  Quadratic Spline Interpolation:

Spline Interpolation  Quadratic Spline Interpolation: