application/controllers/Ticketing.php
/**
     * Calculates expected waiting time of a particular customer
     * Wq = Lq / lambda.  That is Waiting time = Length of queue / mean arrival rate
     * @param $length
     * @param $arrival_rate
     * @return float
     */
Calculates expected waiting time of a particular customer
Wq = Lq / lambda.  That is Waiting time = Length of queue / mean arrival rate
@param $length
@param $arrival_rate
@return float
Calculates expected waiting time of a particular customer Wq = Lq / lambda . That is Waiting time = Length of queue / mean arrival rate @param $length @param $arrival_rate @return float
public function calculateExpectedWaitingTime($length, $arrival_rate)
    {
        $expected_waiting_time = $length / $arrival_rate;
        return $expected_waiting_time;
    }
public function calculateExpectedWaitingTime ( $ length , $ arrival_rate ) { $ expected_waiting_time = $ length / $ arrival_rate ; return $ expected_waiting_time ; }
Calculates expected waiting time of a particular customer
 Wq = Lq / lambda.
Calculates expected waiting time of a particular customer Wq = Lq / lambda .