Lagrangian Interpolation

Similar documents
Chapter Lagrangian Interpolation

Brock University Physics 1P21/1P91 Fall 2013 Dr. D Agostino. Solutions for Tutorial 3: Chapter 2, Motion in One Dimension

Mathcad Lecture #8 In-class Worksheet Curve Fitting and Interpolation

Phys 221 Fall Chapter 2. Motion in One Dimension. 2014, 2005 A. Dzyubenko Brooks/Cole

Course II. Lesson 7 Applications to Physics. 7A Velocity and Acceleration of a Particle

Chapter Direct Method of Interpolation

WEEK-3 Recitation PHYS 131. of the projectile s velocity remains constant throughout the motion, since the acceleration a x

Equations of motion for constant acceleration

Unit 1 Test Review Physics Basics, Movement, and Vectors Chapters 1-3

Physics 101: Lecture 03 Kinematics Today s lecture will cover Textbook Sections (and some Ch. 4)

INSTANTANEOUS VELOCITY

Chapter 12: Velocity, acceleration, and forces

Chapter 2. Motion in One-Dimension I

Chapter 2. Motion along a straight line

Physics 235 Chapter 2. Chapter 2 Newtonian Mechanics Single Particle

and v y . The changes occur, respectively, because of the acceleration components a x and a y

AQA Maths M2. Topic Questions from Papers. Differential Equations. Answers

Parametrics and Vectors (BC Only)

Differential Geometry: Numerical Integration and Surface Flow

Lab #2: Kinematics in 1-Dimension

Kinematics. introduction to kinematics 15A

We here collect a few numerical tests, in order to put into evidence the potentialities of HBVMs [4, 6, 7].

Answers to 1 Homework

MECHANICAL PROPERTIES OF FLUIDS NCERT

Q2.1 This is the x t graph of the motion of a particle. Of the four points P, Q, R, and S, the velocity v x is greatest (most positive) at

MEI Mechanics 1 General motion. Section 1: Using calculus

Some Basic Information about M-S-D Systems

1. The graph below shows the variation with time t of the acceleration a of an object from t = 0 to t = T. a

Practicing Problem Solving and Graphing

KINEMATICS IN ONE DIMENSION

dv dt = s and t = s a = 28.7 m/s

1. VELOCITY AND ACCELERATION

MEI STRUCTURED MATHEMATICS 4758


Physics Notes - Ch. 2 Motion in One Dimension

Ordinary dierential equations

AP CALCULUS AB 2003 SCORING GUIDELINES (Form B)

Q2.4 Average velocity equals instantaneous velocity when the speed is constant and motion is in a straight line.

Trajectory planning in Cartesian space

Physics 101 Fall 2006: Exam #1- PROBLEM #1

Roller-Coaster Coordinate System

Chapter 3 Kinematics in Two Dimensions

Week 1 Lecture 2 Problems 2, 5. What if something oscillates with no obvious spring? What is ω? (problem set problem)

Chapter 6. Systems of First Order Linear Differential Equations

Class Meeting # 10: Introduction to the Wave Equation

Position, Velocity, and Acceleration

t is a basis for the solution space to this system, then the matrix having these solutions as columns, t x 1 t, x 2 t,... x n t x 2 t...

NEWTON S SECOND LAW OF MOTION

WELCOME TO 1103 PERIOD 3. Homework Exercise #2 is due at the beginning of class. Please put it on the stool in the front of the classroom.

CS376 Computer Vision Lecture 6: Optical Flow

CHEAPEST PMT ONLINE TEST SERIES AIIMS/NEET TOPPER PREPARE QUESTIONS

Differential Geometry: Revisiting Curvatures

EECS 2602 Winter Laboratory 3 Fourier series, Fourier transform and Bode Plots in MATLAB

Chapter 7: Solving Trig Equations

Chapter Floating Point Representation

1.6. Slopes of Tangents and Instantaneous Rate of Change

x(m) t(sec ) Homework #2. Ph 231 Introductory Physics, Sp-03 Page 1 of 4

Ground Rules. PC1221 Fundamentals of Physics I. Kinematics. Position. Lectures 3 and 4 Motion in One Dimension. A/Prof Tay Seng Chuan

total distance cov ered time int erval v = average speed (m/s)

6.003 Homework #9 Solutions

IB Physics Kinematics Worksheet

1998 Calculus AB Scoring Guidelines

LAB # 2 - Equilibrium (static)

3.6 Derivatives as Rates of Change

EE 315 Notes. Gürdal Arslan CLASS 1. (Sections ) What is a signal?

15. Vector Valued Functions

2.1: What is physics? Ch02: Motion along a straight line. 2.2: Motion. 2.3: Position, Displacement, Distance

ECE 2100 Circuit Analysis

AP Calculus BC Chapter 10 Part 1 AP Exam Problems

dy dx = xey (a) y(0) = 2 (b) y(1) = 2.5 SOLUTION: See next page

Of all of the intellectual hurdles which the human mind has confronted and has overcome in the last fifteen hundred years, the one which seems to me

6.003 Homework #9 Solutions

AP Calculus BC 2004 Free-Response Questions Form B

Single and Double Pendulum Models

Optimal Path Planning for Flexible Redundant Robot Manipulators

Suggested Practice Problems (set #2) for the Physics Placement Test

Two Dimensional Dynamics

HOMEWORK # 2: MATH 211, SPRING Note: This is the last solution set where I will describe the MATLAB I used to make my pictures.

EE 435. Lecture 31. Absolute and Relative Accuracy DAC Design. The String DAC

One-Dimensional Kinematics

The equation to any straight line can be expressed in the form:

Two Dimensional Dynamics

(1) (2) Differentiation of (1) and then substitution of (3) leads to. Therefore, we will simply consider the second-order linear system given by (4)

k 1 k 2 x (1) x 2 = k 1 x 1 = k 2 k 1 +k 2 x (2) x k series x (3) k 2 x 2 = k 1 k 2 = k 1+k 2 = 1 k k 2 k series

1 Differential Equation Investigations using Customizable

k B 2 Radiofrequency pulses and hardware

Homework 2: Kinematics and Dynamics of Particles Due Friday Feb 8, 2019

Constant Acceleration

a. Show that these lines intersect by finding the point of intersection. b. Find an equation for the plane containing these lines.

A man pushes a 500 kg block along the x axis by a constant force. Find the power required to maintain a speed of 5.00 m/s.

( ) 2. Review Exercise 2. cos θ 2 3 = = 2 tan. cos. 2 x = = x a. Since π π, = 2. sin = = 2+ = = cotx. 2 sin θ 2+

The Contradiction within Equations of Motion with Constant Acceleration

AP CALCULUS AB/CALCULUS BC 2016 SCORING GUIDELINES. Question 1. 1 : estimate = = 120 liters/hr

Interpolation and Pulse Shaping

Physics for Scientists and Engineers. Chapter 2 Kinematics in One Dimension

dt = C exp (3 ln t 4 ). t 4 W = C exp ( ln(4 t) 3) = C(4 t) 3.

Topic 1: Linear motion and forces

More Digital Logic. t p output. Low-to-high and high-to-low transitions could have different t p. V in (t)

Motion along a Straight Line

Transcription:

Lagrangian Inerpolaion Maor: All Engineering Maors Auhors: Auar Kaw, Jai Paul hp://numericalmehods.eng.usf.edu Transforming Numerical Mehods Educaion for STEM Undergraduaes hp://numericalmehods.eng.usf.edu

Lagrange Mehod of Inerpolaion hp://numericalmehods.eng.usf.edu

Wha is Inerpolaion? Gien x,y, x,y, x n,y n, find he alue of y a a alue of x ha is no gien. hp://numericalmehods.eng.usf.edu

Inerpolans Polynomials are he mos common choice of inerpolans because hey are easy o: Ealuae Differeniae, and Inegrae. 4 hp://numericalmehods.eng.usf.edu

Lagrangian Inerpolaion Lagrangian inerpolaing polynomial is gien by f n x n i L x f i x i where n in f n x sands for he gien a h n order polynomial ha approximaes he funcion y f x n daa poins as x y, x, y,..., x, y, x, y, n n n n, and L x i n x x x i i x L i x is a weighing funcion ha includes a produc of n erms wih erms of i omied. 5 hp://numericalmehods.eng.usf.edu

Example The upward elociy of a rocke is gien as a funcion of ime in Table. Find he elociy a 6 seconds using he Lagrangian mehod for linear inerpolaion. Table Velociy as a funcion of ime s m/s 7.4 5 6.78 57.5.5 6.97 9.67 6 Figure. Velociy s. ime daa for he rocke example hp://numericalmehods.eng.usf.edu

Linear Inerpolaion 57.5 55 L i i i L L y s f range f x desired 5 45 5, ν, ν 6. 78 57. 5 6.78 4 5 4 6 8 4 x s x s, range, x desired x s 7 hp://numericalmehods.eng.usf.edu

hp://numericalmehods.eng.usf.edu 8 Linear Inerpolaion cond L L 57.5 5 5 6.78 5 57.5 5 5 6 6.78 5 6 6.57.5.86.78 9.7 m/s.

hp://numericalmehods.eng.usf.edu 9 Quadraic Inerpolaion For he second order polynomial inerpolaion also called quadraic inerpolaion, we choos e he eloc iy gien by i i i L L L L

Example The upward elociy of a rocke is gien as a funcion of ime in Table. Find he elociy a 6 seconds using he Lagrangian mehod for quadraic inerpolaion. Table Velociy as a funcion of ime s m/s 7.4 5 6.78 57.5.5 6.97 9.67 Figure. Velociy s. ime daa for he rocke example hp://numericalmehods.eng.usf.edu

Quadraic Inerpolaion cond, 7. 4 5, 6. 78, 57. 5 L L L y s 57.5 f range f x desired 7.4 55 5 45 4 5 5 4 6 8 x s, range, x desired hp://numericalmehods.eng.usf.edu

Quadraic Inerpolaion cond 6 5 6 5 6 7.4 6.78 57.5.8 7.4.96 6.78. 57.5 9.9 m/s 6 6 5 5 6 6 5 5 The absolue relaie approximae error obained beween he resuls from he firs and second order polynomial is a a 9.9 9.7 9.9.84% hp://numericalmehods.eng.usf.edu

Cubic Inerpolaion For he hird order polynomial also called cubic inerpolaion, we choose he elociy gien by i L i i L L L L 6.97 7 6 y s f range f x desired 5 4 7.4 4 6 8 4 x s, range, x desired.5 hp://numericalmehods.eng.usf.edu

Example The upward elociy of a rocke is gien as a funcion of ime in Table. Find he elociy a 6 seconds using he Lagrangian mehod for cubic inerpolaion. Table Velociy as a funcion of ime s m/s 7.4 5 6.78 57.5.5 6.97 9.67 4 Figure. Velociy s. ime daa for he rocke example hp://numericalmehods.eng.usf.edu

hp://numericalmehods.eng.usf.edu 5 Cubic Inerpolaion cond 4 7., o o 78 6., 5 5 57., 97 6..5, L ; L L ; L 4 6 8 4 4 5 6 7 6.97 7.4 y s f range f x desired.5 x s range, x desired,

hp://numericalmehods.eng.usf.edu 6 Cubic Inerpolaion cond 9.6 m/s 6.97.4 57.5. 6.78.8 7.4.46 6.97.5 6 5.5 5 6.5 6 57.5.5.5 6 5 5 6 6 6.78.5 5.5 6 5 6 5 6 7.4.5.5 6 6 5 5 6 6 The absolue relaie approximae error obained beween he resuls from he firs and second order polynomial is a.69% 9.6 9.9 9.6 a

Comparison Table Order of Polynomial 6 m/s 9.69 9.9 9.6 Absolue Relaie Approximae Error --------.84%.69% 7 hp://numericalmehods.eng.usf.edu

Disance from Velociy Profile Find he disance coered by he rocke from s o 6s? 57.5 47.5 4.45.65.95.544,. 5 6 s 6 s d 6 4.45.65.95.544 d 87.5 7.5 675.66 75 4.88 5.5 45 4 [ 4.45.65.95.544 ] 4 875 65 6 45.948.577 8 65 m hp://numericalmehods.eng.usf.edu

Acceleraion from Velociy Profile Find he acceleraion of he rocke a 6s gien ha 4.45.65.95.544,. 5 d d, 4.45.65.95.544 a d d.65.69.6 a 6.65.696.66 9.665 m / s 9 hp://numericalmehods.eng.usf.edu

Addiional Resources For all resources on his opic such as digial audioisual lecures, primers, exbook chapers, muliple-choice ess, workshees in MATLAB, MATHEMATICA, MahCad and MAPLE, blogs, relaed physical problems, please isi hp://numericalmehods.eng.usf.edu/opics/lagrange_ mehod.hml

THE END hp://numericalmehods.eng.usf.edu