Solve:
y″−ω2y=0,y(0)=1,y′(0)=1Assuming ω≠0
Like so:
y=Aeωx+Be−ωxy′=ωAeωx−ωBe−ωxy″=ω2y
Now use your initial conditions to find A and B.