Message Boards Message Boards

0
|
2514 Views
|
1 Reply
|
1 Total Likes
View groups...
Share
Share this post:

Unexpected result from FindMaximum?

Posted 1 year ago

Hello, I'm new to Mathematica and I want to find the positive maximum value of a function, but so far I always ended up with either a negative value or the value doesn't even show up.

Attachments:
POSTED BY: Shafa Keysa

Try:

FindMaximum[f[x], {x, 1/3}] (* With starting point 1/3*)
NMaximize[{f[x], 0 < x < 1}, x]

(*{1.09904*10^6, {x -> 0.263896}}*)
Attachments:
POSTED BY: Mariusz Iwaniuk
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