Skip to content

Commit

Permalink
Changed default number of trials to 100.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor-96 committed Oct 7, 2023
1 parent 99c284c commit 8791d4b
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 8791d4b

Please sign in to comment.