For any given angle θ\thetaθthe area of the triangle is ab∣cosθ∣/2ab|\cos\theta|/2ab∣cosθ∣/2. So to maximize the area we need to take max of ∣cosθ∣|\cos\theta|∣cosθ∣which is 1. So the answer will be ab/2ab/2ab/2.