diff options
Diffstat (limited to '2330/CH3/EX3.8/ex3_8.sce')
-rwxr-xr-x | 2330/CH3/EX3.8/ex3_8.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/2330/CH3/EX3.8/ex3_8.sce b/2330/CH3/EX3.8/ex3_8.sce new file mode 100755 index 000000000..0563dbcb2 --- /dev/null +++ b/2330/CH3/EX3.8/ex3_8.sce @@ -0,0 +1,23 @@ +// Exa 3.8
+format('v',5)
+clc;
+clear;
+close;
+// given data
+Vz= 12;// in V
+Vout= Vz;// in V
+Vin= 25;// in V
+R_S= 180;// in Ω
+R_L= 200;// in Ω
+// The value of I_S
+I_S= (Vin-Vout)/R_S;// in A
+// The value of I_L
+I_L= Vout/R_L;// in A
+// The value of I_Z
+I_Z= I_S-I_L;// in A
+I_S= I_S*10^3;// in mA
+I_L= I_L*10^3;// in mA
+I_Z= I_Z*10^3;// in mA
+disp(I_S,"The value of I_S in mA is : ")
+disp(I_L,"The value of I_L in mA is : ")
+disp(I_Z,"The value of I_Z in mA is : ")
|