 
 
 
 
 
 
Re: How to solve this differential equation? (harmonic
- To: mathgroup at smc.vnet.net
- Subject: [mg113076] Re: How to solve this differential equation? (harmonic
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Tue, 12 Oct 2010 13:48:24 -0400 (EDT)
Hi,
check the function DSolve
In[2]:= DSolve[x''[t] + w^2*x[t] == 0, x, t]
Out[2]= {{x -> Function[{t}, C[1] Cos[t w] + C[2] Sin[t w]]}}
Cheers
Patrick
On Tue, 2010-10-12 at 04:24 -0400, MathProg wrote:
> 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?
> 

