summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.26/Ex2_26.sce
blob: 9b077769a1363ca6073a403c27ae497e63355363 (plain)
1
2
3
4
5
6
7
8
9
clear
//
//norton's theorem
v=10
//applying kvl to closed circuit 
isc=12/(2+2) 
rn=4 //resistance obtained by short circuiting v and opening i
iab=(4*3)/(4+4) //current through 4 ohm connected across AB
printf("\n iab= %0.1f  A",iab)