solution: part c.

We use the same algorithm as in b.

eqnarray34

tex2html_wrap54