A scheduler needs to determine an order in which a set of processes will be assigned to processor. Theith process requirestiunits of time and has weightwi. For a given schedule, definethe finish time of processito be the time at which processiis completed by the processor. (Assumethat the processor starts processing the tasks at time 0.)