I am solving the wave equation with initial position and velocity function:
Remove[y]
equetions =
{D[y[x, t], {t, 2}] == (c^2)*D[y[x, t], {x, 2}],
y[x, 0] == Sin[x], Derivative[0, 1][y][x, 0] == Sin[x]}
NDSolve[equetions, {t, 0, 100}, {x, -100, 100}]
I am getting the following message:
NDSolve::underdet: There are more dependent variables, {y[x,0],y[x,t],(y^(0,1))[x,0],(y^(0,2))[x,t]}, than equations, so the system is underdetermined. >>