A particle is projected from surface of the inclined plane with speed u and at an angle θ with the horizontal. After some time the particle collides elastically with the smooth fixed inclined plane for the first time and subsequently moves in vertical direction. Starting from projection, find the time taken by the particle to reach maximum height. (Neglect time of collision).