The Euler method: Example from book … my Problem: scopes
At the moment I have some trouble with Julia and the scopes.
It is a short example from a book: Ferreira Introduction to Computational Physics with examples in Julia, 2016 (page 46, The Euler method).
The code: