Docsity

Using MuPAD for Mathematical Expressions: Greek Letters, Placeholders, and Assignments, Slides of Computational Methods

Partial preview of the text

Download Using MuPAD for Mathematical Expressions: Greek Letters, Placeholders, and Assignments and more Slides Computational Methods in PDF only on Docsity!

Chp11:

MuPAD Misc

Using Greek Letters

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

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

h = A cos^ (ω +^ t φ)

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

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

∫ (^) ( + ) ∫( + ) ∫ ( + ) 2 2 2 2 37 22 1

1 1

1 1

(^1) dy y dy y dy y δ^ η

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 →

Adjust Plot

  • MuPad picks the InDep Var limits ±
  • 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

  • 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_

TYU 11.2-

  • For a A very Good Exercise See file
    • ENGR25_TYU11_2_1_Expressions_Functions_ 4.mn

Inserting Images into MuPAD

  • Unlike the MATLAB Command Window,

IMAGES can be imported into Text Regions of a MuPAD WorkBook

  • Copy the Image

then

  • See File
    • Insert-Graphic_1204.mn
      • Contains some other “tips” on MuPAD as well

TYU11.5 → Derivatives

  • Take Some Derivatives
    • ENGR25_TYU11_5_Derivatives_1204.mn

TYU 11.5 → Sums & Series

  • Exercise Taylor’s Series & Sums
    • ENGR25_TYU11_5_6789_Taylor_Sums_Limits_ 4.mn

TYU11.6 → ODEs

  • Do an ODE Solution
    • file = ENGR25_TYU11_6_ODE_1204.mn
      • By: File → Export → PDF