- 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

# Rita goes 20 km towards east from a point A to the point B. From B, she moves 30 km towards west along the same road. If the distance towards east is represented by a positive integer then, how will you represent the distance travelled towards west? By which integer will you represent her final position from A?

"

Given:

Rita goes \( 20 \mathrm{~km} \) towards the east from point \( A \) to point \( B \). From B she moves \( 30 \mathrm{~km} \) towards the west along the same road.

The distance towards the east is represented by a positive integer.

To do:

We have to find the final position from A.

Solution:

Distance towards the east is represented by a positive integer.

West is opposite to east.

This implies,

The distance in the direction of the west will be represented by a negative integer.

Rita goes \( 20 \mathrm{~km} \) towards the east from point \( A \) to point \( B \).

Let us consider $A$ as $0$.

Her position now is $+20$ km.

From B she moves \( 30 \mathrm{~km} \) towards the west along the same road.

Final position of Rita $=+20+(-30)$

$=20-30$

$=-10$ km

**Therefore, the final position of Rita is $10\ km$ West of $A$.**

- Related Questions & Answers
- Return the next floating-point value after a value towards another value in Numpy
- From look east to act east and now look west, what is India's upcoming prospect?
- Moving Towards Artificial Intelligence
- Return the next floating-point value after a zero-dimensional array value towards another value in Numpy
- Public Policy Principles Towards Marketing
- Find kth node from Middle towards Head of a Linked List in C++
- Convert distance from km to meters and centimeters in PL/SQL
- C++ Program to find out the moves to read a point from another point in a 2D plane
- Round to nearest integer towards zero in Python
- Find the minimum sum of distance to A and B from any integer point in a ring of size N in Python
- What makes children get attracted towards particular colors?
- What are the best tourist places in East India?
- Find FIRST & FOLLOW for the following Grammar. S → A a A | B b B A → b B B → ε
- Who is Sister Shivani and what's her contribution towards Brahmakumaris?
- Sort array of points by ascending distance from a given point JavaScript
- How can create a table having the name like a^b along with same column name? name?