blob: 4095f70a5378f382638c3a8fb103351e04b0d60e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
i=4;
v=115;
n1=75/5;
n2=20;
il=i*n1;
v1=v*n2;
p=350;
p1=p*n1*n2;
disp("the load current (in A) is"); disp(i1);
disp("the load voltage (in V) is"); disp(v1);
disp("the load power (in kW) is"); disp(p1*10^(-3));
|