diff options
Diffstat (limited to '2330/CH3/EX3.11/ex3_11.sce')
-rwxr-xr-x | 2330/CH3/EX3.11/ex3_11.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/2330/CH3/EX3.11/ex3_11.sce b/2330/CH3/EX3.11/ex3_11.sce new file mode 100755 index 000000000..a9a1e7e62 --- /dev/null +++ b/2330/CH3/EX3.11/ex3_11.sce @@ -0,0 +1,25 @@ +// Exa 3.11
+format('v',6)
+clc;
+clear;
+close;
+// given data
+Vz= 12;// in V
+Vin= 15;// in V
+R_S= 200;// in Ω
+R_L= 1*10^3;// in Ω
+// The value of I_S
+I_S= (Vin-Vz)/R_S;// in A
+// The value of I_L
+I_L= Vz/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 : ")
+
+
+
|