summaryrefslogtreecommitdiff
path: root/3557/CH17/EX17.16/Ex17_16.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3557/CH17/EX17.16/Ex17_16.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3557/CH17/EX17.16/Ex17_16.sce')
-rw-r--r--3557/CH17/EX17.16/Ex17_16.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3557/CH17/EX17.16/Ex17_16.sce b/3557/CH17/EX17.16/Ex17_16.sce
new file mode 100644
index 000000000..25c9ba475
--- /dev/null
+++ b/3557/CH17/EX17.16/Ex17_16.sce
@@ -0,0 +1,20 @@
+//Example 17.16//
+
+Ic=5;//mA //Collector Current
+Ve=5;//mV // Emitter Voltage
+Ic1=50;//mA //Collector Current
+Ve2=25;//mV //Emitter voltage
+a=log(Ic1/Ic)//(Taking antilog to remove the exponential term)
+//mprintf("a = %f mV",a)
+b=(Ve2-Ve)//(Subtracting the terms)
+//mprintf("b = %i ",b)
+B=b/a //(Dividing the terms)
+mprintf("B = %f mV ",B)
+I0=Ic*%e^-(Ve/B)
+mprintf("\n I0 = %f mA",I0)
+//Therefore
+B1=8.69;//mV //constant
+Ve3=50;//mV //emitter voltage
+I01=2.81;//mA // collector current
+Ic=I01*%e^(Ve3/B1)
+mprintf("\nIc = %i mA",Ic)