Second order differential equation in Julia

Viewed 1629

I'm new to Julia programming I managed to solve some 1st order ODE, but when I thought to move to the second order I don't know how to use the solver to implement to the required equation.

I want to solve this equation

y" + y = 0

with initial conditions

y(0) = 3
y'(0) = -0.5

How can I do this?

1 Answers
Related