1 2 3 4 5 6 7
//6.4 clc; R1=45; R2=100-R1; l=500; x=2*l*R1/(R1+R2); printf("Position of the fault from the test end=%.1f m",x)