summaryrefslogtreecommitdiff
path: root/3507/CH15/EX15.1/Ex15_1.sce
blob: 2f36b431e2b2d375d70a627be40035586201f62d (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter15
//example15.1
//page321

V=12 // V
P=2 // W

// since P=V*Ic we get
Ic_max=P/V // in ampere

printf("maximum collector current = %.3f mA \n",Ic_max*1000)