Ch2 Exmp8

Finished example 8