%script6p7.m
%plots the response in Example 6.7
%v(t)=2exp(-2t)+2exp(-0.5t); t>0
t=linspace(0,20,1000);
v=2*exp(-2*t)+2*exp(-0.5*t);
plot(t,v,
'mo'
), grid, xlabel(
'time(sec)'
), ylabel(
'V(Volts)'
)
title(
'RESPONSE OF OVERDAMPED PARALLEL RLC CIRCUIT'
)
USING MATLAB TO VISUALIZE THE RESPONSE