In the fig above, XY is of length 1m, The value of R at balance…