blob: 6b0588c98722fb5b00b73eb675d800c9dcf51f61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// To find the meter current and the voltmeter resistance
//example 4-1 in page 88
clc;
//given data
Vcc=20;//Vcc in volts
R=9.3e+3;// R=Rs+Rm=9.3 K-ohm
Im=1e-3'// Im=1 mA
hfe=100;
E=10;// E in volts
Vb=0.7;//voltage drop across base in volts
// calculation
Ve=E-Vb;// emitter voltage in volts
printf("meter current=%d mA\n",Ve*1000/R);
Ib=Im/hfe;// base current
printf("input resistance with transistor = %d M-ohm\n",E/(Ib*1000000));
printf("input resistance with out transistor = %.1f K-ohm\n",R/1000);
//result
//meter current = 1 mA
//input resistance with transistor = 1 M-ohm
//input resistance with out transistor = 9300 ohm
|