summaryrefslogtreecommitdiff
path: root/1430/CH1/EX1.7/exa1_7.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1430/CH1/EX1.7/exa1_7.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 '1430/CH1/EX1.7/exa1_7.sce')
-rw-r--r--1430/CH1/EX1.7/exa1_7.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/1430/CH1/EX1.7/exa1_7.sce b/1430/CH1/EX1.7/exa1_7.sce
new file mode 100644
index 000000000..634c13691
--- /dev/null
+++ b/1430/CH1/EX1.7/exa1_7.sce
@@ -0,0 +1,24 @@
+// Example 1.7
+// A Transistor Circuit
+// Enclosing the Transistor with a supernode and using KCL we get i_b as
+i_b=(10.5*10^-3)-(10*10^-3);
+// Applying KVL for the Loop CEBC we get
+v_ce=1+6;
+i_4=10*10^-3; // from the figure 1.29
+v_3=1; // from the figure 1.29
+// at node D
+i_1=i_4+(2*10^-3);
+// at node A
+i_3=(2*10^-3)-i_b;
+// Loop DCEFD
+v_4=9-v_ce
+// Loop AFDA
+v_2=v_3-9;
+disp(i_b,"Current in the Base of the Transistor,i_b(in Amps)=")
+disp(v_ce," Volatge across Collector-Emitter terminal,v_ce(in Volts)=")
+disp(i_4,"current through the Branch DC, i_4(in Amps)=")
+disp(v_3,"Voltage across the branch AF,v_3(in Volts)")
+disp(i_1,"Current through the Voltage source,i_1(in Amps)=")
+disp(i_3,"current through the branch AF,i_3(in Amps)=")
+disp(v_4,"Voltage across the Branch DC,v_4(in Volts)=")
+disp(v_2,"Voltage across the Current Source,v_2(in Volts)=")