A uniform rod of length L and mass m is placed on rough horizontal surface.If coefficient of friction is μ=kx,where k is constant and μ exist for 0≤ x≤ L (i.e for x>L friction is zero.). If rod moves towards the right, magnitude of work done by friction is: