[英]First and second (numerical) derivative of density function?
什么是计算F“”(x)和F“”“(x)的一范围内,如果仅F”(x)被称为x的值的最精确的方法R
例如采取F至是高斯) ?
You could use the D()
function to compute F''(x) if you know F'(x).如果您知道 F'(x),您可以使用
D()
函数来计算 F''(x)。 For example if F'(x) is 4*x^3
then to calculate the second derivative (F''(x)) you enter:例如,如果 F'(x) 是
4*x^3
那么要计算二阶导数 (F''(x)),您可以输入:
> D(expression(4*x^3), 'x')
4 * (3 * x^2)
To calculate F'''(x) you do the same thing with the given output ( 4 * (3 * x^2)
).要计算 F'''(x),您对给定的输出(
4 * (3 * x^2)
)执行相同的操作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.