ys varun.tinkle
now it comes...
from my equn. of n, you'll get
T - nsin

= M'a
=>T = M'a + nsin

=> T = M'a + (masin

+ mgcos

).sin

= M'g.tan

+ mg.tan

.sin
2
+ mg.cos

.sin

..... using a = g.tan

= M'g.tan

+ mg (tan

.sin
2
+ cos

.sin

)
= M'g.tan

+ mg (sin
3
/cos

+ cos

.sin

)
= M'g.tan

+ mg ( sin
3
+ cos
2
.sin

) / cos

= M'g.tan

+ mg (sin

/cos

).(sin
2
+ cos
2
)
= M'gtan

+ mg.tan

= (M'+m).g.tan

use this in Mg - T = Ma
or M = T/(g - a) to get the answer....
This proves... ur mistake was in n + ma.sin

= mg.cos

it should be n = ma.sin

+ mg.cos

because ma.sin

is the component of pseudo force on m along mg.cos

whoaaaaaaaa!!!!