[問題] 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