young call girls in Green Park🔝 9953056974 🔝 escort Service
Sheet 2
1. Sheet 2
t =linspace(0,2*pi,200);
v= 5.*exp(2.*t).*sin(1000.*pi.*t);
plot(t,v)
xlabel('time')
ylabel('voltage')
title('RLC circuit ')
2.1 Plot the voltage across a parallel RLC circuit given as
v (t) = 5e2t
sin(1000πt)
3. Sheet 2
Ans.
x=linspace(-4,4,200); p=[1 3 4 2 6]; y=polyval(p,x);
plot(x,y)
r=roots(p)
r =
-1.7749 + 1.2310i
-1.7749 - 1.2310i
0.2749 + 1.1002i
0.2749 - 1.1002i
2.3 A function f (x) is given as
f(x)=x4
+3x3
+4x2
+2x+6
(a) Plot f (x) and (b) Find the roots of f (x)
4. Sheet 2
clear all
t=0:0.01*pi:4*pi;
m=4*cos(120*pi*t) +2*cos(240*pi*t);
c=10*cos(10000*pi*t );
s=m.*c;
figure
subplot(3,1,1);
plot(t,m)
ylabel('M')
subplot(3,1,2);
plot(t,c)
ylabel('C')
xlabel('t')
subplot(3,1,3);
plot(t,s)
ylabel('S')
2.4 A message signal m (t) and the carrier signal c(t) of acommunication system are,
respectively:
M (t) = 4 cos (120πt) +2 cos(240πt ) and c(t) =10 cos(10,000πt )
A double-sideband suppressed carrier s (t) is given as
s (t) = m(t)c(t)
Plot m (t), c (t) and s (t) using the subplot command.