Re: 2nd order differential equation help

*To*: mathgroup at smc.vnet.net*Subject*: [mg31504] Re: [mg31475] 2nd order differential equation help*From*: Tomas Garza <tgarza01 at prodigy.net.mx>*Date*: Thu, 8 Nov 2001 04:55:12 -0500 (EST)*References*: <200111071030.FAA26673@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

To start with, what do you mean by > eqn1[t_] = g'[t] + 0.1g[t] + ?g[t] == 0 in your message below? Tomas Garza Mexico City ----- Original Message ----- From: "Peter Dimitriou" <peterangelo at mindspring.com> To: mathgroup at smc.vnet.net Subject: [mg31504] [mg31475] 2nd order differential equation help > Exactly how do I get this into a form Mathamatica will accept? It has > been a number of years since enrolling in diffeq, however I think I am > close to correct but would appreciate help. > > the problem; > > Solve the differential equation: > > g''(t) + 0.1 g'(t) + g(t) = 0 > > where the previous equation uses conventional mathematical notation. > You must transfrom the equation and initial conditions into > Mathematica syntax. > > for t between 0 and 10 Pi > > subject to the initial conditions > g(0) = 0, > g'(0) = 1 > > Plot your results. > > My attempt is as follows: > > > Clear[g] > > Clear[eqn] > > eqn[t_] = g''[t] + 0.1g'[t] + g[t] == 0 > > > Clear[eqn1] > > eqn1[t_] = g'[t] + 0.1g[t] + ?g[t] == 0 > > solution = DSolve[{eqn[t], eqn1[t]}, g'[0] == 1, > g[0] == 0, g[t], {t, 0, 10\[Pi]}] > > DSolve::dsvar: g[0]==0 cannot be used as a variable. > > what am I dont doing right? any suggestions helpful >

**References**:**2nd order differential equation help***From:*peterangelo@mindspring.com (Peter Dimitriou)