# How to draw Stationary Solution for functions 1/4 t^{2} and - 1/4 t^{2} from y' = \\sqrt{|y|}

**URL:** https://discourse.julialang.org/t/how-to-draw-stationary-solution-for-functions-1-4-t-2-and-1-4-t-2-from-y-sqrt-y/87561
**Category:** General Usage
**Tags:** plotting, diffeq
**Created:** [September 21, 2022, 9:41am UTC](https://discourse.julialang.org/t/how-to-draw-stationary-solution-for-functions-1-4-t-2-and-1-4-t-2-from-y-sqrt-y/87561 "2022-09-21T09:41:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)
#### Post date: [September 21, 2022, 9:41am UTC](https://discourse.julialang.org/t/how-to-draw-stationary-solution-for-functions-1-4-t-2-and-1-4-t-2-from-y-sqrt-y/87561/1 "2022-09-21T09:41:27Z")

</div>

Hi all,

this is a simple question, I wonder how to plot the stationary solution

with

y' = \sqrt{|y|}

y(0) = 0

The lecturer draws this, and I want to know how to plot it with Julia

![Capture d’écran_2022-09-21_16-37-46](https://global.discourse-cdn.com/julialang/original/3X/2/1/21cb41868b6364966c498be7b59b3ebbc1102020.png)

---

<div class="post-metadata">

### Author: ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)
#### Post date: [September 21, 2022, 9:44am UTC](https://discourse.julialang.org/t/how-to-draw-stationary-solution-for-functions-1-4-t-2-and-1-4-t-2-from-y-sqrt-y/87561/2 "2022-09-21T09:44:12Z")

</div>

It’s an ODE with a non-unique solution. Numerical integrators will only pull one solution, and that will be the zero solution.

---

<div class="post-metadata">

### Author: ![Freya\_the\_Goddess](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/freya_the_goddess/32/36835_2.png) [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)
#### Post date: [September 21, 2022, 9:50am UTC](https://discourse.julialang.org/t/how-to-draw-stationary-solution-for-functions-1-4-t-2-and-1-4-t-2-from-y-sqrt-y/87561/3 "2022-09-21T09:50:27Z")

</div>

I think I need to learn from the very beginning of ODE, thanks for the answer
