Question:
Suppose the entire system of the previous question is kept inside an elevator which is coming down with an acceleration a g. Repeat parts (a) and (b).
Solution:
In elevator, moving down with acceleration a, effective acceleration will be $g_{e f f}=g-a$
So, replace $g$ by $g_{\text {eff }}$ in above answers.