Cost of flexible and distance learning