1 2 3 4 5 6 7 8
clear // v=24 r=0.75 ir=v/r printf("\n ir= %0.1f A",ir) il=v/(10+r) //since 10 is in series with r printf("\n il= %0.1f A",il)