This is a Matlab Assignment Two computers share a single pri
This is a Matlab Assignment
Two computers share a single printer. During a one hour period, at any moment and independently both computers will start a printing job (only one each computer). Each printing job last 20 minutes. A collision occurs if any of the two computers find the printer busy at the moment it sends its printing job. If there is a collision, the job that arrives the latest goes directly to the printing quit and waits until the previous job finishes. Use a MATLAB simulation to calculate: 1) the probability of a collision, 2) the mean waiting time, and 3) the waiting time in the situations there is a collision.Solution
Ans: To share a usd or serial printer over network we can use an app called flexihub.
step by step guide:
your printer will be redirected to the machine,and you can use it as if it were connected physically to the computer.
pros:
cons:
free version supports sharing for only 20minutes
The software has to be installed on all of your machines
1) probability of a collision:
N-1/N x N-2/N x...x N-(K-2)/N x N-(k-1)/N
The mean waiting time, and:
calculation.
3) the waiting time in the situations there is a collision:
