-
-
Save danielballan/6e5cf606846118dcdd65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"T = 3.4e6\n", | |
"L = 6.5\n", | |
"\n", | |
"def x(t):\n", | |
" \"years ago -> wall position\"\n", | |
" return L * np.log(1 + t)/np.log(1 + T)\n", | |
"\n", | |
"def y(t):\n", | |
" \"year (C.E) -> wall position\"\n", | |
" return x(2016 - t)\n", | |
"\n", | |
"def n(x):\n", | |
" return 2016 - t(x)" | |
] | |
} | |
], | |
"metadata": { | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.5.1" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment