Not to build anything .its just a task
Budget: ₹600 – ₹1,500 INR
Items ordered from an e-commers website will be shipped from the store to a hub,
where it is dropped off and picked up by another truck,
who delivers it to the final destination
The hub has two trucks coming and picking up all the available shipments (no limit in loading space).
The first truck always arrives on the hour (1:00, 2:00, 3:00, … ).
The second truck arrives x minutes after the hour where x is some uniform random number between 0 and 60 (1:00 + x, 2:00 +x, 3:00 + x, …).
Let’s assume that a shipment is dropped off at the hub at a uniformly random time (i.e. whenever).
What is the average time it will wait at the hub before getting picked up?
Write a program that computes the average waiting time using a simulation.
where it is dropped off and picked up by another truck,
who delivers it to the final destination
The hub has two trucks coming and picking up all the available shipments (no limit in loading space).
The first truck always arrives on the hour (1:00, 2:00, 3:00, … ).
The second truck arrives x minutes after the hour where x is some uniform random number between 0 and 60 (1:00 + x, 2:00 +x, 3:00 + x, …).
Let’s assume that a shipment is dropped off at the hub at a uniformly random time (i.e. whenever).
What is the average time it will wait at the hub before getting picked up?
Write a program that computes the average waiting time using a simulation.