In above diagrams, T: Tension in cord, F: Exerted force, M1 & M2 are masses of 12 kg and 15kg respectively.
NOTE: Right hand side is positive direction and left hand side is negative direction in this solution.
Equation of motion from free body diagram of M2:
where "a" is the acceleration of the masses.
equation of motion from free body diagram of M1:
Using Eq[2] in Eq[1]:
putting this value "a" in Eq[2], we get
Acceleration of both masses is and Tension in cord is .
Comments