diff options
Diffstat (limited to '929/CH2/EX2.3.a/Example2_3_a.sce')
-rwxr-xr-x | 929/CH2/EX2.3.a/Example2_3_a.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/929/CH2/EX2.3.a/Example2_3_a.sce b/929/CH2/EX2.3.a/Example2_3_a.sce new file mode 100755 index 000000000..d47d3655a --- /dev/null +++ b/929/CH2/EX2.3.a/Example2_3_a.sce @@ -0,0 +1,15 @@ +//Example 2.3(a)
+
+clear;
+
+clc;
+
+vI=5;//Input Voltage
+
+R=10*10^3;
+
+Vsat=13;//Saturation Voltage
+
+iO=vI/R;//(from right to left for Fig.2.4(a) and from left to right for Fig.2.4(b))
+
+printf("iO=%.1f mA",iO*10^3);
\ No newline at end of file |