Menu

(Solved) : Parking Hours Used Three People Vancouver Airport 10 Days Given 40 15 60 075 120 720 00 0 Q26379863 . . .

The parking hours to be used by three people at Vancouver Airport over 10 days are given below. 4.0 1.5 6.0 0.75 12.0 72.0 0.0 0.04.0 2.75 48.0 0.05.5 1.00 3.00 2.00 1.5 2.5 4.0 1.5 1.0 1.5 5.0 8.01.5 2.0 1.5 1.75 12.0 2.0 The rate structure for parking is: Short-term parking: First 30 minutes S2.50 and each additional 15 minutes or fraction thereof is S 1.00. Daily maximum is S 25.00. Long-term parking: First 3 hours S 10.00 and each additional hour or fraction thereof is $3.00. Daily maximum is $ 18.00. Weekly maximum is $ 80.00. Write a MATLAB code to decide which parking lot (short-term or long-term) should be used each time to minimize the cost and calculate the total minimum parking bill over the 10 days for each person. (30 marks)

Please show all steps and comments. Thank you!

The parking hours to be used by three people at Vancouver Airport over 10 days are given below. 4.0 1.5 6.0 0.75 12.0 72.0 0.0 0.04.0 2.75 48.0 0.05.5 1.00 3.00 2.00 1.5 2.5 4.0 1.5 1.0 1.5 5.0 8.01.5 2.0 1.5 1.75 12.0 2.0 The rate structure for parking is: Short-term parking: First 30 minutes S2.50 and each additional 15 minutes or fraction thereof is S 1.00. Daily maximum is S 25.00. Long-term parking: First 3 hours S 10.00 and each additional hour or fraction thereof is $3.00. Daily maximum is $ 18.00. Weekly maximum is $ 80.00. Write a MATLAB code to decide which parking lot (short-term or long-term) should be used each time to minimize the cost and calculate the total minimum parking bill over the 10 days for each person. (30 marks) Show transcribed image text

Expert Answer


Answer to Parking Hours Used Three People Vancouver Airport 10 Days Given 40 15 60 075 120 720 00 0 Q26379863 . . .

OR