summaryrefslogtreecommitdiff
path: root/3673/CH8/EX8.10/Ex8_10.sce
blob: 311029b9e707b32f25b5462e489b503c2d9793ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Example 8_10 page no:319
clc;
V=200;
R=50;
Imax=V/R;
Pmax=Imax*V;
Imax=200/50;
Imin=200/sqrt(50^2+25^2);
disp(Imax,"the maximum value of current is (in A)");
disp(Imin,"the minimum value of current is (in A)");
disp(Pmax,"maximum power in the circuit is (in watts)");
//In text book calculation in Imin is wrong