Problem Statement
For |2x − 5| = 3, what is the sum of all solutions?
Explanation
Solve 2x − 5 = 3 ⇒ x = 4 and 2x − 5 = −3 ⇒ 2x = 2 ⇒ x = 1. Sum of solutions = 4 + 1 = 5.
Code Solution
SolutionRead Only
x=4 or x=1 ⇒ sum=5
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.
For |2x − 5| = 3, what is the sum of all solutions?
x=4 or x=1 ⇒ sum=5
Master Aptitude & Reasoning with our complete collection of questions, tutorials and guides.