13.2k views
4 votes
Assign deliveryCost with the cost (in dollars) to deliver a piece of baggage weighing baggageWeight. The baggage delivery service charges twenty dollars for the first 50 pounds and one dolllar for each additional pound. The baggage delivery service calculates delivery charge by rounding to the next pound. Assume baggageWeight is always greater than 50 pounds.

User AnnanFay
by
4.7k points

1 Answer

7 votes

Answer: y = x * 1dollars - 30dollars

Step-by-step explanation:

Giving that the delivery cost in dollar is potent for all x > = 50 pounds of wght

Y = (x - 50)*1 dollar + c ...equ 1

Y = delivery cost equation in dollars

x = weigt of baggage for delivery

c = 20dollars = down payment for the first 50 pound weight of baggage

Equ 1 becomes

Y = (x)dollars - 50 dollars + 20 dollars

Y = (x) dollars -30 dollars

User Dance Party
by
5.4k points