Results 1 to 4 of 4

Math Help - MatLab: Non-linear differential equations

  1. #1
    Newbie
    Joined
    Jun 2010
    From
    Clemson
    Posts
    2

    MatLab: Non-linear differential equations

    Hello everybody,

    I am trying to solve the second order non-linear differential eq-n in Matlab:

    (x+a)d2x/dt2+(dx/dt)^2+x*dx/dt=b-x,

    where a and b are constants and x(0)=0 and dx/dt(0)=0. dsolve did not help. Any guesses how to solve it? Do really appreciate any help!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    5
    Awards
    2
    Do you need an exact solution, or will a numerical solution work fine? If the numerical works fine, try ode23 in MATLAB.
    Follow Math Help Forum on Facebook and Google+

  3. #3
    Newbie
    Joined
    Jun 2010
    From
    Clemson
    Posts
    2

    Thank You!

    Quote Originally Posted by Ackbeet View Post
    Do you need an exact solution, or will a numerical solution work fine? If the numerical works fine, try ode23 in MATLAB.
    Thank you! It worked with ode45.
    Follow Math Help Forum on Facebook and Google+

  4. #4
    A Plied Mathematician
    Joined
    Jun 2010
    From
    CT, USA
    Posts
    6,318
    Thanks
    5
    Awards
    2
    You're welcome. I'm assuming ode45 is using a higher order method than ode23. Have a good one!
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Matlab-Linear Differential Equation
    Posted in the Calculus Forum
    Replies: 0
    Last Post: March 22nd 2010, 12:12 PM
  2. linear equations in matlab
    Posted in the Math Software Forum
    Replies: 8
    Last Post: December 7th 2009, 11:32 AM
  3. Matlab differential equations
    Posted in the Math Software Forum
    Replies: 20
    Last Post: April 11th 2009, 04:06 AM
  4. Replies: 1
    Last Post: May 15th 2008, 09:23 PM
  5. Linear equations and matlab
    Posted in the Math Software Forum
    Replies: 1
    Last Post: January 28th 2008, 12:40 AM

Search Tags


/mathhelpforum @mathhelpforum