David Radcliffe has pointed out that this and more general problems are discussed at a page at the mathsoft.com site.
Best regards, Alex
Copyright © 1996-2009 Alexander Bogomolny