- 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

# The taxi fare in a city is as follows: For the first kilometre, the fare is $ \mathrm{F} 8 $ and for the subsequent distance it is Rs. 5 per $ \mathrm{km} $. Taking the distance covered as $ x \mathrm{~km} $ and total fare as $ Rs. y $, write a linear equation for this information, and draw its graph.

Given:

The taxi fare in a city is $\ Rs. 8$ for the first kilometre and for the subsequent distance it is $Rs.5\ per\ kilometre$.

To do:

We have to write the linear equation by taking the distance covered as \( x \mathrm{~km} \) and total fare as \( ₹ y \) and draw its graph

Solution:

Let the total distance covered be $x\ km$.

Fare for the first kilometre $=1\times 8=Rs.\ 8$

Fare for the subsequent distance$=Rs.\ ( x-1)\times5$

According to the question,

$8+( x-1)5=y$

$\Rightarrow 8+5x-5=y$

$\Rightarrow 5x-y+3=0$

The linear equation representing the given information is $5x-y+3=0$.

We know that,

To draw a graph of a linear equation in two variables, we need at least two solutions to the given equation.

To find the solutions to the given equation $5x-y+3=0$.

This implies,

$5x-y=-3$

Let us substitute $x=0$ and $y=0$ in equation $5x-y=-3$

For $x=0$

We get,

$5(0)-y=-3$

$0-y=-3$

$y=3$

For $y=0$

We get,

$5x-0=-3$

$5x=-3$

$x=\frac{-3}{5}$

Therefore,

$(0, 3)$ and $(\frac{-3}{5}, 0)$ are two solutions of the equation$5x-y=-3$.

Hence,

The graph of the linear equation $5x-y=-3$ in two variables is,

- Related Questions & Answers
- What is the Flexi-fare System and how is it going to affect your travel?
- How to Get Fare Estimates for Uber Taxi’s on Twitter?
- Why is the fare of Rajdhani express more as compared to other trains in the same category?
- What is Yellow Jaundice? What is the best treatment for it?
- Program to find minimum bus fare for travelling all days in Python?
- Which city of India is called the city of dreams and why?
- What is Anemia? and what is the cure for Anemia?
- What is B-tree and explain the reasons for using it (DBMS)?
- What is the size of int, long type as per C++ standard?
- How is the classification of Computer Networks done as per its architecture?
- What is the treatment for Anorexia?
- What is the purpose of OPTIMIZE FOR ROWS in DB2 SQLs? How is it useful?
- What is an array and how is it used for?
- What is an array and what is it used for?
- Why is it not good to sleep on the stomach for the whole night?
- Which is the most polluted city in India now?