Licensed Electrical & Mechanical Engineer

Slides:



Advertisements
Similar presentations
MTH16_Lec-19_sec_10-3_Taylor_Series.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
Advertisements

ENGR-25_Lec-27_MuPAD_Miscellaneous-n-TYUs.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer,
ENGR-25_Lec-25_SimuLink-2.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH55_Lec-53_Fa08_sec_8-4_Eqns_Quadratic_in_Form.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
Section 9.2a. Do Now – Exploration 1 on p.469 Construct a polynomial with the following behavior at : Since, the constant coefficient is Since, the coefficient.
By Hrishikesh Gadre Session II Department of Mechanical Engineering Louisiana State University Engineering Equation Solver Tutorials.
Ch 5.1: Review of Power Series
Ch 5.1: Review of Power Series Finding the general solution of a linear differential equation depends on determining a fundamental set of solutions of.
MTH55_Lec-13_sec_3-3a_3Var_Lin_Sys.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
MTH16_Lec-14_sec_10-1_Infinite_Series.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
Introduction to MATLAB for Engineers Third Edition William J. Palm III Chapter 11 MuPAD PowerPoint to accompany Copyright © The McGraw-Hill Companies,
ENGR-25_MATLAB_OverView-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH15_Lec-14_sec_3-2_Concavity_Inflection_.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
MTH16_Lec-12_sec_8-3_TrigFcn_Integrals.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
MTH55_Lec-21_sec_5-2_Mult_PolyNoms.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
MTH16_Lec-21_sec_11-2_Continuous_PDFs.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
Sequences & Summation Notation 8.1 JMerrill, 2007 Revised 2008.
Chapter 8-Infinite Series Calculus, 2ed, by Blank & Krantz, Copyright 2011 by John Wiley & Sons, Inc, All Rights Reserved.
MTH16_Lec-09_sec_7-6_Double_Integrals.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
Chapter 2: First Steps in MuPAD MATLAB for Scientist and Engineers Using Symbolic Toolbox.
MTH55_Lec-20_sec_5-1_Intro_to_PolyNom_Fcns.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
MTH16_Lec-01_sec_6-1_Integration_by_Parts.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
MTH55_Lec-28_sec_Jb_Graph_Rational_Functions.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical.
MTH55_Lec-21_sec_5-2_Mult_PolyNoms.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical & Mechanical.
ENGR-43_Lec-04b_2nd_Order_Ckts.pptx 1 Bruce Mayer, PE Engineering-43: Engineering Circuit Analysis Bruce Mayer, PE Registered.
MTH55_Lec-44_sec_7-5_Rationalize_Denoms.ppt 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
In this section we develop general methods for finding power series representations. Suppose that f (x) is represented by a power series centered at.
ENGR-25_Lec-27_MuPAD_Miscellaneous-n-TYUs.pptx 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer,
Laboratory 2. LABORATORY OBJECTIVES This lab work is intended to give the students more insights on the Matlab environment and how to work more efficiently.
ENGR-25_Lec-21_Integ_Diff.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
MTH16_Lec-14_sec_10-1_Infinite_Series.pptx 1 Bruce Mayer, PE Chabot College Mathematics Bruce Mayer, PE Licensed Electrical &
Power Series A power series is an infinite polynomial.
Power Series as Functions. Defining our Function In general, we can say that That is, if the series converges at x = a, then is a number and we can define.
Tips for Inserting Graphs or Images Tips for Title/Columns Colors
In the special case c = 0, T (x) is also called the Maclaurin Series: THEOREM 1 Taylor Series Expansion If f (x) is represented by a power series.
Tips for Inserting Graphs or Images Tips for Title/Columns Colors
Sequences & Summation Notation
Introduction to MATLAB for Engineers
Licensed Electrical & Mechanical Engineer
Chapter 18.
Lecture 25 – Power Series Def: The power series centered at x = a:
Section 11.3 – Power Series.
Licensed Electrical & Mechanical Engineer
Taylor and Maclaurin Series
11.8 Power Series.
Copyright © Cengage Learning. All rights reserved.
Representation of Functions by Power Series
Class Notes 9: Power Series (1/3)
Expressing functions as infinite series
Section 11.3 Power Series.
Sequences and Series in the Complex Plane
Step-by-Step Pulse Response
Representation of Functions by Power Series (9.9)
5.1 Power Series Method Section 5.1 p1.
Copyright © Cengage Learning. All rights reserved.
Registered Electrical & Mechanical Engineer
Series Solutions to Linear SO-ODE
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Infinite Sequences and Series
Limits Lesson 3.1.
Licensed Electrical & Mechanical Engineer
Copyright © Cengage Learning. All rights reserved.
Power Series (9.8) March 9th, 2017.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Power Series Lesson 9.8.
Laplace Transforms Important analytical method for solving linear ordinary differential equations. - Application to nonlinear ODEs? Must linearize first.
Polynomial with infinit-degree
Poster Title Authors’ Names Institution/Organization/Company
Presentation transcript:

Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu Engr/Math/Physics 25 Chp11: MuPAD Misc Bruce Mayer, PE Licensed Electrical & Mechanical Engineer BMayer@ChabotCollege.edu

Using Greek Letters Can only do ONE letter at time Some Letters do NOT have conversions Spaces do NOT Convert Select ONLY letters; NOT letters and a space Can only do ONE letter at time Not ALL std Ltrs convert to Greek Also Use Ctrl+G

TypeSetting Symbols

Greek from Command Bar Make Expression Use Assignment Operator → := Now type A*cos( *t+ ) Next Pick-off the Greek from the COMMAND BAR Click the Down Arrow

Greek from Command Bar Then pick off omega & phi from the pull-down list with cursor in the right spot in the “h” expression Then hit Enter to create symbolic expression Some Other Expressions with Greek Pulled From the Command Bar

“HashTag” PlaceHolders PlaceHolder for items from the Command Bar look Something like: #f, or #x Sort of Like “HashTag” in Twitter Let take an Anti-Derviative, and Calculate some Integrals Use the Command Bar Integral Pull-Down Pick first one to expose Place Holders for fcn & var

“HashTag” PlaceHolders Replace“HashTags” For Variable End-Point Definite Integral The HastTags The symbolic Definite Integral The NUMERIC Definite Integral(s)

Assignment vs. Procedure := does NOT Create a function It assigns a complex expression to an Abbreviation To Create A Function (MuPad “Procedure”) include characters -> Comparing →

Quick Plot by Command Bar Find Plot Icon Then Fill in the HashTag the the desired Function; say The Template The Result after filling in HashTag

Adjust Plot MuPad picks the InDep Var limits ±5 Write out Function to set other limits 2X-Clik the Plot to Fine Tune Plot formatting Using the Object Browser

Object Brower (2X Clik Plot)

delete → early & often In MuPAD there is NO WorkSpace Browser to see if a variable has been evaluated and currently contains a value Use “delete(p)”, where “p” is the variable to be cleared in a manner similar to using “clear” in MATLAB When in Doubt, DELETE if ReUsing a variable symbol

delete → early & often BOOBY PRIZE → A Variable defined in one WorkBook will CARRY OVER into OTHER WorkBooks The Deleted Assignment in the original WorkBook can be Recovered by using Evaluate When in doubt → DELETE See File: Multiple_Assigns_Deletions_1204

TYU 11.2-1 For a A very Good Exercise See file ENGR25_TYU11_2_1_Expressions_Functions_1204.mn

TYU11.3 Another Good Exercise ENGR25_TYU11_3_Expressions_Functions_1204.mn

Inserting Images into MuPAD Unlike the MATLAB Command Window, IMAGES can be imported into Text Regions of a MuPAD WorkBook Use Menu Path: Insert→Image See File Insert-Graphic_into_MuPAD_1608.mn Contains some other “tips” on MuPAD as well

TYU11.5 → Derivatives Take Some Derivatives ENGR25_TYU11_5_Derivatives_1204.mn

TYU11.5 → AntiDerivatives Do Some Integration ENGR25_TYU11_5_Integration_1612.mn

Power Series General Power Series: Power Series Convergence Behavior A form of a GENERALIZED POLYNOMIAL Power Series Convergence Behavior Exclusively ONE of the following holds True Converges ONLY for x = 0 (Trivial Case) Converges for ALL x Has a Finite “Radius of Convergence”, R

Functions as Power Series Many Functions can be represented as Infinitely Long PolyNomials Consider this Function and Domain The Geometric Series form of f(x) Thus

Taylor Series Consider some general Function, f(x), that might be Represented by a Power Series Thus need to find all CoEfficients, an, such that the Power Series Converges to f(x) over some interval. Stated Mathematically Need an so that:

Taylor Series If x = 0 and if f(0) is KNOWN then a0 done, 1→∞ to go…. Next Differentiate Term-by-Term Now if the First Derivative (the Slope) is KNOWN when x = 0, then

Taylor Series Again Differentiate Term-by-Term Now if the 2nd Derivative (the Curvature) is KNOWN when x = 0, then

Taylor Series Another Differentiation Again if the 3rd Derivative is KNOWN at x = 0 Recognizing the Pattern:

Taylor Series Thus to Construct a Taylor (Power) Series about an interval “Centered” at x = 0 for the Function f(x) Find the Values of ALL the Derivatives of f(x) when x = 0 Calculate the Values of the Taylor Series CoEfficients by Finally Construct the Power Series from the CoEfficients

Example  Taylor Series for ln(e+x) Calculate the Derivatives Find the Values of the Derivatives at 0

Example  Taylor Series for ln(e+x) Generally Then the CoEfficients The 1st four CoEfficients

Example  Taylor Series for ln(e+x) Then the Taylor Series

Taylor Series at x ≠ 0 The Taylor Series “Expansion” can Occur at “Center” Values other than 0 Consider a function stated in a series centered at b, that is: Now the Radius of Convergence for the function is the SAME as the Zero Case:

Taylor Series at x ≠ 0 To find the CoEfficients need (x−b) = 0 which requires x = b, Then the CoEfficient Expression The expansion about non-zero centers is useful for functions (or the derivatives) that are NOT DEFINED when x=0 For Example ln(x) can NOT be expanded about zero, but it can be about, say, 2

Example  Expand x½ about 4 Expand about b = 4: The 1st four Taylor CoEfficients

Example  Expand x½ about 4 SOLUTION: Use the CoEfficients to Construct the Taylor Series centered at b = 4

Example  Expand x½ about 4 Use the Taylor Series centered at b = 4 to Find the Square Root of 3

Expand About b=1, ln(x)/1 Da1 := diff(ln(x)/x, x) Db2 := diff(Da1, x) Dc3 := diff(Db2, x) Dd4 := diff(Dc3, x) ReCall that ln(1) = 0

Expand About b=1, ln(x)/1 ln(x)/x, x f0 := taylor(ln(x)/x, x = 1, 0)

Expand About b=1, ln(x)/1 f3 := taylor(ln(x)/x, x = 1, 3) d6 := diff(ln(x)/x, x $ 5)

Expand About b=1, ln(x)/1 plot(f0, f1, f2, f3, f4, f5, x =0.5..3, GridVisible = TRUE, LineWidth = 0.04*unit::inch, Width = 320*unit::mm, Height = 180*unit::mm, AxesTitleFont = ["sans-serif", 24], TicksLabelFont=["sans-serif", 16])

TYU 11.5 → Sums & Series Exercise Taylor’s Series & Sums ENGR25_TYU11_5_6789_Taylor_Sums_Limits_1204.mn

TYU11.6 → ODEs Do an ODE Solution file = ENGR25_TYU11_6_ODE_1204.mn By: File → Export → PDF

All Done for Today It’s All GREEK to me… 8.[35,116,107]