Group Abstract Group Abstract

Message Boards Message Boards

Solve 2nd order differential equation?

Posted 10 years ago

I have been trying to Solve a system of 8 second order differential equations converted to a matrix representation. Its has been running for 7 days and is still running. Should I wait for it solve or should I abort as it could be due to some error. I will attach the screen captures here for reference. I am in need of the general solution. Please help me out.Image shows the Matrices of the coefficients of the second order differential equation to be solved

5 Replies

Note to Moderator: This Thread should be added to the SystemModeler Group.

I put together a quick example to get you started. I used the translational blocks -- they do not animate. If you want an animating example I can quickly put one together for you. The force is turned on at 2 seconds. By modifying this model you should be able to do whatever you want. Note-- I made the second mass always two times the first mass (but you can change this to a number or an equation). The attached file is the full model for SystemModeler. Here is a picture of what I did:

enter image description here

The simulation results:

enter image description here

Attachments:
POSTED BY: Neil Singer
POSTED BY: Neil Singer

I would recommend solving it numerically with NDsolve. Is there a reason you need an analytical solution? I doubt that you will ever get one given the complexity of the equations. Numerically your equations will be easy to solve.

POSTED BY: Neil Singer
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard