Date: Tuesday, February 10, 2009. Name: ____________________________________________

1. The exponential function exp(a,n) = a^{n} can be defined as
follows: exp(a,0) = 1 and exp(a,n+1) = exp(a,n) * a. Use this definition to
write a recursive method for computing the exponential function, and trace
this method for a = 3 and n = 2.