//Ex 3.14 clc;clear;close; format('v',6); fN=50;//Hz C=0.5;//micro F(have to choose C, 0.01