simulate a 4*4 input-buffered switch with the first-in-first-out(FIFO) scheme and find the saturation throughput. Assume each packet is equally likely to be destinated for any output.
how to write a programming code to calculate saturation throughput?