summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.6/Ex_3_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '2702/CH3/EX3.6/Ex_3_6.sce')
-rw-r--r--2702/CH3/EX3.6/Ex_3_6.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2702/CH3/EX3.6/Ex_3_6.sce b/2702/CH3/EX3.6/Ex_3_6.sce
new file mode 100644
index 000000000..05b79ebb6
--- /dev/null
+++ b/2702/CH3/EX3.6/Ex_3_6.sce
@@ -0,0 +1,24 @@
+// Exa 3.6
+clc;
+clear;
+close;
+// Given data
+V_CC= 12;// in V
+V_BE= 0.7;// in V
+bita= 100;
+R_C= 10;// in kΩ
+R_C= R_C*10^3;// in Ω
+R_B= 100;// in kΩ
+R_B= R_B*10^3;// in Ω
+I_BQ= (V_CC-V_BE)/((1+bita)*R_C+R_B);// in A
+I_CQ= bita*I_BQ;// in A
+V_CEQ= V_CC-(I_CQ+I_BQ)*R_C;// in volt
+// For dc load line
+// When
+I_C=0;
+V_CE= V_CC-(I_C+I_BQ)*R_C;// in volt
+// When
+V_CE= 0;
+I_C= (V_CC-I_BQ*R_C)/R_C;//in A
+disp("Q- point values for circuit is "+string(V_CEQ)+" V and "+string(I_CQ*10^3)+" mA")
+