clear // //using thevenin's theorem //applying kcl at node a va is obtained va=12 vth=12-1.2*3 //voltage eqn rth=1.33 //2||4 i5=vth/(rth+5) printf("\n current through 5 ohm resistor is= %0.1f A",i5)