Two weights W1 and W2 are attached to the ends of a string which passes over a frictionless pulley. If the pulley is placed in a rocket accelerating upwards at 9.8 m/s2, the tension in the string would be (take g = 9.8 m/s2)
See fig.
Tension in the string
When the pulley is accelerating upwards accelerating, each weight is doubled.