A Primer on Scientific Programming with Python

Author: Hans Petter Langtangen

Publisher: Springer

ISBN:

Category: Computers

Page: 922

View: 507

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

Programming for Computations - Python

A Gentle Introduction to Numerical Simulations with Python

Author: Svein Linge

Publisher: Springer

ISBN:

Category: Computers

Page: 232

View: 200

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

Publisher: Springer

ISBN:

Category: Computers

Page: 216

View: 329

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 - Python

A Gentle Introduction to Numerical Simulations with Python 3.6

Author: Svein Linge

Publisher: Springer

ISBN:

Category: Computers

Page:

View: 976

This book is published open access under a CC BY 4.0 license. This book presents computer programming as a key method for solving mathematical problems. This 2nd edition of the book represents a major revision: All code is now written in Python version 3.6 (the 1st edition was based on Python version 2.7). The two first chapters of the previous edition have been extended and split up into five new chapters, thus expanding the introduction to programming from 50 to 150 pages. Throughout, explanations are now more complete, previous examples have been modified and new sections, examples and exercises have been added. Also, errors and typos have been corrected. 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.

Finite Difference Computing with PDEs

A Modern Software Approach

Author: Hans Petter Langtangen

Publisher: Springer

ISBN:

Category: Computers

Page: 507

View: 445

This book is open access under a CC BY 4.0 license. This easy-to-read book introduces the basics of solving partial differential equations by means of finite difference methods. Unlike many of the traditional academic works on the topic, this book was written for practitioners. Accordingly, it especially addresses: the construction of finite difference schemes, formulation and implementation of algorithms, verification of implementations, analyses of physical behavior as implied by the numerical solutions, and how to apply the methods and software to solve problems in the fields of physics and biology.

Finite Difference Computing with Exponential Decay Models

Author: Hans Petter Langtangen

Publisher: Springer

ISBN:

Category: Computers

Page: 200

View: 422

This text provides a very simple, initial introduction to the complete scientific computing pipeline: models, discretization, algorithms, programming, verification, and visualization. The pedagogical strategy is to use one case study – an ordinary differential equation describing exponential decay processes – to illustrate fundamental concepts in mathematics and computer science. The book is easy to read and only requires a command of one-variable calculus and some very basic knowledge about computer programming. Contrary to similar texts on numerical methods and programming, this text has a much stronger focus on implementation and teaches testing and software engineering in particular.

Scientific Database and Programming Examples Using PHP,MySQL,XML,MATLAB,PYTHON,PERL

Using PHP,MySQL,XML,MATLAB,PYTHON,PERL

Author: K.Y. Cheung

Publisher: Xlibris Corporation

ISBN:

Category: Computers

Page: 306

View: 817

This book deals with, but is not limited to, the following: (1) A collection of typical computer programs written in Python and Matlab for scientific computations and their comparisons; (2) Interfaces of Php, Python, Perl with Matlab and vice versa; (3) Use of MySQL tables and XML for storing and transmitting scientific and economic data in scientific programming with Matlab, Python and Perl; (4) Converting from XML to MySQL tables and vice versa using Php; (5) Creating XML and MySQL tables and retrieving data from them for inputting to Matlab and to Python, using Php. It is assumed that the reader has had some knowledge of Php, Matlab, Python, Perl, MySQL and XML. As this book is written with Matlab programmers in mind, the following books are highly recommended for understanding the details of computer programs in this book: (1) Julie C. Meloni, PHP, MySQL and Apache,All in One, 4th ed. (2) Hans Petter Langstangen, A Primer on Scientific Programming with Python. (3) Robin Nixon, PHP, MySQL & JavaScript. K.Y. CHEUNG

Modeling Techniques in Predictive Analytics with Python and R

A Guide to Data Science

Author: Thomas W. Miller

Publisher: FT Press

ISBN:

Category: Computers

Page: 448

View: 879

Master predictive analytics, from start to finish Start with strategy and management Master methods and build models Transform your models into highly-effective code—in both Python and R This one-of-a-kind book will help you use predictive analytics, Python, and R to solve real business problems and drive real competitive advantage. You’ll master predictive analytics through realistic case studies, intuitive data visualizations, and up-to-date code for both Python and R—not complex math. Step by step, you’ll walk through defining problems, identifying data, crafting and optimizing models, writing effective Python and R code, interpreting results, and more. Each chapter focuses on one of today’s key applications for predictive analytics, delivering skills and knowledge to put models to work—and maximize their value. Thomas W. Miller, leader of Northwestern University’s pioneering program in predictive analytics, addresses everything you need to succeed: strategy and management, methods and models, and technology and code. If you’re new to predictive analytics, you’ll gain a strong foundation for achieving accurate, actionable results. If you’re already working in the field, you’ll master powerful new skills. If you’re familiar with either Python or R, you’ll discover how these languages complement each other, enabling you to do even more. All data sets, extensive Python and R code, and additional examples available for download at http://www.ftpress.com/miller/ Python and R offer immense power in predictive analytics, data science, and big data. This book will help you leverage that power to solve real business problems, and drive real competitive advantage. Thomas W. Miller’s unique balanced approach combines business context and quantitative tools, illuminating each technique with carefully explained code for the latest versions of Python and R. If you’re new to predictive analytics, Miller gives you a strong foundation for achieving accurate, actionable results. If you’re already a modeler, programmer, or manager, you’ll learn crucial skills you don’t already have. Using Python and R, Miller addresses multiple business challenges, including segmentation, brand positioning, product choice modeling, pricing research, finance, sports, text analytics, sentiment analysis, and social network analysis. He illuminates the use of cross-sectional data, time series, spatial, and spatio-temporal data. You’ll learn why each problem matters, what data are relevant, and how to explore the data you’ve identified. Miller guides you through conceptually modeling each data set with words and figures; and then modeling it again with realistic code that delivers actionable insights. You’ll walk through model construction, explanatory variable subset selection, and validation, mastering best practices for improving out-of-sample predictive performance. Miller employs data visualization and statistical graphics to help you explore data, present models, and evaluate performance. Appendices include five complete case studies, and a detailed primer on modern data science methods. Use Python and R to gain powerful, actionable, profitable insights about: Advertising and promotion Consumer preference and choice Market baskets and related purchases Economic forecasting Operations management Unstructured text and language Customer sentiment Brand and price Sports team performance And much more

Scaling of Differential Equations

Author: Hans Petter Langtangen

Publisher: Springer

ISBN:

Category: Mathematics

Page: 138

View: 269

The book serves both as a reference for various scaled models with corresponding dimensionless numbers, and as a resource for learning the art of scaling. A special feature of the book is the emphasis on how to create software for scaled models, based on existing software for unscaled models. Scaling (or non-dimensionalization) is a mathematical technique that greatly simplifies the setting of input parameters in numerical simulations. Moreover, scaling enhances the understanding of how different physical processes interact in a differential equation model. Compared to the existing literature, where the topic of scaling is frequently encountered, but very often in only a brief and shallow setting, the present book gives much more thorough explanations of how to reason about finding the right scales. This process is highly problem dependent, and therefore the book features a lot of worked examples, from very simple ODEs to systems of PDEs, especially from fluid mechanics. The text is easily accessible and example-driven. The first part on ODEs fits even a lower undergraduate level, while the most advanced multiphysics fluid mechanics examples target the graduate level. The scientific literature is full of scaled models, but in most of the cases, the scales are just stated without thorough mathematical reasoning. This book explains how the scales are found mathematically. This book will be a valuable read for anyone doing numerical simulations based on ordinary or partial differential equations.

Scientific Database and Programming Examples

Using Php,mysql,xml,matlab,python,perl

Author: K. Y. Cheung

Publisher: Xlibris Corporation

ISBN:

Category: Computers

Page: 308

View: 670

This book deals with, but is not limited to, the following: (1) A collection of typical computer programs written in Python and Matlab for scientific computations and their comparisons; (2) Interfaces of Php, Python, Perl with Matlab and vice versa; (3) Use of MySQL tables and XML for storing and transmitting scientific and economic data in scientific programming with Matlab, Python and Perl; (4) Converting from XML to MySQL tables and vice versa using Php; (5) Creating XML and MySQL tables and retrieving data from them for inputting to Matlab and to Python, using Php. It is assumed that the reader has had some knowledge of Php, Matlab, Python, Perl, MySQL and XML. As this book is written with Matlab programmers in mind, the following books are highly recommended for understanding the details of computer programs in this book: (1) Julie C. Meloni, PHP, MySQL and Apache,All in One, 4th ed. (2) Hans Petter Langstangen, A Primer on Scientific Programming with Python. (3) Robin Nixon, PHP, MySQL & JavaScript. K.Y. CHEUNG