A 5.00 kg object placed on a frictionless, horizontal table is connected to a string that passes over a pulley and then is fasted to a hanging 9.00 kg object. Find the acceleration of the two objects and the tension in the string.

First, there is just one force acting on the 5kg block, and it is the tension to the right (positive x axis; so Tension is positive). There is no acceleration in the y direction for the 5kg block:
F(y): n-mg = 0 or n=mg

For the 9kg block, there is T in the y direction and the force mg.
T-mg = ma(y)
T = ma + mg

Can someone help me?

Because of the pulley, the rightward acceleration "a" of the 5 kg object equals the downward acceleration of the 9 kg hanging mass. You can treat "a" as a single unknown and forget about the vector directions.
Let acceleration be positive to the right for the 5 kg mass and positive downward for the 9 kg mass. The rope tension is T on both objects for a frictionless massless pulley.
T = 5.0 a
9.0 g - T = 9.0 a
-----------------
9.0 g = 14.0 a
a = (9/14) g
T = 5 a = (45/14)g = 31.5 N

To find the acceleration of the two objects and the tension in the string, you can follow these steps:

1. First, consider the 5 kg object on the frictionless, horizontal table. Since there is no friction in play, the only force acting on this object is the tension in the string. Let's denote this tension as T.

2. Using Newton's second law, the net force on the 5 kg object is equal to its mass multiplied by its acceleration. Since the object is moving horizontally, there is no acceleration in the y-direction, so the net force in the y-direction is zero.

3. The only vertical force on the 5 kg object is its weight, which is given by the equation F(y) = n - mg = 0, where n is the normal force. Solving for n, you get n = mg.

4. Now let's move on to the 9 kg hanging object. The forces acting on this object are its weight (mg) and the tension in the string (T).

5. Again, using Newton's second law, the net force on the 9 kg object in the y-direction is equal to its mass multiplied by its acceleration. Since the object is hanging, its acceleration is downward, so you can represent it as -a.

6. Applying Newton's second law, you get the equation T - mg = ma. But we know that the magnitude of the tension T is the same on both objects, so T = ma + mg.

7. At this point, we have two equations involving the acceleration a and the tension T:

T = 5.0a ---- (Equation 1)
T - mg = 9.0(-a) ---- (Equation 2)

8. Since the pulley connects the two objects, the magnitude of their accelerations will be the same, but with opposite signs. Therefore, you can set a = -a in Equation 2.

9. Solving the equations simultaneously, we can eliminate T to find the value of a. Subtract Equation 2 from Equation 1:

5.0a - (-9.0g) = 0

10. Simplifying the equation, you get:

5.0a + 9.0g = 0

11. Now you can solve for the acceleration a:

5.0a = -9.0g
a = -(9.0g / 5.0)
a = -(9/5)g
a = -1.8g

12. The negative sign indicates that the acceleration is in the opposite direction to the positive x-axis, which means the 5 kg object is moving to the left.

13. To find the tension T, substitute the value of a into Equation 1:

T = 5.0a
T = 5.0(-1.8g)
T = -9.0g

14. The negative sign in front of T indicates that the tension is in the opposite direction to the positive x-axis, which means the tension is acting to the left.

15. Finally, to find the magnitude of the tension, multiply the value of T by -1 to remove the negative sign:

T = -(-9.0g)
T = 9.0g

16. So, the acceleration of the two objects is -1.8g (to the left), and the tension in the string is 9.0g (to the left), where g is the acceleration due to gravity.