# SICP Solutions

### Section - 2.5 - Systems with Generic Operations

#### Exercise 2.79

The changes required in each package is shown below. Added the complete code in the end.

Note that in comlex-number, we are using apply-generic for comparing real and imaginary parts. This is because complex number is an abstarction built on top of rectangular and polar packages.

Test/Output:

Complete code: