diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3507/CH12/EX12.6/Ex12_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3507/CH12/EX12.6/Ex12_6.sce')
-rw-r--r-- | 3507/CH12/EX12.6/Ex12_6.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3507/CH12/EX12.6/Ex12_6.sce b/3507/CH12/EX12.6/Ex12_6.sce new file mode 100644 index 000000000..cacf6eac8 --- /dev/null +++ b/3507/CH12/EX12.6/Ex12_6.sce @@ -0,0 +1,22 @@ +//chapter12 +//example12.6 +//page242 + +Vcc=10 // V +R_B=1d3 // kilo ohm +R_E=1 // kilo ohm +Vbe=0 // since it is negligible +gain_beta=100 + +// by Kirchoff voltage law to base side we get Vcc=I_B*R_B+Vbe+I_E*R_E +// but I_E=I_B+I_C and I_C=gain_beta*I_B +// so we get Vcc=I_B*R_B+Vbe+R_E*I_B*(1+gain_beta) +// making I_B as subject we get + +I_B=(Vcc-Vbe)/(R_B+R_E*(1+gain_beta)) // in ampere +I_C=gain_beta*I_B // in ampere +I_E=I_C+I_B // in ampere + +printf("base current = %.4f mA \n",I_B) +printf("collector current = %.4f mA \n",I_C) +printf("emitter current = %.4f mA \n",I_E) |