Extend the differentiation program to handle sums and products of arbitrary numbers of (two or more) terms. Then the last example above could be expressed as
(deriv '(* x y (+ x 3)) 'x)
Try to do this by changing only the representation for sums and products, without changing the
procedure at all. For example, the
of a sum would be the first term, and the
would be the sum of the rest of the terms.
There are no comments yet.
You must log in to post a comment.Login