summaryrefslogtreecommitdiff
path: root/2498/CH3/EX3.18/ex3_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '2498/CH3/EX3.18/ex3_18.sce')
-rwxr-xr-x2498/CH3/EX3.18/ex3_18.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2498/CH3/EX3.18/ex3_18.sce b/2498/CH3/EX3.18/ex3_18.sce
new file mode 100755
index 000000000..b290783c2
--- /dev/null
+++ b/2498/CH3/EX3.18/ex3_18.sce
@@ -0,0 +1,19 @@
+// Exa 3.18
+clc;
+clear;
+close;
+format('v',4)
+// Given data
+R = 222;// in ohm
+Vin = 20;// in V
+V_Z = 10;// in V
+P = 400;// in mW
+P= P*10^-3;// in W
+I_Zmax = P/V_Z;// in A
+//I = I_Z+I_L;
+I = (Vin-V_Z)/R;// in A
+I_Lmin = I - I_Zmax;// in mA
+// The value of R_L
+R_L =V_Z/I_Lmin;// in ohm
+R_L= R_L*10^-3;// in k ohm
+disp(R_L,"The value of R_L in k ohm is");