Formula to calculate the critical path in system analysis?