clc; Rs=40; //resisitance in Ohm disp("R2=8 when R1=32, R2=32 when R1=8 Resisitance in Ohm "); //displaying result using (1/Rp)=(1/R1)+(1/R2)