# The cost of a ride as piecewise defined function and graph of function. ### Precalculus: Mathematics for Calcu...

6th Edition
Stewart + 5 others
Publisher: Cengage Learning
ISBN: 9780840068071 ### Precalculus: Mathematics for Calcu...

6th Edition
Stewart + 5 others
Publisher: Cengage Learning
ISBN: 9780840068071

#### Solutions

Chapter 2.2, Problem 82E
To determine

## To sketch: The cost of a ride as piecewise defined function and graph of function.

Expert Solution

The cost of a ride is defined by Figure (1).

### Explanation of Solution

Given:

A taxi company charges $2.00 for the first mile and 20 cents for each succeeding tenth of a mile. Calculation: Let us Assume that y be the cost of x miles. A taxi company charges$2.00 for the first mile and 20 cents for each succeeding tenth of a mile.

Therefore, 20cents=\$0.2 and tenth of a mile is 0.1miles.

For 0<x<1

y=2

For 1<x1.1

y=2+0.2=2.2

For 1.1<x1.2

y=2.2+0.2=2.4

For 1.2<x1.3,......1.9<x<2.0

y=2.4+0.2=2.6y=3.8+0.2=4.0

Therefore, it can be written as,

y={2if0<x12.2if1<x1.12.4if1.1<x1.22.6if1.2<x1.3....4.0if1.9<x2.0

Plot the graph between y and x as below in Figure 1. Figure (1)

Hence, the graph of function y at different value of x is represented by Figure (1).

### Have a homework question?

Subscribe to bartleby learn! Ask subject matter experts 30 homework questions each month. Plus, you’ll have access to millions of step-by-step textbook answers!