# euler method with julia1.0

**URL:** <https://discourse.julialang.org/t/euler-method-with-julia1-0/20494>\
**Category:** General Usage\
**Tags:** question\
**Created:** [February 6, 2019, 6:53am UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494 "2019-02-06T06:53:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![11111](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11111](https://discourse.julialang.org/u/11111)\
**Post date:** [February 6, 2019, 6:53am UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494/1 "2019-02-06T06:53:10Z")

</div>

Hi, i’m a beginner at julialang.  
I try to use euler method with julia1.0. But the following error occured.

 ![%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%BC%E3%83%B3%E3%82%B7%E3%83%A7%E3%83%83%E3%83%88%20(98)](https://global.discourse-cdn.com/julialang/original/3X/7/5/754031578bd0a0681130646d7ff3138a81f24726.png)

Could you tell me the code for the resolution solution?

---

<div class="post-metadata">

**Author:** ![dpsanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dpsanders/32/3573_2.png) [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Post date:** [February 6, 2019, 6:53am UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494/2 "2019-02-06T06:53:49Z")

</div>

Please post the code and not a screenshot.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [February 6, 2019, 7:17am UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494/3 "2019-02-06T07:17:31Z")

</div>

And please try to avoid posting the same thing twice.

xref: [euler method with julia1.0](https://discourse.julialang.org/t/euler-method-with-julia1-0/20495)

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [February 6, 2019, 7:20am UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494/4 "2019-02-06T07:20:27Z")

</div>

As for the error message, you are “hitting” [REPL and for loops (scope behavior change)](https://discourse.julialang.org/t/repl-and-for-loops-scope-behavior-change/13514).

---

<div class="post-metadata">

**Author:** ![11111](https://avatars.discourse-cdn.com/v4/letter/1/73ab20/32.png) [@11111](https://discourse.julialang.org/u/11111)\
**Post date:** [March 16, 2019, 2:37pm UTC](https://discourse.julialang.org/t/euler-method-with-julia1-0/20494/5 "2019-03-16T14:37:10Z")

</div>

i’m sorry for the late response.  
It went well.  
Thanks!!
