1 2 3 4
clear // //kvl eqns are obtained from figure which are solved to obtain currents printf("\n currents obtained are i1=2.013 and i2=1.273")