A block of mass
m attached with an ideal spring of for constant
k is placed on a rough inclined plane having inclination
θ with the horizontal and coefficient of friction
μ=1/2tanθ. Initially the block is held stationary with the spring in its relaxed state, find the maximum extension in the spring if the block is released.