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

Contact us at files@mathworks.com