- #1
leonmate
- 84
- 1
Homework Statement
[/B]
Write the second-order equation for the harmonic oscillator,
y ̈ + ω2y = 0
as two linear ordinary differential equations. What is the analytic solution y(t) if ω = 2π, y(0) = 1 and y′(0) = 0?
Homework Equations
The Attempt at a Solution
So, I have to write some python code to solve this and a series of other questions but I'm falling at the first hundle! :(
What does it mean, as two linear ordinary differential equations, how do you do that? I've been searching the internet for hours and I can't find what I'm looking for. I watched about an hour of khan academy second-order equations.
Could someone help me out, I can do the coding I just don't know what to put in!