[问题] r 积分回传数值值

楼主: loser113 (洨大鲁蛇ㄍ)   2014-09-12 01:25:09
> integrand <- function(x) {1/((x+1)*sqrt(x))}
> a=integrate(integrand, lower = 0, upper = Inf);a
3.141593 with absolute error < 2.7e-05
我只要a=3.141593 还需要多加什么
作者: Wush978 (拒看低质媒体)   2014-09-12 06:48:00
a$value
楼主: loser113 (洨大鲁蛇ㄍ)   2014-09-12 08:39:00
thanks

Links booklink

Contact Us: admin [ a t ] ucptt.com