Chapter 2 - Maple Commands Summary

Command

Example

function

+,-,*,/,^

arithmetic operations

:=

f := x^2;

assign expression to variable

min..max

x=-Pi..Pi

range specification (i.e., plot)

evalf(exp)

evalf(3/2);

evaluate in floating point arithmetic

expand(exp)

expand((a+b)^2);

expand algebaric function

factor(exp)

factor(a^2-b^2);

factor algebaric function

simplify(exp)

simplify(exp(x)*exp(3*x))

simplify algebaric function

f := var -> exp

f := x -> x^2;

function definition

unapply(exp,var)

f := unapply( x^2, x );

function definition

plot(func,range)

plot( sin(x), x=-Pi..Pi);

x-y plot

plot({func_1,func_2},range)

plot( {sin(x),cos(x)}, x=-Pi..Pi);

multi-function x-y plot

plot3d(func, range)

plot3d(sin(x*y),x=-1..1,y=-1..1);

3-dimensional plot


   Exercises Chapter 2 TOC

Any questions or suggestions should be directed to
Michel Vallières at vallieres@physics.drexel.edu