PHYSICS 206

List of Maple work-sheets

Below you find a listing of when the different Maple commands first are used in the works-sheets accompanying the lectures. The listings are much more sparse for the solutions to the problem sets. Generally these involve applications of material already introduced in the lecture material.  There are some exceptions and these are given near the bottom of the file.

 

WORKING WITH VECTORS IN MAPLE

n206l1a.mws, n206l1a.html

:= versus =

&* vs *       

clearing memory: restart

evaluating  a floating point expression: evalf

evaluating a vector or matrix expression: evalm

loading the linalg package: with(linalg)

list (ordered sequence): [ ]

matrices: convert, matrix, transpose

termination with/without output: ;  :

vectors: angle, crossprod, dotprod, norm, normalize, `orthogonal`

TRAJECTORIES IN PHASE PLANE

n206l2.mws, n206l2.html

 

creating graphics objects: plot

defining functions through arrow  operator ->

loading plots library package: with(plots)

plotoptions: axes, color, labels, title, thickness, tickmarks

plotrange: x=a..b

putting several curves in same plot :  display

takin square root: sqrt

trigonometric functions: arccos, sin, cos

SOLVING DIFFERENTIAL EQUATIONS WITH MAPLE

n206l4.mws, n206l4.html

creation functions using unapply

differentiation expressions: diff, D

differential equation solver: dsolve

dsolve options: numeric, output=listprocedure

plotoptions: numpoints, orientation, view

plotting dsolve solutions: odeplot

splitting off part of equation: rhs

substitution in equation: subs

VECTOR FIELDS

n206l5a.mws, n206l5a.html

plotting vector fields: fieldplot, gradplot

 

VECTOR CALCULUS

n206l5b.mws, n206l5b.html

 

curl of a vector field: curl

factorized normal form of algebraic expression: normal

 

THE BRACHISTOCHRONE PROBLEM

n206l9a.mws, n206l91.html

 

assigning variable name to solution: assign

more plotoptions: align, font, height, noborder, portrait, titlefont , width

parametric plot: plot([x(t),y(t),t=0..1]...)

text in plot: textplot

exporting plot as postscript file: plotsetup

filename: `c:\\folder\\filename`

solving equation numerically: fsolve

 

LESSONS FROM THE PENDULUM

n206l14.mws, 206l14.html

 

differential equation package: DEtools

elliptic integrals: EllipticK, EllipticF

phaseportrait

STABILITY ANALYSIS OF HILL'S EQUATION

n206l16b.mws,  n206l16b.html

absolute value: abs

eigenvalues of a matrix: eigenvalues

STROBOSCOPIC PLOTS

n206l16c.mws,  n206l16c.html

execute a sequence: seq

if, then, else, fi

remainder after division: frem

 

Problem set 1 2001: SoluTION

206s1.mws, 206s1.html

 

manipulating symbolic expressions: expand, collect, combine

solving equations: solve