A 5 kg block is attached via a rope to a dangle 2kg mass. Consider the case without friction. What angle would the ramp be for the 5kg block to experience zero acceleration?

The component of the 5 kg down the ramp would have to equal the nagled weight 2kg* g.

5 g sin A = 2 g
sin A = 0.4
A = 23.6 degrees

With friction, the angle would have to be steeper.