Doubt by Swikriti chauhan

resistance is directly proprtional to (length)^2/mass. where has this formula come from?