A block of mass m1 = 2 kg and a block of mass m2 = 6 kg are connected by a massless string over a pulley in the shape of a solid disk having radius R = 0.250 m and mass M = 10 kg. The fixed, wedge-shaped ramp makes an angle of 30 degrees and the coefficient of kinetic friction is 0.360 for both blocks. Determine the acceleration of the two blocks. The only part of this problem that i don't understand is how to get the forces acting on the object:
T1 = μm1g+m1a
T2 = m2gsinθ−μm2gcosθ−m2a
I know you have to divide it into the sin and cos components but I don't understand why the cosine was used when it is sliding down the ramp. I thought only the sine should be used and that the cos would cancel out with the normal (N). Thanks in advance for any clarification!