Created using Colaboratory

This commit is contained in:
udlbook
2023-11-25 17:01:43 +00:00
parent 362d8838e8
commit 58a150843f

View File

@@ -4,7 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyNNnZyVCX9glFJGIC8BwtVT",
"authorship_tag": "ABX9TyMrWYwQrwgJvDza1vhYK9WQ",
"include_colab_link": true
},
"kernelspec": {
@@ -139,7 +139,7 @@
"source": [
"def volume_of_hypersphere(diameter, dimensions):\n",
" # Formula given in Problem 8.7 of the notes\n",
" # You will need sci.special.gamma()\n",
" # You will need sci.gamma()\n",
" # Check out: https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.gamma.html\n",
" # Also use this value for pi\n",
" pi = np.pi\n",