I have a definite integral defined by

where is a continuous function of a variable , and and are known numbers. I want to minimize , that is I want to find a continuous function that makes minimum. Ideally I would differentiate it and equate to zero, but because is too complicated to be obtained and then differentiated analytically, I would like to know if there is a numeric technique or any other technique by which this problem can be solved.