- Trending Categories
- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP

- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who

# For going to a city $ \mathrm{B} $ from city $ \mathrm{A} $, there is a route via city $ \mathrm{C} $ such that $ \mathrm{AC} \perp \mathrm{CB} $, $ \mathrm{AC}=2 x \mathrm{~km} $ and $ \mathrm{CB}=2(x+7) \mathrm{km} $. It is proposed to construct a $ 26 \mathrm{~km} $ highway which directly connects the two cities $ \mathrm{A} $ and $ \mathrm{B} $. Find how much distance will be saved in reaching city B from city A after the construction of the highway.

Given:

For going to a city \( \mathrm{B} \) from city \( \mathrm{A} \), there is a route via city \( \mathrm{C} \) such that \( \mathrm{AC} \perp \mathrm{CB} \), \( \mathrm{AC}=2 x \mathrm{~km} \) and \( \mathrm{CB}=2(x+7) \mathrm{km} \). It is proposed to construct a \( 26 \mathrm{~km} \) highway which directly connects the two cities \( \mathrm{A} \) and \( \mathrm{B} \).

To do:

We have to find how much distance will be saved in reaching city B from city A after the construction of the highway.

Solution:

In \( \triangle \mathrm{ACB} \), by Pythagoras theorem,

$A B^{2} =A C^{2}+B C^{2}$

$(26)^{2}=(2 x)^{2}+[2(x+7)]^{2}$

$676 =4 x^{2}+4(x^{2}+49+14 x)$

$676 =4 x^{2}+4 x^{2}+196+56 x$

$676 =8 x^{2}+56 x+196$

$8 x^{2} +56 x-480=0$

$8(x^2+7x-60)=0$

$x^{2}+7 x-60=0$

$x^{2}+12 x-5 x-60=0$

$x(x+12)-5(x-12)=0$

$(x+12)(x-5)=0$

$x=5$ or $x=-12$ which is not possible since the distance cannot be negative.

$x=5$

Therefore,

$A C=2 x$

$=2(5)$

$=10 \mathrm{~km}$

$B C=2(x+7)$

$=2(5+7)$

$=24 \mathrm{~km}

Hence, the distance covered to city $B$ from city $A$ via city $C$

$=A C+B C$

$=10+24$

$=34 \mathrm{~km}$

Distance covered to city $B$ from city $A$ after the highway is constructed $=B A=26 \mathrm{km}$

Therefore, the distance saved $=34-26$

$=8 \mathrm{~km}$

Hence, the required saved distance is $8\ km$.

- Related Questions & Answers
- Which city of India is called the city of dreams and why?
- Two City Scheduling in C++
- MongoDB query to find a specific city record from a collection
- Program to check we can visit any city from any city or not in Python
- C++ Program to find out if a round trip is possible from a particular city
- How to make relocating in a new city easy?
- Which city is best for a Six Sigma Black Belt holders in India?
- Find minimum positive integer x such that a(x^2) + b(x) + c >= k in C++
- How to get city information from Network provider in android?
- MySQL query to find a list of city names that do not start with vowels?
- Which is the most polluted city in India now?
- Total Distance to Visit City Blocks in Python
- Max Increase to Keep City Skyline in Python
- What's the best city in India to watch a movie?
- How to get the longitude and latitude of a city using Python?
- How to get nearby city information from Network provider in android?