File:Hw6 code 1.png