5.3k views
4 votes
The cost of a ride in a taxi is $2.50 for the first half-mile plus a constant amount per half-mile after that. The sequence below shows the pattern of numbers that appear on the driver's screen.

2.50, 2.75, 3.00. 3.25, 3.50, 3.75


Part A: Write a recursive function that can be used to determine f(x), the cost in dollars, for a ride in the taxi of, x, half-miles.

The cost of a ride in a taxi is $2.50 for the first half-mile plus a constant amount-example-1

1 Answer

4 votes

Answer: 2.50 + 0.35(15.75-1)*4 = $23.15 is the answer

Step-by-step explanation: Hope this helps!

User Mohamed Amine
by
8.3k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories