The maximum value of x^2/2 occurs at x=2, and the maximum area of the rectangle is 2^2/2 = 2 .
Let's denote the point where the rectangle intersects the line segment as (x,y).
Then, the area of the rectangle is xy, and we want to maximize this.
The equation of the line segment is y=1− x/2 , so we can substitute this into xy to get xy=x(1− x/2 )= x^2/2 .
Then, we want to maximize the quantity x^2/2 subject to the constraint that 0≤x≤2.
The derivative of x^2/2 is x, which is positive for x>0 and negative for x<0. This means that x^2/2 is increasing on the interval [0,2].
Therefore, the maximum value of x^2/2 occurs at x=2, and the maximum area of the rectangle is 2^2/2 = 2 .