PS 5-3 Integration –Discrete data –Polynomial functions Differentiation –Discrete data –Polynomial functions Roots (i.e., zeros) of functions –Polynomial.

Slides:



Advertisements
Similar presentations
Polynomial Inequalities in One Variable
Advertisements

259 Lecture 17 Working with Data in MATLAB. Overview  In this lecture, we’ll look at some commands that are useful for working with data!  fzero  sum,
ES 240: Scientific and Engineering Computation. Chapter 17: Numerical IntegrationIntegration  Definition –Total area within a region –In mathematical.
1 Chapter 13 Curve Fitting and Correlation This chapter will be concerned primarily with two separate but closely interrelated processes: (1) the fitting.
1 Eng. Mohamed El-Taher Eng. Ahmed Ibrahim. 2 1.FUNCTION SUMMARY polyfun  Polynomial functions are located in the MATLAB polyfun directory. For a complete.
Engr 0012 (04-1) LecNotes Engr 0012 (04-1) LecNotes Functional analysis y = f(x) things to do 1. sketch graph 2. find roots (zeros) 3. find.
6&7-2 Dynamics, two examples of the use of ode45. Numeric Integration using trapz and quad/quadl functions. Readings: Matlab by Pratap Chapter 5.4,5.5.
1 Chapter 8 Calculus Operations with MATLAB We are now ready to see how calculus operations can be performed with MATLAB. It should be noted that a digital.
Numerical Operations S. Awad, Ph.D. M. Corless, M.S.E.E. E.C.E. Department University of Michigan-Dearborn Introduction to Matlab: Polynomial Manipulations.
Describing Motion with Position vs. Time Graphs The specific features of the motion of objects are demonstrated by the shape and the slope of the lines.
259 Lecture 16 Numerical Differentiation and Integration in MATLAB; Function M-files.
Every slope is a derivative. Velocity = slope of the tangent line to a position vs. time graph Acceleration = slope of the velocity vs. time graph How.
ACSL, POSTECH1 MATLAB 입문 CHAPTER 8 Numerical calculus and differential equations.
CMPS1371 Introduction to Computing for Engineers NUMERICAL METHODS.
Higher Unit 3 Further Differentiation Trig Functions Further Integration Integrating Trig Functions Differentiation The Chain Rule.
Differentiation A Slippery Slope - Jerks You Around - Accelerates Your Mind.
Chapter 9 Function Approximation
Notes Over 6.7 Finding the Number of Solutions or Zeros
Tangents and Differentiation
Department of Mechanical Engineering, LSU Session IV MATLAB Tutorials Session IV Mathematical Applications using MATLAB Rajeev Madazhy
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
Section 6.1 Polynomial Derivatives, Product Rule, Quotient Rule.
MATHLAB Prepared for: Md. Monzur Ashraf Prepared By: Md. Shafiul Parvez Aakaash.
Lecture 10 2D plotting & curve fitting Subplots Other 2-D Plots Other 2-D Plots Curve fitting © 2007 Daniel Valentine. All rights reserved. Published by.
Differentiation A Slippery Slope - Jerks You Around - Accelerates Your Mind
Mathematical Applications using MATLAB (Cont….)
6.094 Introduction to programming in MATLAB Danilo Šćepanović IAP 2008 Lecture 3 : Solving Equations and Curve Fitting.
Analyzing Functions (4.16) y=f(x) MATLAB. Functional Analysis includes: Plotting and evaluating a function Finding extreme points Finding the roots (zeros.
1 Honors Physics 1 Class 02 Fall 2013 Some Math Functions Slope, tangents, secants, and derivatives Useful rules for derivatives Antiderivatives and Integration.
Numerical Analysis 3D Plots. A numerical method is a technique for computing a numerical approximation of the solution to a mathematical problem.
ACSL, POSTECH1 MATLAB 입문 CHAPTER 8 Numerical calculus and differential equations.
Recap Cubic Spline Interpolation Multidimensional Interpolation Curve Fitting Linear Regression Polynomial Regression The Polyval Function The Interactive.
AP Calculus Unit 1 Day 1 What is Calculus?. Calculus is the study of CHANGE There are 2 Branches: 1)Differential Calculus 2)Integral Calculus.
Section 3.4 – Zeros of a Polynomial. Find the zeros of 2, -3 (d.r), 1, -4.
1 Lecture 8 Post-Graduate Students Advanced Programming (Introduction to MATLAB) Code: ENG 505 Dr. Basheer M. Nasef Computers & Systems Dept.
3.5: Derivatives of Trig Functions Objective: Students will be able to find and apply the derivative of a trigonometric function.
MATLAB ® for Engineers, Holly Moore Fourth Edition, Global Edition © Pearson Education Limited 2015 All rights reserved. Figure 13.1 Interpolation between.
Graphs of a falling object And you. Objective 1: Graph a position –vs- time graph for an object falling from a tall building for 10 seconds Calculate.
Lecture 29: Modeling Data. Data Modeling Interpolate between data points, using either linear or cubic spline models Model a set of data points as a polynomial.
Numerical Integration for physically based animation
Numerical Differentiation and Integration in MATLAB; Function M-files
Introduction to Programming for Mechanical Engineers
Working with Data in MATLAB
EEE 244-7: Curve Fitting.
Graphical analysis of motion
Roots and Zeros 5.7.
Differentiation-Discrete Functions
CHAPTER 3 NUMERICAL METHODS.
FE Exam Tutorial
Numerical integration for physically based animation
Unit 6 – Fundamentals of Calculus Section 6
Lecture 10 2D plotting & curve fitting
Unit 6 – Fundamentals of Calculus Section 6
MATH 2140 Numerical Methods
ME 123 Computer Applications I Lecture 24: Character Strings 4/18/03
1. Use the quadratic formula to find all real zeros of the second-degree polynomial
Describing Motion with Position vs. Time Graphs
Graph Polynomials Effect of Multiplicity on a graph
Chapter 7 Integral Calculus
Total Distance Traveled
Section Net Change in Position/Distance Traveled
Section 9.4 – Solving Differential Equations Symbolically
Section Net Change in Position/Distance Traveled
Assignment 1: due 1/16/19 Estimate all of the zero of x3-x2-2x+1 graphically. Write a MatLab code for Newton’s method. Use your code to refine the graphical.
Graph Polynomials Effect of Multiplicity on a graph
8-5 Rational Zero Theorem
ME 123 Computer Applications I Lecture 25: MATLAB Overview 4/28/03
Recapitulation of Lecture 11
Introduction CSE 541.
Presentation transcript:

PS 5-3 Integration –Discrete data –Polynomial functions Differentiation –Discrete data –Polynomial functions Roots (i.e., zeros) of functions –Polynomial –Other

File ps53a Start with time and acceleration data Demonstrates: –Integrate discrete data (cumtrapz, trapz) –Curve fit discrete data (polyfit, polyval) Save file ps53a.m to your H:\ drive and modify to: –Calculate position data –Curve fit the velocity data –Curve fit the position data –Plot data and curves

File ps53b Start with time and position data Demonstrates: –Integrate polynomials –Differentiate polynomials –Find roots (zeros) of polynomials Save file ps53b.m to your H:\ drive and modify to: –Calculate numerical approximation of acceleration data –Determine polynomial representations for position and acceleration based upon best fit polynomial for velocity data –Find roots of position, velocity, and acceleration curves. –Plot position, velocity, and acceleration curves

File ps53c Start with two arbitrary functions: y = x 4 - 3x x x + 14 y = 2cos(x) - 3sin(x/3) Demonstrates: –Representing functions as inline functions (inline) –Finding roots of arbitrary functions (fzero) –Plotting (fplot) Save file ps53c.m to your H:\ drive and modify to: –Find all roots between –pi and pi –Plot the functions using fplot –Label x values of all roots