如何使用Wolfram Mathematica程序在给定间隔内找到函数的绝对最小值和最大值?

时间:2018-03-17 21:41:34

标签: wolfram-mathematica derivative calculus

我知道如何找到衍生物,但我不知道如何使用mathematica来找到绝对值。并与图表和第二衍生物进行比较? [-1,8]

上的f(x)= 3x ^(2/3)-2x +1

1 个答案:

答案 0 :(得分:0)

这是你之后的事吗?

f[x_] := 3 x^(2/3) - 2 x + 1
max = First@FindMaximum[{f[x], -1 <= x <= 8}, x];
min = First@FindMinimum[{f[x], -1 <= x <= 8}, x];
Plot[{f[x], f''[x], max, min}, {x, -1, 8},
 PlotLegends -> "Expressions"]

enter image description here