From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 929/CH2/EX2.3.a/Example2_3_a.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 929/CH2/EX2.3.a/Example2_3_a.sce (limited to '929/CH2/EX2.3.a') 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 -- cgit