summaryrefslogtreecommitdiff
path: root/3630/CH10/EX10.2/Ex10_2.sce
blob: 46a32b6abc374dbb3f274c348524c5dc4915d784 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clc;
Vcc=0.002; //Volt
Re=5000; //Ohm
Icsat=Vcc/Re; //Ampere
Vceoff=Vcc; //Volt
disp(' Amperes',Icsat,"Icsat=");
disp('Volt',Vceoff,"Vceoff=");
T1=0:2:10 //Here on X-axis T1=Vce=10V
T2=2:-0.4:0; //Here on the Y-Axis T2=Ic=2miliAmpere
plot(T1,T2)
xlabel('Vce(V)')
ylabel('Ic(mA)')