Chapter 4 - Maple Commands & Finite Difference Summary

Maple commands

Command

Example

function

diff( f(var), var )

diff( sin(x), x )

calculate the derivative of f(x) result is an expression

df_dx := unapply( diff( f(x), x ), x );

calculate derivative of f(x) and make a function out of it

D(f)

df_dx := D(f);

calculate derivative of f(x) and make a function out of it

D[2](f);

df_dy := D[2](f);

calculate partial derivative of f(x,y) with respect to second argument (y) and make a function out of it

Finite Difference Formulae


   Exercises Chapter 4 TOC

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