blob: c7e0ba8598297ca5d3ce50db6dbc89227f40c067 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
r=300;
x_l=400;
i=2.6;
disp("Part a");
p=i^2*r;
disp("the true power (in W) is"); disp(p);
disp("Part b");
q=i^2*x_l;
disp("the inductive reactive power (in VAr) is"); disp(q);
disp("Part c");
s=sqrt(p^2+q^2);
disp("the apparent power (in kVA) is"); disp(s*10^(-3));
|