This question was asked in Ex 3.3, 17

a cos theta b sin ( theta Alfa) find greatest value

Sajal Ghosh's image