'extracting the critical point of a function in Mathematica
Let's consider the function f[x]:=x^3
To find the maximum value of this function in Mathematica, we can useFindMaximum[f[x],x]/
which displays the result{2.093608796950724*10^313, {x -> 2.75612*10^104}}.
this shows that x=2.75612*10^104 is a critical value for f(x) in some interval.
How can I extract this value of x to be used in my code further? For example, if I want to get \frac{x_0 - x}{f(x_0)}?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
