Mathematical Solution for a Data Processing System