Using matlab find maximal values of functions f1 and f2 given by following formulas:
f1'(x) = 5x + 2
f2'(x) = 6x^2 – 3
f1(0) = f2(0) = 100
From my point of view there is of course nothing to use Matlab, both functions f1 and f2 goes to infinity of course but my teacher gave me that exercise.
I tried to solve this with "sym" "symfun" classes, I can count integrals deviratives, but how to get MAX of function on range (-inf, inf)?
Or maybe I've understood exercise bad? Hope for small help, thx for yout time!
Best Answer