I want to solve a DE in x(t) where the RHS of the equation is a random number that changes with time. For example:
x''(t) + 10 x(t) = f(t)
where f(1)=1, f(2)= 6, f(3)= -2...etc.
I tried to use ran() but it solves it for a fixed random number, while I want it to be time dependent .
Is there a way I can do that?