summaryrefslogtreecommitdiff
path: root/2534/CH6/EX6.12/Ex6_12.sce
blob: 49bf49bef66dee6b967703f7eedf7ed7365a6092 (plain)
1
2
3
4
5
6
7
8
9
10
//Ex6_12
clc
//given, collector voltage swings between 11V to 4V
//thus,
vc = 11-4
disp("vc = 11 - 4 = "+string(vc)+"V")//PEAK-to-PEAK collector voltage
//given, collector current swings between 5mA to 1.4mA
//thus,
ic = (5 - 1.4)*10^-3
disp("ic = 5m - 1.4m = "+string(ic)+"A")//PEAK-to-PEAK collector current