Message Boards Message Boards

0
|
3337 Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Manipulating Limits of Tables

Posted 10 years ago
POSTED BY: Charls Mejía
2 Replies

may be

ClearAll[x, f];
f[x_] := (x - 4) (x - 8) (x);
{y, x0} = FindMaximum[f[x], {x, 0, 9}];
Show[Plot[f[x], {x, 0, 9}], Plot[f[x], {x, 0, x /. x0}, PlotStyle -> {Thick, Red}]]

enter image description here

POSTED BY: Nasser M. Abbasi
Posted 10 years ago

Almost! The graph is not as important, the important thing is the value that I want no to obtain near de critical point, for example in your reply in FindMaxium you put limits from 0 to 9 , the 0 is ok, but instead of 9 I want that the evaluation stops when f (x + dx )< f(x) , where dx is a small increment that I chose.

POSTED BY: Charls Mejía
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract