summaryrefslogtreecommitdiff
path: root/1514/CH7/EX7.1/ch7_1.sce
blob: ae32e0ebd4cecae477d4c6166a9c0467b03cfda7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//chapter 7
//example 7.1
//page 196
clear;
clc ;
//given
Vce=20;  //collector to emitter voltage in volts
T=125 ; //temperature in degreeC
excessT=T-25; 
D=2.81*excessT; //derating in power of device in mW

//maximum power dissipation in mW
PD=310-D; //from datasheet of 2N3904

//max collector current in mA
Ic=PD/Vce; 

printf('maximum Ic that can be used is %.2f mA',Ic);