If the whole system moves together, than the acceleration of system,
`a = (F)/(2m)`
`T + mg sin theta = f + ma cos theta`

But `T = F `. Therefore
`f = F + mg sin theta - ma cos theta`
for no relative sliding `f lt mu N`
` F + mg sin theta - ma cos theta lt mu (mg cos theta + ma sin theta)`
`F + mg sin theta - m.((F)/(2m)) cos theta lt mu (mg cos theta + m((F)/(2m)) sin theta)`
` F lt (2mg (mu cos theta - sin theta))/((2 - cos theta - mu sin theta))`