Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
Download
195 views
ubuntu2404

Monte Carlo Integration:
  Integrand: exp(-x squared)*sin(x) on [0, 2]
  Analytical result: 0.421164
  Sample sizes: [100, 500, 1000, 5000, 10000, 50000]

Random Walk Simulation:
  Steps per walk: 10000
  Number of walks: 100
  Mean displacement: 124.1
  Theoretical RMS: 100.0
  Displacement std: 58.9