blob: 228307d98b9eaad138ef496328169689572f638e (
plain)
1
2
3
4
5
6
7
8
9
|
clear
//
//applying kvl to circuit
i=0.414
vth=12-4*0.414 //using vth formula
//when terminals a and b are short circuited applying kcl to node a gives isc=5*i
isc=2.07
rth=vth/isc
printf("\n rth= %0.1f A",rth)
|