From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3557/CH17/EX17.16/Ex17_16.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 3557/CH17/EX17.16/Ex17_16.sce (limited to '3557/CH17/EX17.16/Ex17_16.sce') 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) -- cgit