The line passes through $(-2,0)$ and $(0,4)$, so $y=2x+4$. Rewriting $x+py+q=0$ as $y=-\dfrac1px-\dfrac qp$: $-\dfrac1p=2$ gives $p=-\dfrac12$, and $-\dfrac qp=4$ gives $q=-4p=2$.
More Quantitative Aptitude: Algebra, Geometry and Mensuration questions
GATE 2025 EE Q10– In the triangle PQR, the lengths of PT and TR are in the ratio of 3:2. ST is parallel to…
GATE 2024 EE Q5– If, for non-zero real variables x, y, and real parameter a>1, x:y=(a+1):(a-1), then, the…
GATE 2024 EE Q7– In the following figure, CD = 5 cm, BE = 10 cm, AE = 12 cm, ∠DAB = ∠DCB, and ∠DAE = ∠DBC =…
GATE 2024 EE Q10– A surveyor has to measure the horizontal distance from her position to a distant reference…
GATE 2023 EE Q7– Which one of the following options represents the given graph?
GATE 2023 EE Q10– A square with sides of length 6 cm is given. The boundary of the shaded region is defined…