Solving a 2nd order differential equation - Physics Forums: Physics, Astronomy, Math, & Philosophy Forums!
Physics, Astronomy, Math, and Philosophy Forums.
Ahoy! Sail on by The Jolly Roger Great Books and Kill Devil Hill Great Books Forums
 

Go Back   Physics Forums: Physics, Astronomy, Math, & Philosophy Forums! > Differential Equations
User Name
Password
Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2008, 07:29 PM
ben489 ben489 is offline
Junior Member
 
Join Date: Oct 2008
Posts: 1
Default Solving a 2nd order differential equation

Could anyone help me solve this differential equation:

my'' = -mg -ky'

with initial conditions:

y(0)=0
y'(0)=vo=usin(alpha)

If possible could you go through this step by step as i think i have made a minor error along the way...

Thanks
Reply With Quote
  #2  
Old 10-21-2008, 02:52 PM
HallsofIvy HallsofIvy is offline
Senior Member
 
Join Date: Oct 2006
Posts: 464
Default

Quote:
Originally Posted by ben489 View Post
Could anyone help me solve this differential equation:

my'' = -mg -ky'

with initial conditions:

y(0)=0
y'(0)=vo=usin(alpha)

If possible could you go through this step by step as i think i have made a minor error along the way...

Thanks
Let x= y' and that equation becomes mx'= -mg-kx, a separable first order equation. dx/(mg+kx)= -1/m dt so, integrating, (1/k)ln(mg+ kx)= -t/m+ C or ln(mg+kx)= -kt/m+ kC. Taking the exponential of both sides, mg+ kx= C' e^(-kt/m) where C' is e^C.

Now x= y'= C"e^(-kt/m)- mg/k. Since y'(0)= C"- mg/k= v0, C"= (v0+ mg/k) and y'= (v0+mg/k)e^(-kt/m)- mg/k. Integrating again, y= (-m/k)(v0+ mg/k)e^(-kt/m)- mgt/k+ C= -(mv0/k+ m^2g/k^2)e^(-kt/m)- mgt/k+ C.

Since y(0)= -(mv0/k+ m^2g/k^2)+ C= 0, C= mv0/k+ m^2g/k^2.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 04:58 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
(c) Physics Forums: Physics, Astronomy, Math, & Philosophy Forums

Other Great Books / Classics Forums Of Interest
Jolly Roger Great Books Forums | ShakespeareForums.com | ClassicalMusicForums.com
AmericanHistoryForums.com | ClassicStorytelling.com | ClassicalPoetryForums.com | Bible Forums