Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Snippets
$4
Public
Authored
Feb 20, 2021
by
0081da5a7e0846295482f15d10fe61bd
EXERCIES
Edited
Feb 09, 2026
Embed
Embed
Share
5 Bytes
👍
0
👎
0
0438220eeae94d5e153d36dc28933b71
@0438220eeae94d5e153d36dc28933b71
·
Feb 09, 2026
set.seed(42) N = 100000 x = runif(N) theta = pi/2*runif(N) 2/(mean(x+sin(theta)>1))
set.seed(42) N = 100000 x = runif(N) theta = pi/2*runif(N) 2/(mean(x+sin(theta)>1))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment