Skip to content

Commit

Permalink
Small changes to insolation notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
vonw committed Apr 25, 2023
1 parent 7569258 commit 935fb07
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions chapter4/Insolation.ipynb
Expand Up @@ -152,6 +152,29 @@
" return Q\n"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Declination = -0.12600714770976626\n",
"Earth distance = 148981817.36070523\n",
"Q = 300.456485702979\n"
]
}
],
"source": [
"lat = 46.7\n",
"day = 31+28+22\n",
"print('Declination = ', declination(day))\n",
"print('Earth distance = ', earth_sun_distance(day))\n",
"print('Q =', Qday_avg(lat, day))"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down

0 comments on commit 935fb07

Please sign in to comment.