Maximum of my own function
이전 댓글 표시
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!
댓글 수: 3
Image Analyst
2016년 10월 16일
Like you said, if you don't give a range for x, then the answer is simple: it's infinity. And what is f1'? Does the apostrophe/prime mean that that function is actually the derivative of f1 instead of f1 itself?
Piotr Grzybowski
2016년 10월 16일
Marc Jakobi
2016년 10월 16일
Are you sure you are supposed to find the maximal values and not the extrema?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Mathematics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!