Using fzero with fsolve to maximize profits

preview_player
Показать описание
In this screencast, we take another look at a previous example where we maximized profits (Ex 11.2), but this time, instead of using just the graphical method to eyeball where the maximum was, we are using fzero, together with fsolve, to make this happen. The strategy is to call fsolve from within the function that fzero is calling.
Рекомендации по теме