The straight line graph y=2x+k intersects the x-axis at pointA and y-axis at point B.Given that the length of AB is `sqrt(5)` units,find the values of k

pramodpandey | Student

The line y=2x+k , meet  x axis  at  A, Thus coordinate of A is (-k/2,0).

meet  y axis  at B, Thus coordinate of B is (0,k).

distance beetween A and B =sqrt(5)

But  by distance formula



squaring both side ,we have






Thus line is