//Example 4_5 page no:169 clc v=10*sin(%pi/2) disp(v,"1) Instantaneous voltage at 90 degree for first wave (volt)"); v=8*sin(%pi/4) disp(v,"2) Instantaneous voltage at 90 degree for second wave(volt)");//text book value is rounded to two digit