summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.18/Ex2_18.sce
blob: 9afc2546b0a7a24013b684f34e52a6bab4402058 (plain)
1
2
3
4
5
6
clear
//
//node eqns are obtained form the figure
printf("\n va=8.33V and vb=4.17V")
i=8.33/(8)
printf("\n current through 8 ohm resistor is= %0.1f  A",i)