[Tutor] Solve wave equation

David Craig dcdavemail at gmail.com
Thu Feb 23 13:57:39 CET 2012

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.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Wave.py
URL: <http://mail.python.org/pipermail/tutor/attachments/20120223/9020f40e/attachment.ksh>

More information about the Tutor mailing list