blob: 7c60597fffc7578a49aa6cafd57e4d42a09c3f68 (
plain)
1
2
3
4
5
6
7
8
9
10
|
v=10;
l=10;
r=100;
f=60;
disp("Part a");
disp("the dc output voltage (in V) is"); disp(v);
disp("Part b");
x_l=2*%pi*f*l;
vo=v*r/x_l;
disp("the ac output voltage (in V) is"); disp(vo);
|