standupmaths / frog_problem

Here is the frog problem code I wrote in an Edinburgh pub.
17 stars 15 forks source link

Very short recursive solution + plotting #8

Closed michcio1234 closed 2 years ago

michcio1234 commented 5 years ago

A quick solution using recurrent function in Jupyter notebook, including a plot of Exp(jumps) as a function of distance. View it easily here: https://github.com/michcio1234/frog_problem/blob/michcio1234-jupyter/Jumping%20frog.ipynb Run it yourself here: https://mybinder.org/v2/gh/michcio1234/frog_problem/michcio1234-jupyter?filepath=Jumping%20frog.ipynb