Skip to content

Commit 67f0050

Browse files
Chap 11
1 parent d9b41a6 commit 67f0050

4 files changed

Lines changed: 2031 additions & 0 deletions

File tree

OlinToMars.ipynb

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": null,
6+
"metadata": {
7+
"collapsed": true
8+
},
9+
"outputs": [],
10+
"source": [
11+
"import math\n",
12+
"\n",
13+
"g = -9.8\n",
14+
"lsp = 32 #fix\n",
15+
"mv0 = 1000 #fix\n",
16+
"mv\n",
17+
"tb = \n",
18+
"mf\n",
19+
"\n",
20+
"\n",
21+
"def mvf(t):\n",
22+
" return mr + (t - t0) * mf \n",
23+
"\n",
24+
"\n",
25+
"v = g * (lsp*math.log(mv0 / (mv0 - mvf)) * dt)\n",
26+
"h = g * -tb * lsp * math.log(mv0/mvf) "
27+
]
28+
}
29+
],
30+
"metadata": {
31+
"kernelspec": {
32+
"display_name": "Python 3",
33+
"language": "python",
34+
"name": "python3"
35+
},
36+
"language_info": {
37+
"codemirror_mode": {
38+
"name": "ipython",
39+
"version": 3
40+
},
41+
"file_extension": ".py",
42+
"mimetype": "text/x-python",
43+
"name": "python",
44+
"nbconvert_exporter": "python",
45+
"pygments_lexer": "ipython3",
46+
"version": "3.6.1"
47+
}
48+
},
49+
"nbformat": 4,
50+
"nbformat_minor": 2
51+
}

code/chap11-fig01.pdf

16.1 KB
Binary file not shown.

code/chap11-fig02.pdf

16.5 KB
Binary file not shown.

0 commit comments

Comments
 (0)