Skip to content

Commit

Permalink
Merge pull request #312 from osscar-org/MC_for_pi
Browse files Browse the repository at this point in the history
Changed default number of trials to 100.
  • Loading branch information
Taylor-96 authored Oct 9, 2023
2 parents 4f2c566 + 1be5d3c commit 2d5aadb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions notebook/statistical-mechanics/monte_carlo_pi.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"\n",
"run_button = Button(description='Throw')\n",
"clear_button = Button(description='Clear')\n",
"num_coin = IntSlider(value=1, min=1, max=200, description='Number of coins:', style={'description_width': 'initial'})\n",
"num_coin = IntSlider(value=100, min=1, max=200, description='Number of coins:', style={'description_width': 'initial'})\n",
"use_quasi = Checkbox(value=False, description='Quasi-Monte Carlo')\n",
"\n",
"label1 = HTML(value = f\"<b><font color='blue' size=3>Number of inside coins:</b>\")\n",
Expand Down Expand Up @@ -263,7 +263,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.7"
"version": "3.10.12"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 2d5aadb

Please sign in to comment.