Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Donna Young would like to forecast the daily demand for pizza crust using the algorithm below. Apply the algorithm to the given inputs in the

Donna Young would like to forecast the daily demand for pizza crust using the algorithm below. Apply the algorithm to the given inputs in the Table.

Inputs:

  • C = an array of N integer variables
  • N = the number of integer variables in array C
  • v(i) = integer variable representing sales of the day i in the array

Algorithm:

  • step 1: set min = 100, i = 1, and forecast = 0.
  • step 2: select pizza crust sales of day i from the list.
  • step 3: if v(i) < min, then set min = v(i). If v(i) > min, min = min.
  • step 4: if i < N, then set i = i + 1 and go to step 2, otherwise go the step 5.
  • step 5: forecast = (min + v(i)).
  • end
  • Output: forecast

Table. Daily pizza crust demand (in units) for the last 7 days

Day (i) 1 2 3 4 5 6 7
Pizza crust demand (in units) (v(i)) 87 87 99 77 88 65 96

If the algorithm is applied to the data array in Table, what would be the output "forecast" Donna Young will get at the end of the algorithm?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Supply Chain Management A Logistics Perspective

Authors: John coyle, John Langley, Robert Novack, Brain Gibson

9th edition

9780538479189, 9781285400945, 538479191, 538479183, 1285400941, 978-0538479196

More Books

Students also viewed these General Management questions

Question

When should you avoid using exhaust brake select all that apply

Answered: 1 week ago