Answer:
It looks like you are trying to find the retail price for a given quantity of pairs. To write an equation that could be used to find the retail price for each range of quantities, you will need to know the following information:
The retail price for the first range (0-20 pairs)
The retail price for the second range (21-40 pairs)
The retail price for the third range (41-60 pairs)
The retail price for the fourth range (61-80 pairs)
The retail price for the fifth range (81 or more pairs)
Once you have this information, you can use an if-then statement to create an equation that will work consistently for each range. The equation might look something like this:
if (quantity >= 0 and quantity <= 20):
retail_price = price for 0-20 pairs
elif (quantity >= 21 and quantity <= 40):
retail_price = price for 21-40 pairs
elif (quantity >= 41 and quantity <= 60):
retail_price = price for 41-60 pairs
elif (quantity >= 61 and quantity <= 80):
retail_price = price for 61-80 pairs
else:
retail_price = price for 81 or more pairs
This equation will work consistently for each range because it uses a series of conditions to determine which retail price to use based on the quantity of pairs.
EDIT:
To find the retail price for a given quantity of pairs based on the wholesale prices you provided, you can use the following equation:
if (quantity >= 0 and quantity <= 20):
retail_price = 25.00
elif (quantity >= 21 and quantity <= 40):
retail_price = 23.00
elif (quantity >= 41 and quantity <= 60):
retail_price = 21.00
elif (quantity >= 61 and quantity <= 80):
retail_price = 19.00
else:
retail_price = 17.00
This equation will work consistently for each range because it uses a series of conditions to determine the retail price based on the quantity of pairs. The retail price will be 25.00 for quantities in the first range (0-20 pairs), 23.00 for quantities in the second range (21-40 pairs), 21.00 for quantities in the third range (41-60 pairs), 19.00 for quantities in the fourth range (61-80 pairs), and 17.00 for quantities in the fifth range (81 or more pairs).
Step-by-step explanation: