3

This is a stochastic differential equation,

$$ dx(t) = -x(t)dt + e^{(-t)} dw(t)$$

I am not able to determine the next steps to solve this equation.

zhk
  • 11,939
  • 1
  • 22
  • 38

1 Answers1

7

Something like this?

procx = ItoProcess[\[DifferentialD]x[t] == 
    x[t]*\[DifferentialD]t + Exp[-t]*\[DifferentialD]w[t], 
   x[t], {x, 0}, t, {w \[Distributed] WienerProcess[]}];

datax = RandomFunction[procx, {0, 5, 0.1}, Method -> "StochasticRungeKutta"];

ListLinePlot[datax]

enter image description here

zhk
  • 11,939
  • 1
  • 22
  • 38