Thread Subject: 3*x''+(10^-3)*x'+123*x=2*cos(3*t); x=x(t);initial conditions x(0)=0 and x'(0)=0

Subject: 3*x''+(10^-3)*x'+123*x=2*cos(3*t); x=x(t);initial conditions x(0)=0 and x'(0)=0

From: Carlo Castellucci

Date: 8 Dec, 2008 20:14:02

Message: 1 of 1

Hi everybody,

I need to solve the Cauchy problem written in the title box ( I paste it here again ):

3*x''+(10^-3)*x'+123*x=2*cos(3*t); x=x(t);initial conditions x(0)=0 and x'(0)=0.

I tried with Runge-Kutta method and it seems to work as the solution x(t) is the same that I can get solving the equation by myself.

I need to know if it would be better another method (eventually multistep one) and why it would be better (please don't just tell me 'cause it's faster or so...I need to know the why too).

As last thing I need to estimate the error committed with Runge-Kutta and the other method you are going to suggest to me.

Here is the list of the functions I have got and I can use:

1.ONE STEP: Euler,Heun,Runge-Kutta
2.MULTI STEP: Adams_Bashforth, MlineHamming and MlineSimpson

Please,I need urgent help.

I hope you will answer soon,just contact me directly at xxcarlo_rossixx@yahoo.it

Thank you all, Carlo

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
homework Adam 8 Dec, 2008 15:40:41
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com