mirror of
https://github.com/eddyem/lectures.git
synced 2025-12-06 10:45:09 +03:00
5 lines
137 B
Mathematica
5 lines
137 B
Mathematica
function F = F(x)
|
|
F(1) = exp(-exp(-(x(1)+x(2)))) - x(2)*(1+x(1).^2);
|
|
F(2) = x(1).*cos(x(2)) + x(2).*sin(x(1)) - 0.5;
|
|
endfunction
|