Fin500J Topic05 NumericalOptimization 2010
Fin500J Topic05 NumericalOptimization 2010
Finance
f '(x) = 0
f "(x)>0 x
-1
initial points 1.2 and 2
-2
presented in Topic 3.
-3
We can also solve it in
-4 Matlab.
-5 >> f=@(x) 2*cos(x)-
-6 -4 -2 0 2 4 6
x 1/5*x;
>> fzero(f,[1,2])
ans =1.4276
Storage 9 6
x2 =
(tonne) amount of
Profit (/tonne) 150 175 premium
(4) x2 6
(5) x1,x2 0