clear // //from the figure the eqns are written in matrix form and using cramers rule the value of v1 and v2 can be found printf("\n v1=3.6V") printf("\n v2=2.2V") printf("\n the current in 0.6 ohm resistor is 10.8A,0.2 ohm resistor is 7A,0.16ohm resistor is 13.2 A")