Merge branch 'udlbook:main' into main

This commit is contained in:
Pietro Monticone
2023-11-26 11:15:50 +01:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

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",

View File

@@ -4,7 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyPXPDEQiwNw+kYhWfg4kjz6",
"authorship_tag": "ABX9TyPAKqlf9VxztHXKylyJwqe8",
"include_colab_link": true
},
"kernelspec": {
@@ -145,7 +145,7 @@
"source": [
"def volume_of_hypersphere(diameter, dimensions):\n",
" # Formula given in Problem 8.7 of the book\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",