- #1
chimath35
- 110
- 0
Homework Statement
Perform a Monte Carlo integration of:
∫ xdx/(2+3x)^2 with the bounds of 0 and 1 on the integral
You should use 10 trials of at least 100 data pairs per trial and average the result
I guess I am supposed to generate a x and y random number between 0 and 100 and if the output of
y=x/(2+3x)^2 is equal to the y ran I count it
I really only know and have been shown how to use libre calc not sure how to do this