checking for problem

var timeInSystem = 1 /((1 / result[0][0].avgTimeToWait) - (1 / result[1][0].avgArrivalTime)) is ok

problem in querry?