# How to get the data points from the following differential equation?

**URL:** <https://community.wolfram.com/t/how-to-get-the-data-points-from-the-following-differential-equation/7150>\
**Category:** Questions\
**Tags:** engineering\
**Created:** [November 9, 2015, 5:18am UTC](https://community.wolfram.com/t/how-to-get-the-data-points-from-the-following-differential-equation/7150 "2015-11-09T05:18:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![diaslg42](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diaslg42](https://community.wolfram.com/u/diaslg42)\
**Post date:** [November 9, 2015, 5:18am UTC](https://community.wolfram.com/t/how-to-get-the-data-points-from-the-following-differential-equation/7150/1 "2015-11-09T05:18:05Z")

</div>

sols = NDSolve[{x’[t] == (1/4) x[t - 15]/(1 + x[t - 15]^10) - x[t]/10, x[t /; t \<= 0] == 0.01}, x, {t, 0, 10}];

---

<div class="post-metadata">

**Author:** ![nma](https://avatars.discourse-cdn.com/v4/letter/n/b5e925/32.png) [@nma](https://community.wolfram.com/u/nma)\
**Post date:** [November 9, 2015, 6:05am UTC](https://community.wolfram.com/t/how-to-get-the-data-points-from-the-following-differential-equation/7150/2 "2015-11-09T06:05:58Z")

</div>

The result is an interpolation function. So there is no “data points”. You can use the function to generate the points you want. Interpolation function can be used as any other function. You can differentiate it, integrate it, plot it , etc…

```
ClearAll[x,t]
eq = x'[t] == (1/4) x[t - 15]/(1 + x[t - 15]^10) - x[t]/10;
sols = First@NDSolve[{eq, x[t /; t <= 0] == 0.01}, x, {t, 0, 10}];
x[1] /. sols 
   (*0.0114274*)

```

So you can `Table` command to generate points as needed.

```
    Table[{i, x[i] /. sols}, {i, 0, 10, 1}]
(*{{0, 0.01}, {1, 0.0114274}, {2, 0.012719}, {3, 0.0138877}, {4, 0.0149452}, {5,0.015902}, {6, 0.0167678}, {7, 0.0175512}, {8, 0.0182601}, {9,0.0189015}, {10, 0.0194818}}*)

```

---

<div class="post-metadata">

**Author:** ![diaslg42](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@diaslg42](https://community.wolfram.com/u/diaslg42)\
**Post date:** [November 9, 2015, 8:34am UTC](https://community.wolfram.com/t/how-to-get-the-data-points-from-the-following-differential-equation/7150/3 "2015-11-09T08:34:28Z")

</div>

Thank you very much for your response. Now if I want to find out the fft of x’[t], then?
