vertical force on the box=mg
the component of gravity parallel=mg*SinTheta
the component of gravity normal=mg*CosTheta
frictional force up the plane: mg*cosTheta*mu max, but if it is sitting still, it is equal and opposite to mg*cosTheta (it cannot be greater than this or it would go up the plane).