Problem Statement
Find the slope of the line passing through (2, 3) and (6, 15).
Explanation
Slope m = (y₂ − y₁)/(x₂ − x₁) = (15 − 3)/(6 − 2) = 12/4 = 3.
Code Solution
SolutionRead Only
m = (15−3)/(6−2) = 12/4 = 3
Get the Preplance app for a seamless learning experience. Practice offline, get daily streaks, and stay ahead with real-time interview updates.
Get it on
Google Play
4.9/5 Rating on Store
Aptitude & Reasoning · Interview Question
Detailed answer, explanation and code for this interview question. Ideal for Aptitude & Reasoning interview preparation, coding rounds and viva questions.
Find the slope of the line passing through (2, 3) and (6, 15).
m = (15−3)/(6−2) = 12/4 = 3

Master Aptitude & Reasoning with our complete collection of questions, tutorials and guides.