diff options
Diffstat (limited to '929/CH2/EX2.3.c/Example2_3_c.sce')
-rwxr-xr-x | 929/CH2/EX2.3.c/Example2_3_c.sce | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/929/CH2/EX2.3.c/Example2_3_c.sce b/929/CH2/EX2.3.c/Example2_3_c.sce new file mode 100755 index 000000000..ace79c026 --- /dev/null +++ b/929/CH2/EX2.3.c/Example2_3_c.sce @@ -0,0 +1,35 @@ +//Example 2.3(c)
+
+clear;
+
+clc;
+
+vI=5;//Input Voltage
+
+R=10*10^3;
+
+Vsat=13;//Saturation Voltage
+
+iO=vI/R;//iO for Circuit shown in Fig.2.4(a) (from right to left)
+
+//For Circuit shown in Fig.2.4(a)
+
+VoL1=-Vsat-vI;
+
+VoH1=Vsat-vI;
+
+//For Circuit shown in Fig.2.4(b) VoL2<vL2<VoH2
+
+VoL2=-Vsat;
+
+VoH2=Vsat;
+
+RLmax1=VoH1/iO;//Maximum Possible value of RL
+
+//For Circuit shown in Fig.2.4(b)
+
+RLmax2=VoH2/iO;//Maximum Possible Value of Rl
+
+printf("Max Value of RL for Circuit shown in Fig.2.4(a)= %.f kohms",RLmax1*10^(-3));
+
+printf("\nMax Value of RL for Circuit shown in Fig.2.4(b)= %.f kohms",RLmax2*10^(-3));
\ No newline at end of file |