Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Second order differential equation

  1. Dec 1, 2015 #1
    i am given an equation which i have to solve in simulink. the equation is quite veered to me. some one help me in understanding what kind of equation it is so that i can solve it in matlab simulink.
    (2+x^2)theta'' + (2xx' +1)theta' + 9.8(xcostheta-sinthetha)-x''=T
     
  2. jcsd
  3. Dec 1, 2015 #2

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    I think this is your ODE:

    ##(2+x^2) ⋅ θ'' +(2x⋅x'+1) ⋅ θ' + 9.8 ⋅ (x\, cos(θ)-sin(θ)) - x''= T##

    Is T a constant?
    Are you given any initial conditions for x, x', θ, or θ' ?
     
  4. Dec 2, 2015 #3
    T=10 and initial condition are zero
     
  5. Dec 2, 2015 #4

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    I take it the latter means that x = x' = θ = θ' = 0.
     
  6. Dec 2, 2015 #5
    yes it is written in question that initial condition is zero
     
  7. Dec 2, 2015 #6
    (2+x2)⋅θ′′+(2x⋅x′+1)⋅θ′+9.8⋅(xcos(θ)−sin(θ))−x′′=T this equation is look like to be some kind of pendulum. if we use Laplace transformation what would happen to x'' and x'.as they must be represent some angular velocity component.
     
  8. Dec 2, 2015 #7

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    Since this ODE has mixed terms which are being differentiated and multiplied together, I'm not sure if you could use a LT that you would be able to obtain a closed-form solution.

    Right now, the only solution I see is expressing this ODE as a system of first order ODEs and then using a Runge-Kutta numerical technique.

    By the way, do x and θ depend on a third parameter, like time?
     
  9. Dec 2, 2015 #8
     

    Attached Files:

    • 1.PNG
      1.PNG
      File size:
      19.9 KB
      Views:
      49
  10. Dec 2, 2015 #9
    here is the snapshot of original problem i have to plot it on simulink. i am confused what to do with x and x' . integrator block of simulink use Runge-Kutta numerical technique.
     
  11. Dec 2, 2015 #10

    SteamKing

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper

    It's not clear why you are confused.

    x and x' have initial conditions just like θ and θ'. You use these initial conditions as a starting point for solving numerically the system of first-order ODEs you obtain after making appropriate substitutions for x" and θ".
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Second order differential equation
Loading...