Hi, I am trying to solve an ODE, however, the initial conditions are not known. From PDE examples, which are quite different, I see that some examples have initial conditions given by functions, and not by constants, i.e::(adsbygoogle = window.adsbygoogle || []).push({});

y(0) = x^2

I may have not modeled the problem correctly yet, however, I see that the inhomogenous ODE should have a condition which is as such:

y(0) = cos(x)

MATLAB can't do it. Is it something that can't be done at all?

Thanks!

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# I Initial conditions for an ODE

Have something to add?

**Physics Forums | Science Articles, Homework Help, Discussion**