Skip to content
Official PYQ · 2015

GATE CS 2015 Set 2 QGA-7 — General Aptitude

Explain with AI

Four branches of a company are located at M, N, O\text{M, N, O} and P. M\text{P. M} is north of N\text{N} at a distance of 4  km; P4\;\text{km; P} is south of O\text{O} at a distance of 2  km; N2\;\text{km; N} is southeast of O\text{O} by 1  km1\;\text{km}. What is the distance between M\text{M} and P\text{P} in km\text{km}?

Choose one option
View worked solution

Answer: A

We can solve this problem by setting up a 2D Cartesian coordinate system. Let the branch OO be located at the origin (0,0)(0, 0).

Step 1: Find the coordinates of NN
NN is southeast of OO at a distance of 1 km1\text{ km}. Since southeast is at an angle of 45∘45^\circ south of east: xN=1⋅cos⁡(45∘)=12≈0.707 kmx_N = 1 \cdot \cos(45^\circ) = \frac{1}{\sqrt{2}} \approx 0.707\text{ km} yN=−1⋅sin⁡(45∘)=−12≈−0.707 kmy_N = -1 \cdot \sin(45^\circ) = -\frac{1}{\sqrt{2}} \approx -0.707\text{ km} Thus, the coordinates of NN are (0.707,−0.707)(0.707, -0.707).

Step 2: Find the coordinates of MM
MM is north of NN by 4 km4\text{ km}. Therefore, we add 44 to the yy-coordinate of NN: xM=0.707x_M = 0.707 yM=−0.707+4=3.293y_M = -0.707 + 4 = 3.293 Thus, the coordinates of MM are (0.707,3.293)(0.707, 3.293).

Step 3: Find the coordinates of PP
PP is south of OO by 2 km2\text{ km}. Since OO is at (0,0)(0, 0): xP=0x_P = 0 yP=−2y_P = -2 Thus, the coordinates of PP are (0,−2)(0, -2).

Step 4: Calculate the distance between MM and PP
Using the distance formula: Distance (M,P)=(xM−xP)2+(yM−yP)2\text{Distance } (M, P) = \sqrt{(x_M - x_P)^2 + (y_M - y_P)^2} Distance (M,P)=(0.707−0)2+(3.293−(−2))2\text{Distance } (M, P) = \sqrt{(0.707 - 0)^2 + (3.293 - (-2))^2} Distance (M,P)=(0.707)2+(5.293)2\text{Distance } (M, P) = \sqrt{(0.707)^2 + (5.293)^2} Distance (M,P)≈0.5+28.016=28.516≈5.34 km\text{Distance } (M, P) \approx \sqrt{0.5 + 28.016} = \sqrt{28.516} \approx 5.34\text{ km}

Therefore, the distance between MM and PP is approximately 5.34 km5.34\text{ km}.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore General Aptitude questions