# 1 a

The Maple commands for differentiation are diff and Diff . Both are used in the same way; the difference is that diff automatically evaluates the derivative while Diff leaves the derivative unevaluated. Here you can see the difference:

> prob1a := Diff( sin( Pi*r ) * exp( -r ), r );

[Maple Math]

> value( prob1a );

[Maple Math]

>

> diff( sin( Pi*r ) * exp( -r ), r );

[Maple Math]

In general it is better to use Diff as this allows you to verify that the problem has been entered correctly.

>