Skip to content

Commit

Permalink
Change name of exercise 3
Browse files Browse the repository at this point in the history
  • Loading branch information
swt30 committed Mar 16, 2015
1 parent 4a6363d commit 8bcf028
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions exercise-3-types.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
}
},
"source": [
"# Exercise 3: Using types to write a simple N-body code\n",
"# Exercise 3: Using types - a simple N-body in 80 lines\n",
"\n",
"Julia makes it easy to write your own types, which are similar to structs in C-family languages. Multiple dispatch adds a powerful way to handle tasks like default values or different behaviours really easily.\n",
"\n",
Expand All @@ -22,7 +22,11 @@
"* write a movement function to move the bodies as necessary\n",
"* write a force function to give an inverse square law force between bodies\n",
"* write an acceleration function to apply gravity to the bodies\n",
"* write a step function to bring it all together (acceleration and movement)"
"* write a step function to bring it all together (acceleration and movement)\n",
"\n",
"Extras:\n",
"* write plot functions for individual points and for the whole system\n",
"* plot it and watch the carnage"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion julia-tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3090,7 +3090,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# [Example 3: Using types in a simple N-body code](exercise-3-types.ipynb)"
"# [Example 3: Using types - a simple N-body in 80 lines](exercise-3-types.ipynb)"
]
},
{
Expand Down

0 comments on commit 8bcf028

Please sign in to comment.