{VERSION 2 3 "APPLE_PPC_MAC" "2.3" }
{USTYLETAB {CSTYLE "Maple Input" -1 0 "Courier" 0 1 255 0 0 1 0 1 0 0 
1 0 0 0 0 }{PSTYLE "Normal" -1 0 1 {CSTYLE "" -1 -1 "Ohlfs" 0 12 0 0 
0 0 2 2 2 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "Headi
ng 1" 0 3 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 0 0 0 0 0 0 0 }1 0 0 
0 6 6 0 0 0 0 0 0 -1 0 }{PSTYLE "Heading 2" 3 4 1 {CSTYLE "" -1 -1 "" 
1 14 0 0 0 0 0 0 0 0 0 0 0 0 0 }0 0 0 -1 4 4 0 0 0 0 0 0 -1 0 }
{PSTYLE "Title" 0 18 1 {CSTYLE "" -1 -1 "" 1 18 0 0 0 0 0 1 1 0 0 0 0 
0 0 }3 0 0 -1 12 12 0 0 0 0 0 0 19 0 }{PSTYLE "Author" 0 19 1 {CSTYLE 
"" -1 -1 "" 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 }3 0 0 -1 8 8 0 0 0 0 0 0 
-1 0 }{PSTYLE "R3 Font 0" -1 256 1 {CSTYLE "" -1 -1 "Times" 0 12 175 
136 0 0 2 2 2 0 0 0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }{PSTYLE "R
3 Font 2" -1 257 1 {CSTYLE "" -1 -1 "Courier" 0 12 0 0 0 0 2 1 2 0 0 
0 0 0 0 }0 0 0 -1 -1 -1 0 0 0 0 0 0 -1 0 }}
{SECT 0 {EXCHG {PARA 18 "" 0 "" {TEXT -1 17 "15 Minute Maple\n\n" }}}
{EXCHG {PARA 19 "" 0 "" {TEXT -1 163 "Steven R. Dunbar\nDepartment of \+
Mathematics and Statistics\nUniversity of Nebraska-Lincoln\nLincoln, N
E, 68588\n\nsdunbar@math.unl.edu\nhttp://www.math.unl.edu/~sdunbar\n" 
}}}{EXCHG {PARA 4 "" 0 "" {TEXT -1 178 "\nTopic:  Plotting, Substittut
ion, Numerical Solving\n\nTitle:  Lesson 2:\n\nKeywords:  plot, subs, \+
eval, evalf, fsolve\n\nAudience:  Students in Computer Lab Setting\n\n
Time:  15 minutes" }}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 16 "More on Plo
tting" }}{EXCHG {PARA 256 "" 0 "" {TEXT -1 139 "Recall that we can plo
t an expression with the plot command.  We need the expression to plot
, \nand the variable and its range to plot over." }}{PARA 0 "> " 0 "" 
{MPLTEXT 1 0 26 "plot( exp(-t), t = -1..3);" }}}{EXCHG {PARA 256 "" 0 
"" {TEXT -1 83 "We can plot more than one expression by putting them i
n a pair of curly braces \{  \}" }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 33 "
plot( \{exp(-t), 1/2\}, t = -1..3);" }}}}{SECT 1 {PARA 3 "" 0 "" 
{TEXT -1 27 "Substituting and Evaluating" }}{EXCHG {PARA 256 "" 0 "" 
{TEXT -1 219 "We can put an independent variable value into an express
ion with the subs command.\nThe format is subs( variable = value, expr
ession) just about how you would read it:\nsubstitute variable equal v
alue into the expression." }}{PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "subs( \+
t = 0.6, exp(-t));" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 24 "subs(
 x = Pi/4, sin(x));" }}}{EXCHG {PARA 256 "" 0 "" {TEXT -1 320 "Maple d
oesn't simplify or evaluate expressions unless you ask for it.  You ca
n evaluate an expression mathematically or symbolically with eval( ).
\n\nYou can evaluate to a decimal (floating-point number) with evalf( \+
)\n\nNote that evaluating to a mathematical or symbolic expression is \+
different from evaluating to a decimal" }}{PARA 0 "> " 0 "" {MPLTEXT 
1 0 16 "eval(sin(Pi/4));" }}}{EXCHG {PARA 0 "> " 0 "" {MPLTEXT 1 0 18 
"evalf( sin(Pi/4));" }}}}{SECT 1 {PARA 3 "" 0 "" {TEXT -1 33 "Numerica
lly Solving for Variables" }}{EXCHG {PARA 256 "" 0 "" {TEXT -1 182 "Yo
u can numerically solve for a variable in an expression containing onl
y 1 variable with the fsolve command.  The syntax is\nfsolve( expressi
on = value, variable, range for solving) " }}{PARA 256 "" 0 "" {TEXT 
-1 33 "Example:  Find where cos(x) = x. " }}{PARA 0 "> " 0 "" 
{MPLTEXT 1 0 29 "plot( \{cos(x), x\}, x = 0..2);" }}}{EXCHG {PARA 0 ">
 " 0 "" {MPLTEXT 1 0 33 "fsolve( cos(x) - x = 0, x, 0..1);" }}}{EXCHG 
{PARA 0 "> " 0 "" {MPLTEXT 1 0 0 "" }}}}}{MARK "4" 0 }{VIEWOPTS 1 1 0 
1 1 1803 }
