的投针试验计算圆周率π,编写成R模拟程序如下buffon<-function(n, l=0.8, a=1){ k<-0 theta<-runif(n,0, pi); x<-runif(n,0, ) for (i in 1:n){ if (x[i]<= l/2*sin(theta[i])) k<-k+1 } 2*l*n/(k*a)}其中 正确的是
A.
a
B.
a/2
C.
a/3
D.
a/4
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【单选题】Every possible means should be made full use of _______ the lives of the injured people in subway
A.
1. Every possible means should be made full use of _______ the lives of the injured people in subway tunnel collapse A.rescuing