Note: For this problem, an analytical solution does not exist, and it be necessary to solve the problem
by groping especially that to be question of convex function in other words whether her curve is in
form of U, therefore it just takes to estimate E(TC) for the values of S growing up until the cost cease
to decrease