MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

How to solve this differential equation? (harmonic oscillator)

I have the differential equation: 
x'' + w^2*x(t) = 0.

I don't know how to solve it in Mathematica. I know that the answer is: 
A * cos( w*t + phi )

.but how I can get it in Mathematica? Can anyone help me with that?

  • Prev by Date: Re: If without else
  • Next by Date: Re: Solving a non-linear system to find coefficients in Runge-Kutta method
  • Previous by thread: Re: Travelling Salesman Problem with LinearProgramming
  • Next by thread: Integrals of cubic polynomials to arbitrary powers