blob: 5807f9af1cc6e310414353e776d71a454cbc9d1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
v=10;
f=60;
r=10;
l1=0.01;
l2=0.05;
disp("Part a");
disp("resistance (in Ω) of the coil for maximum power transfer is"); disp(r);
disp("Part b");
l=l1+l2;
x_c=2*%pi*f*l;
c=1/(2*%pi*f*x_c);
disp("the size of the capacitor (in μF) is"); disp(c*10^6);
disp("Part c");
z1=2*r;
i=v/z1;
p=i^2*r;
disp("power delivered (in W) to the coil is"); disp(p);
disp("Part d");
z=sqrt(z1^2+x_c^2);
i1=v/z;
pr=i1^2*r;
disp("Power dlivered (in W) to the col without the capacitor is"); disp(pr);
|