Chapter 2: Problem 56
Show how to extend the basic differentiator to handle more kinds of expressions. For instance, implement the differentiation rule $$ \frac{d\left(u^{n}\right)}{d x}=n u^{n-1}\left(\frac{d u}{d x}\right) $$ by adding a new clause to the deriv program and defining appropriate procedures exponentiation?, base, exponent, and make-exponentiation. (You may use the symbol \(* *\) to denote exponentiation.) Build in the rules that anything raised to the power 0 is 1 and anything raised to the power 1 is the thing itself.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.