blob: 9b6aaf4462366529a4124e7c5e3912f65f991347 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
l=100*10^(-6);
c=50*10^(-12);
r=100*10^3;
v=50*10^(-3);
x_l=2*%pi*f*l;
x_c=1/(2*%pi*f*c);
disp("Part a");
q=r/x_l;
disp("the value of Q is"); disp(q);
disp("Part b");
i=q*v/r;
disp("the inductor and capacitor currents (in μA) each are "); disp(i);
disp("Part c");
z=q*x_l;
disp("the impedance (in kΩ) at resonance is"); disp(z*10^(-3));
|