HW No.3 Problem 11

The results of Problem 11 seem right. But there are bugs in the program
of Problem #12
ECEN689 HW3 Problem 12

The results and code of Problem 12