1 2 3 4 5 6 7 8 9 10 11
clear //Given a=6 b=2 //Calculation R1=a/((b*b)-1) R2=b*R1 //Result printf("\n Resistance R1 is %0.3f ohm \nR2 is %0.3f Ohm",R1,R2)