A small mass starts sliding down a fixed inclined plane of inclination 45∘ with the horizontal. The coefficient of friction is μ=μ0x where x is the distance through which the mass slides down and μ0 is a constant. Find the heat produced during half the distance travelled by the particle before it stops.