blob: d3eb1d0cca91fdfbfc4e11e0a07778b63b6f91f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//chapter 4
//example 4.13
//page 132
clear all;
clc ;
//given
Vcc=10;//supply voltage V
Rc=1;//collector resistance kohm
Ico=50;//collector cutoff current nA
// at cutoff
Ic=Ico;//collector current at cutoff
Vce=Vcc-(Ico*10^-6);
printf("\nFor Transistor in cutoff,Vce=%.5f V",Vce);
//at saturation
Vce=0;
Ic=Vcc/Rc;
Vce=0.2;//from datasheet of 2N3904
printf("\nFor Transistor in saturation,Vce<=%.1f V",Vce);
|