On Thursday, February 23, 2012 12:57:39 PM David Craig wrote:
> Hi,
> I am trying to write some code that will solve the 2D wave equation by
> the finite difference method, but it just returns an array full of zeros
> and NaN's. Not sure where I am going wrong, the code is attached so if
> could so
With matplotlib, that may be a bit slow, but you could save each
figure to disk and then use some tool to put them into a movie (mpeg, wmv,
animated gif, anything) if this is something you want to present to other
people.
Evert
> thanks,
> D
>
> ---- Original Message -
. Anyone know the best way to go about this?
thanks,
D
Original Message
Subject:Re: [Tutor] Solve wave equation
Date: Thu, 23 Feb 2012 15:24:45 +
From: David Craig
To: tutor@python.org
Hooray it works,
thanks
On 02/23/2012 01:39 PM, Ken Oliver wrote:
Do you
Hooray it works,
thanks
On 02/23/2012 01:39 PM, Ken Oliver wrote:
Do you really want dt = 1**-4 or would 10**-4 be better
-Original Message-
From: David Craig
Sent: Feb 23, 2012 7:57 AM
To: tutor@python.org
Subject: [Tutor] Solve wave equation
Hi,
I am trying to write some code that
David Craig wrote:
Hi,
I am trying to write some code that will solve the 2D wave equation by
the finite difference method, but it just returns an array full of zeros
and NaN's. Not sure where I am going wrong, the code is attached so if
could someone point me in the right direction I'd apprec
Hi,
I am trying to write some code that will solve the 2D wave equation by
the finite difference method, but it just returns an array full of zeros
and NaN's. Not sure where I am going wrong, the code is attached so if
could someone point me in the right direction I'd appreciate this.
Thanks
D