summaryrefslogtreecommitdiff
path: root/3636/CH11/EX11.1/Ex11_1.sce
blob: 36a7b10b3d4de1a36f676ec0c71890ddb5c38b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear;
clc;
RL=8 //in ohm
VCC=30 //in V

//Calculation
IC_max=VCC/RL 
VCE_max=VCC
IC=VCC/(2*RL)
VCE=VCC-(IC*RL)
PT=VCE*IC

mprintf("maximum collector current= %1.2f A\n",IC_max)
mprintf("Maximum collector-emiiter voltage= %i V\n",VCE_max)
mprintf("Maximum Power rating= %2.2f W",PT)