A small mass slides down an inclined plane of inclination θ with the horizontal. The coefficient friction is μ=μ0x where x is the distance through which the mass slides down and μ0 is a positive constant. Then the distance covered by the mass before it stops is