I have a question related to basic mathematics, but with Matlab solving method. Here is the question:
y = 5;
for x=0.01:100
F = 3*x + y - 2*x^2;
end
From the above iterative equation I want to find the max [F] value and its relative [x]. Is it possible to solve it through matlab solvers. Could you please help me to solve this problem?