summaryrefslogtreecommitdiff
path: root/2045/CH4/EX4.11/Ex4_11.sce
blob: 7c9c0ab07bf792cd993d74db35466ae9d375b429 (plain)
1
2
3
4
5
6
7
8
9
10
11
//example 11
clear
vbe=0.65;//volt
colres=2*10^3;//ohm
voltag=10;//volt
i1=voltag/10;
q=(1.65-vbe)/(1*10^3);


disp("current   =   "+string((q))+"ampere");