538_s22_hw02.png

Here is code to help you with part (c)