clc clear //Input data V=10//voltage in V from fig.12.7 on page no.175 R=10//Resistance in ohms from fig.12.7 on page no.175 //Calculations I=(V/R)//Current in A //Output printf('Current in the circuit shown in fig.12.7 is %i A',I)