NDSolve::ivcon
NDSolveValue::ivcon
ParametricNDSolve::ivcon
ParametricNDSolveValue::ivcon
NDSolve`Reinitialize::ivcon
A warning message is generated because some of the initial conditions are unnecessary:
NDSolve[{x''[t] + y[t] == 0, y[t] == x[t], x[0] == 1, x'[0] == 0, x''[0] == 0, y[0] == 0, y'[0] == 0}, {x, y}, {t, 0, 1}]Get rid of the initial condition on
to resolve the first message:
NDSolve[{x''[t] + y[t] == 0, y[t] == x[t], x[0] == 1, x'[0] == 0, y[0] == 0, y'[0] == 0}, {x, y}, {t, 0, 1}]