abcasdasd
DESCRIPTION
asdasdasdasdasdasdTRANSCRIPT
% to plot a voltage and lagging current waveformf=input('enter the value of frequency');n=input('enter no. of cycles');t=[0:1e-4:0.04];v=5*sin(2.*pi.*f.*t)i=2*sin(2.*pi.*f.*t-(pi/3))plot(t,v,t,i)