I am trying to make a plot3d but no luck
sol[x_] :=
NDSolve[{2.5 - (0.25 + 0.5*I)*w[y] + (1. + 0.1*I)*w''[y] == 0,
w[1 + 0.1*Sin[0.1*x]] == 0, w[-1 - 0.1*Sin[0.1*x]] == 0},
w, {y, -1 - 0.1*Sin[0.1*x], 1 + 0.1*Sin[0.1*x]}]
I tried with ParametricNDSolveValue and setdelay but no luck