The correct option is D y=12
The required line is parallel to the X-axis.
Let the equation of the line be y−c=0−(1) ,where ′c′ is a constant.
Line (1) intersects the given curve at (c2,c) at an angle of π4.
Slope of the tangent to the curve at this point is 12c. ( since dydx=12√x, when y=c, √x=c)
Angle between this tangent and the given line is π4.
Let m1=12c and m2=0.
Applying the formula for the angle between two lines,
π4=tan−1∣∣∣m1−m21+m1m2∣∣∣⇒1=∣∣∣(1/2c)−01∣∣∣⇒c=±12
∴The equation of the line is y=12. (since for y=√x, y can not be negative)