ch4_1c.mw


Session 4.1 Part c A Maple program created as a text file.

This is the way yxplot was stored.

> restart;

> read `/home/ceng303/maple/fib`;

fib := proc (N) if N < 2 then 1 else fib(N-1)+fib(N-2) end if end proc

Executing the program gives:

> fib(5);

8

> fib(10);

89

>