Optimization. Find two positive numbers whose Product is 100 and whose Sum is a Minimum.

preview_player
Показать описание
Thanks for watching!
JaberTime
Рекомендации по теме
Комментарии
Автор

Alternatively, you can just do the sqrt(100), as by definition, the sum is minimized by the smallest two factors (which is the sqrt).

ptarcher
Автор

f(x) = x +100/x; f'(x) = 1 -100/x^2 ... which is zero when x=10 ;
f"(x) = 200/x^3 ; which >0 for x>0 ... so f() has a minimum at x=10.

No "sampling" of f() or f'() near 10 is necessary (or even *fun*).
So unless producing a graph was part of the problem ... why bother?

Steven-vl