22 A fastfood drivethroughonly restaurant is considering hir
22. A fast-food, drive-through-only restaurant is considering hiring new employees. It has been estimated that each additional employee will reduce the service time by 10%. Some data have been collected (the times are in minutes). The manager of the restaurant would like to perform a simulation analysis to see if hiring new em ployees would be beneficial. (Refer to worksheet 9.22.) a. Use the Risk Solver Platform to simulate the arrival and service time of 100 customers using the information provided above. b. Estimate the expected waiting time per cus- tomer, expected total time in the system, the time the server (drive through window) is c. Assume that one additional employee was per customer, expected total time in the longest waiting time, and the percentage of idle. hired. Recalculate the expected waiting time system, the longest waiting time, and the percentage of time a server is idle.
Solution
import java.text.DecimalFormat;
public category mathematician
zero ) // this if statement handles the initial conditions
else if ( i > zero )
scientific discipline.exp(t_k[i-1]))*(Math.sin(x_k[i-1]) );
}
System.out.println( k + \" \" + df.format(t_k[i]) + \" \" + df.format( x_k[i]) );
}
}
}
