Victoria lives in a condo on Peachtree Street in downtown Atlanta and works at the Federal Reserve
Question:
Victoria lives in a condo on Peachtree Street in downtown Atlanta and works at the Federal Reserve Bank of Atlanta, which is 1 mile north of her condo on Peachtree Street. She often eats lunch at Nava Restaurant in Buckhead that is x miles north of the Federal Reserve Bank on Peachtree Street. A taxi in downtown Atlanta costs $7.00 for the first mile and $0.30 for every mile after that. Write a function that shows the cost of traveling from Victoria’s office to Nava for lunch. Then rewrite the same function to show the cost of the taxi on days when Victoria walks home first to let her dog out and then takes the taxi from her condo to the Nava Restaurant.
Statistics For Business And Economics
ISBN: 9780134506593
13th Edition
Authors: James T. McClave, P. George Benson, Terry Sincich