1 2 3 4 5 6 7 8 9 10 11
clear //Given R1=5 //ohm R2=5.0 //ohm R=6 //Calculation n=(1/(R-R1)*R2) //Result printf("\n There are %0.3f resistance are in parallel", n)