简体   繁体   English

密度函数的一阶和二阶(数值)导数?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM