summaryrefslogtreecommitdiff
path: root/2459/CH10/EX10.1/Ex10_1.sce
blob: fd93ec879eeaae8ddc994e6e0b056bcbc873f6ce (plain)
1
2
3
4
5
6
7
8
9
10
11
//chapter10
//example10.1
//page182

Vs=10 // V 
Vd=1.6  // V
If=20d-3 // A

Rs=(Vs-Vd)/If

printf("required series resistor = %.3f ohm",Rs)