文档介绍:Texts putational Science
and Engineering 6
Editors
Timothy J. Barth
Michael Griebel
David E. Keyes
Risto M. Nieminen
Dirk Roose
Tamar Schlick
Hans Petter Langtangen
APrimeronScientific
Programming with Python
2nd Edition
123
Hans Petter Langtangen
Simula Research Laboratory
Martin Linges vei 17
1325 Lysaker, Fornebu
Norway
******@
On leave from:
Department of Informatics
University of Oslo
. Box 1080 Blindern
0316 Oslo, Norway
ISSN 1611-0994
ISBN 978-3-642-18365-2 e-ISBN 978-3-642-18366-9
DOI -3-642-18366-9
Springer Heidelberg Dordrecht London New York
Library of Congress Control Number: 2011925575
Mathematics Subject Classification (2000): 26-01, 34A05, 34A30, 34A34, 39-01, 40-01, 65D15, 65D25,
65D30, 68-01, 68N01, 68N19, 68N30, 70-01, 92D25, 97-04, 97U50
© Springer-Verlag Berlin Heidelberg 2009, 2011
This work is subject to copyright. All rights are reserved, whether the whole or part of the material is
concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting,
reproduction on microfilm or in any other way, and storage in data banks. Duplication of this publication
or parts thereof is permitted only under the provisions of the German Copyright Law of September 9,
1965, in its current version, and permission for use must always be obtained from Springer. Violations are
liable to prosecution under the German Copyright Law.
The use of general descriptive names, registered names, trademarks, etc. in this publication does not imply,
even in the absence of a specific statement, that such names are exempt from the relevant protective laws
and regulations and therefore free for general use.
Cover design: deblik, Berlin
Printed on acid-free paper
Springer is part of Springer Science+Business Media ()
Preface
The aim of this book is to puter programming using examples
from mathematics and the natural sciences. We have chosen to use the