A Primer on Scientific Programming with Python

Author: Hans Petter Langtangen

Publisher: Springer

ISBN: 3662498871

Category: Computers

Page: 922

View: 4709

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen ... does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. ... Summing Up: Highly recommended. F. H. Wild III, Choice, Vol. 47 (8), April 2010 Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” John D. Cook, The Mathematical Association of America, September 2011 This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science. Alex Small, IEEE, CiSE Vol. 14 (2), March /April 2012 “This fourth edition is a wonderful, inclusive textbook that covers pretty much everything one needs to know to go from zero to fairly sophisticated scientific programming in Python...” Joan Horvath, Computing Reviews, March 2015

A Primer on Scientific Programming with Python

Author: Hans Petter Langtangen

Publisher: Springer

ISBN: 3642549594

Category: Computers

Page: 872

View: 3936

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen ... does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. ... Summing Up: Highly recommended. F. H. Wild III, Choice, Vol. 47 (8), April 2010 Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” John D. Cook, The Mathematical Association of America, September 2011 This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science. Alex Small, IEEE, CiSE Vol. 14 (2), March /April 2012

A Primer on Scientific Programming with Python

Author: Hans Petter Langtangen

Publisher: Springer Science & Business Media

ISBN: 3642302939

Category: Computers

Page: 798

View: 6503

The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example- and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology, and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background, and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science.

Python Scripting for Computational Science

Author: Hans Petter Langtangen

Publisher: Springer Science & Business Media

ISBN: 3662054507

Category: Computers

Page: 732

View: 2169

Scripting with Python makes you productive and increases the reliability of your scientific work. Here, the author teaches you how to develop tailored, flexible, and efficient working environments built from small programs (scripts) written in Python. The focus is on examples and applications of relevance to computational science: gluing existing applications and tools, e.g. for automating simulation, data analysis, and visualization; steering simulations and computational experiments; equipping programs with graphical user interfaces; making computational Web services; creating interactive interfaces with a Maple/Matlab-like syntax to numerical applications in C/C++ or Fortran; and building flexible object-oriented programming interfaces to existing C/C++ or Fortran libraries.

Programming for Computations - Python

A Gentle Introduction to Numerical Simulations with Python

Author: Svein Linge,Hans Petter Langtangen

Publisher: Springer

ISBN: 3319324284

Category: Computers

Page: 232

View: 8474

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

Programming for Computations - MATLAB/Octave

A Gentle Introduction to Numerical Simulations with MATLAB/Octave

Author: Svein Linge,Hans Petter Langtangen

Publisher: Springer

ISBN: 3319324527

Category: Computers

Page: 216

View: 674

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more accessible and concise, in keeping with the needs of engineering students. The book outlines the shortest possible path from no previous experience with programming to a set of skills that allows the students to write simple programs for solving common mathematical problems with numerical methods in engineering and science courses. The emphasis is on generic algorithms, clean design of programs, use of functions, and automatic tests for verification.

Python for Scientists

Author: John M. Stewart

Publisher: Cambridge University Press

ISBN: 1316641236

Category: Computers

Page: 273

View: 5540

Scientific Python is a significant public domain alternative to expensive proprietary software packages. This book teaches from scratch everything the working scientist needs to know using copious, downloadable, useful and adaptable code snippets. Readers will discover how easy it is to implement and test non-trivial mathematical algorithms and will be guided through the many freely available add-on modules. A range of examples, relevant to many different fields, illustrate the language's capabilities. The author also shows how to use pre-existing legacy code (usually in Fortran77) within the Python environment, thus avoiding the need to master the original code. In this new edition, several chapters have been re-written to reflect the IPython notebook style. With an extended index, an entirely new chapter discussing SymPy and a substantial increase in the number of code snippets, researchers and research students will be able to quickly acquire all the skills needed for using Python effectively.

Mastering Python Scientific Computing

Author: Hemant Kumar Mehta

Publisher: Packt Publishing Ltd

ISBN: 1783288833

Category: Computers

Page: 300

View: 5545

A complete guide for Python programmers to master scientific computing using Python APIs and tools About This Book The basics of scientific computing to advanced concepts involving parallel and large scale computation are all covered. Most of the Python APIs and tools used in scientific computing are discussed in detail The concepts are discussed with suitable example programs Who This Book Is For If you are a Python programmer and want to get your hands on scientific computing, this book is for you. The book expects you to have had exposure to various concepts of Python programming. What You Will Learn Fundamentals and components of scientific computing Scientific computing data management Performing numerical computing using NumPy and SciPy Concepts and programming for symbolic computing using SymPy Using the plotting library matplotlib for data visualization Data analysis and visualization using Pandas, matplotlib, and IPython Performing parallel and high performance computing Real-life case studies and best practices of scientific computing In Detail In today's world, along with theoretical and experimental work, scientific computing has become an important part of scientific disciplines. Numerical calculations, simulations and computer modeling in this day and age form the vast majority of both experimental and theoretical papers. In the scientific method, replication and reproducibility are two important contributing factors. A complete and concrete scientific result should be reproducible and replicable. Python is suitable for scientific computing. A large community of users, plenty of help and documentation, a large collection of scientific libraries and environments, great performance, and good support makes Python a great choice for scientific computing. At present Python is among the top choices for developing scientific workflow and the book targets existing Python developers to master this domain using Python. The main things to learn in the book are the concept of scientific workflow, managing scientific workflow data and performing computation on this data using Python. The book discusses NumPy, SciPy, SymPy, matplotlib, Pandas and IPython with several example programs. Style and approach This book follows a hands-on approach to explain the complex concepts related to scientific computing. It details various APIs using appropriate examples.

Mathematics and Python Programming

Author: J.C. Bautista

Publisher: Lulu.com

ISBN: 1326017969

Category: Technology & Engineering

Page: 268

View: 8209

"We have developed 120 Python programs and more than 110 illustrations in a work that will be useful both to students of science of the first university science courses, as well as high school students and teachers, and to anyone interested in Python programming intending to acquire new tools to expose mathematical concepts in a didactic and modern fashion....The book begins with a detailed introduction to Python, followed by ten chapters of mathematics with its corresponding Python programs, results and graphs."--Cover.

Mathematics and Climate

Author: Hans Kaper,Hans Engler

Publisher: SIAM

ISBN: 1611972612

Category: Science

Page: 326

View: 1708

Mathematics and Climate is a timely textbook aimed at students and researchers in mathematics and statistics who are interested in current issues of climate science, as well as at climate scientists who wish to become familiar with qualitative and quantitative methods of mathematics and statistics. The authors emphasize conceptual models that capture important aspects of Earth's climate system and present the mathematical and statistical techniques that can be applied to their analysis. Topics from climate science include the Earth?s energy balance, temperature distribution, ocean circulation patterns such as El Ni?o?Southern Oscillation, ice caps and glaciation periods, the carbon cycle, and the biological pump. Among the mathematical and statistical techniques presented in the text are dynamical systems and bifurcation theory, Fourier analysis, conservation laws, regression analysis, and extreme value theory. The following features make Mathematics and Climate a valuable teaching resource: issues of current interest in climate science and sustainability are used to introduce the student to the methods of mathematics and statistics; the mathematical sophistication increases as the book progresses and topics can thus be selected according to interest and level of knowledge; each chapter ends with a set of exercises that reinforce or enhance the material presented in the chapter and stimulate critical thinking and communication skills; and the book contains an extensive list of references to the literature, a glossary of terms for the nontechnical reader, and a detailed index.

Scientific Computing with MATLAB and Octave

Author: Alfio Quarteroni,Fausto Saleri,Paola Gervasio

Publisher: Springer Science & Business Media

ISBN: 3642453678

Category: Computers

Page: 450

View: 8491

This textbook is an introduction to Scientific Computing, in which several numerical methods for the computer-based solution of certain classes of mathematical problems are illustrated. The authors show how to compute the zeros, the extrema, and the integrals of continuous functions, solve linear systems, approximate functions using polynomials and construct accurate approximations for the solution of ordinary and partial differential equations. To make the format concrete and appealing, the programming environments Matlab and Octave are adopted as faithful companions. The book contains the solutions to several problems posed in exercises and examples, often originating from important applications. At the end of each chapter, a specific section is devoted to subjects which were not addressed in the book and contains bibliographical references for a more comprehensive treatment of the material. From the review: ".... This carefully written textbook, the third English edition, contains substantial new developments on the numerical solution of differential equations. It is typeset in a two-color design and is written in a style suited for readers who have mathematics, natural sciences, computer sciences or economics as a background and who are interested in a well-organized introduction to the subject." Roberto Plato (Siegen), Zentralblatt MATH 1205.65002.

Computational Physics

Problem Solving with Python

Author: Rubin H. Landau,Manuel J. Páez,Cristian C. Bordeianu

Publisher: John Wiley & Sons

ISBN: 3527413154

Category: Science

Page: 644

View: 2236

The use of computation and simulation has become an essential part of the scientific process. Being able to transform a theory into an algorithm requires significant theoretical insight, detailed physical and mathematical understanding, and a working level of competency in programming. This upper-division text provides an unusually broad survey of the topics of modern computational physics from a multidisciplinary, computational science point of view. Its philosophy is rooted in learning by doing (assisted by many model programs), with new scientific materials as well as with the Python programming language. Python has become very popular, particularly for physics education and large scientific projects. It is probably the easiest programming language to learn for beginners, yet is also used for mainstream scientific computing, and has packages for excellent graphics and even symbolic manipulations. The text is designed for an upper-level undergraduate or beginning graduate course and provides the reader with the essential knowledge to understand computational tools and mathematical methods well enough to be successful. As part of the teaching of using computers to solve scientific problems, the reader is encouraged to work through a sample problem stated at the beginning of each chapter or unit, which involves studying the text, writing, debugging and running programs, visualizing the results, and the expressing in words what has been done and what can be concluded. Then there are exercises and problems at the end of each chapter for the reader to work on their own (with model programs given for that purpose). The text could be used for a one-semester course on scientific computing. The relevant topics for that are covered in the first third of the book. The latter two-thirds of the text includes more physics and can be used for a two-semester course in computational physics, covering nonlinear ODEs, Chaotic Scattering, Fourier Analysis, Wavelet Analysis, Nonlinear Maps, Chaotic systems, Fractals and Parallel Computing. The e-book extends the paper version by including many codes, visualizations and applets, as well as links to video lectures. * A table at the beginning of each chapter indicates video lectures, slides, applets and animations. * Applets illustrate the results to be expected for projects in the book, and to help understand some abstract concepts (e.g. Chaotic Scattering) * The eBook's figures, equations, sections, chapters, index, table of contents, code listings, glossary, animations and executable codes (both Applets and Python programs) are linked, much like in a Web document. * Some equations are linked to their xml forms (which can be imported into Maple or Mathematica for manipulation). * The e-book will link to video-based lecture modules, held by principal author Professor Rubin Landau, that cover most every topic in the book.

Scientific Computing with Python 3

Author: Claus Fuhrer,Jan Erik Solem,Olivier Verdier

Publisher: Packt Publishing Ltd

ISBN: 1786463644

Category: Computers

Page: 332

View: 4004

An example-rich, comprehensive guide for all of your Python computational needs About This Book Your ultimate resource for getting up and running with Python numerical computations Explore numerical computing and mathematical libraries using Python 3.x code with SciPy and NumPy modules A hands-on guide to implementing mathematics with Python, with complete coverage of all the key concepts Who This Book Is For This book is for anyone who wants to perform numerical and mathematical computations in Python. It is especially useful for developers, students, and anyone who wants to use Python for computation. Readers are expected to possess basic a knowledge of scientific computing and mathematics, but no prior experience with Python is needed. What You Will Learn The principal syntactical elements of Python The most important and basic types in Python The essential building blocks of computational mathematics, linear algebra, and related Python objects Plot in Python using matplotlib to create high quality figures and graphics to draw and visualize your results Define and use functions and learn to treat them as objects How and when to correctly apply object-oriented programming for scientific computing in Python Handle exceptions, which are an important part of writing reliable and usable code Two aspects of testing for scientific programming: Manual and Automatic In Detail Python can be used for more than just general-purpose programming. It is a free, open source language and environment that has tremendous potential for use within the domain of scientific computing. This book presents Python in tight connection with mathematical applications and demonstrates how to use various concepts in Python for computing purposes, including examples with the latest version of Python 3. Python is an effective tool to use when coupling scientific computing and mathematics and this book will teach you how to use it for linear algebra, arrays, plotting, iterating, functions, polynomials, and much more. Style and approach This book takes a concept-based approach to the language rather than a systematic introduction. It is a complete Python tutorial and introduces computing principles, using practical examples to and showing you how to correctly implement them in Python. You'll learn to focus on high-level design as well as the intricate details of Python syntax. Rather than providing canned problems to be solved, the exercises have been designed to inspire you to think about your own code and give you real-world insight.

Engineering Mathematics with Examples and Applications

Author: Xin-She Yang

Publisher: Academic Press

ISBN: 012809902X

Category: Mathematics

Page: 400

View: 8162

Engineering Mathematics with Examples and Applications provides a compact and concise primer in the field, starting with the foundations, and then gradually developing to the advanced level of mathematics that is necessary for all engineering disciplines. Therefore, this book's aim is to help undergraduates rapidly develop the fundamental knowledge of engineering mathematics. The book can also be used by graduates to review and refresh their mathematical skills. Step-by-step worked examples will help the students gain more insights and build sufficient confidence in engineering mathematics and problem-solving. The main approach and style of this book is informal, theorem-free, and practical. By using an informal and theorem-free approach, all fundamental mathematics topics required for engineering are covered, and readers can gain such basic knowledge of all important topics without worrying about rigorous (often boring) proofs. Certain rigorous proof and derivatives are presented in an informal way by direct, straightforward mathematical operations and calculations, giving students the same level of fundamental knowledge without any tedious steps. In addition, this practical approach provides over 100 worked examples so that students can see how each step of mathematical problems can be derived without any gap or jump in steps. Thus, readers can build their understanding and mathematical confidence gradually and in a step-by-step manner. Covers fundamental engineering topics that are presented at the right level, without worry of rigorous proofs Includes step-by-step worked examples (of which 100+ feature in the work) Provides an emphasis on numerical methods, such as root-finding algorithms, numerical integration, and numerical methods of differential equations Balances theory and practice to aid in practical problem-solving in various contexts and applications

Numerical computing with IEEE floating point arithmetic

Author: Michael L. Overton

Publisher: SIAM

ISBN: 9780898718072

Category: Computer arithmetic

Page: 104

View: 6664

This title provides an easily accessible yet detailed discussion of IEEE Std 754-1985, arguably the most important standard in the computer industry. The result of an unprecedented cooperation between academic computer scientists and the cutting edge of industry, it is supported by virtually every modern computer. Other topics include the floating point architecture of the Intel microprocessors and a discussion of programming language support for the standard.

Numerical Python

A Practical Techniques Approach for Industry

Author: Robert Johansson

Publisher: Apress

ISBN: 1484205537

Category: Computers

Page: 487

View: 9041

Numerical Python by Robert Johansson shows you how to leverage the numerical and mathematical modules in Python and its Standard Library as well as popular open source numerical Python packages like NumPy, FiPy, matplotlib and more to numerically compute solutions and mathematically model applications in a number of areas like big data, cloud computing, financial engineering, business management and more. After reading and using this book, you'll get some takeaway case study examples of applications that can be found in areas like business management, big data/cloud computing, financial engineering (i.e., options trading investment alternatives), and even games. Up until very recently, Python was mostly regarded as just a web scripting language. Well, computational scientists and engineers have recently discovered the flexibility and power of Python to do more. Big data analytics and cloud computing programmers are seeing Python's immense use. Financial engineers are also now employing Python in their work. Python seems to be evolving as a language that can even rival C++, Fortran, and Pascal/Delphi for numerical and mathematical computations.

A Student's Guide to Python for Physical Modeling

Author: Jesse M. Kinder,Philip Nelson

Publisher: Princeton University Press

ISBN: 1400889421

Category: Computers

Page: 168

View: 2655

A fully updated tutorial on the basics of the Python programming language for science students Python is a computer programming language that is rapidly gaining popularity throughout the sciences. This fully updated edition of A Student's Guide to Python for Physical Modeling aims to help you, the student, teach yourself enough of the Python programming language to get started with physical modeling. You will learn how to install an open-source Python programming environment and use it to accomplish many common scientific computing tasks: importing, exporting, and visualizing data; numerical analysis; and simulation. No prior programming experience is assumed. This tutorial focuses on fundamentals and introduces a wide range of useful techniques, including: Basic Python programming and scripting Numerical arrays Two- and three-dimensional graphics Monte Carlo simulations Numerical methods, including solving ordinary differential equations Image processing Animation Numerous code samples and exercises--with solutions—illustrate new ideas as they are introduced. Web-based resources also accompany this guide and include code samples, data sets, and more. This current edition brings the discussion of the Python language, Spyder development environment, and Anaconda distribution up to date. In addition, a new appendix introduces Jupyter notebooks.

Programming Projects in C for Students of Engineering, Science, and Mathematics

Author: Rouben Rostamian

Publisher: SIAM

ISBN: 1611973503

Category: Science

Page: 393

View: 3449

Like a pianist who practices from a book of études, readers of Programming Projects in C for Students of Engineering, Science, and Mathematics will learn by doing. Written as a tutorial on how to think about, organize, and implement programs in scientific computing, this book achieves its goal through an eclectic and wide-ranging collection of projects. Each project presents a problem and an algorithm for solving it. The reader is guided through implementing the algorithm in C and compiling and testing the results. It is not necessary to carry out the projects in sequential order. The projects contain suggested algorithms and partially completed programs for implementing them to enable the reader to exercise and develop skills in scientific computing; require only a working knowledge of undergraduate multivariable calculus, differential equations, and linear algebra; and are written in platform-independent standard C; the Unix command-line is used to illustrate compilation and execution.