clc disp("Example 1.24") printf("\n") disp("calculate the current in the circuit in fig 1.18") //given V=12 R1=10^3 R2=2*10^3 //current I=V/(R1+R2) printf("current in the circuit=%f Ampere",I)