Download A Primer on Scientific Programming with Python (4th Edition) by Hans Petter Langtangen PDF

By Hans Petter Langtangen

The publication serves as a primary creation to desktop programming of medical purposes, utilizing the high-level Python language. The exposition is instance and problem-oriented, the place the purposes are taken from arithmetic, numerical calculus, facts, physics, biology and finance. The publication teaches "Matlab-style" and procedural programming in addition to object-oriented programming. highschool arithmetic is a required history and it really is beneficial to check classical and numerical one-variable calculus in parallel with analyzing this booklet. in addition to studying the best way to application pcs, the reader also will easy methods to resolve mathematical difficulties, coming up in a number of branches of technological know-how and engineering, via numerical equipment and programming. by means of mixing programming, arithmetic and clinical functions, the booklet lays an outstanding origin for working towards computational technological know-how.

Show description

Read or Download A Primer on Scientific Programming with Python (4th Edition) (Texts in Computational Science and Engineering, Volume 6) PDF

Similar python books

Pro Django (2nd Edition)

The right way to leverage Django, the top Python net program improvement framework, to its complete strength during this complex educational and reference. up-to-date for Django 1. five and Python three, professional Django, moment version examines in nice element the advanced difficulties that Python internet program builders can face and the way to resolve them.

Programming Python (4th Edition)

If you've mastered Python's basics, you're able to begin utilizing it to get actual paintings performed. Programming Python will exhibit you ways, with in-depth tutorials at the language's basic software domain names: method management, GUIs, and the net. You'll additionally discover how Python is utilized in databases, networking, front-end scripting layers, textual content processing, and extra.

A Student's Guide to Python for Physical Modeling

Python is a working laptop or computer programming language that's quickly rising in popularity through the sciences. A Student's consultant to Python for actual Modeling goals that will help you, the coed, educate your self sufficient of the Python programming language to start with actual modeling. you are going to easy methods to set up an open-source Python programming atmosphere and use it to complete many universal clinical computing projects: uploading, exporting, and visualizing facts; numerical research; and simulation.

Python Data Analytics: Data Analysis and Science Using Pandas, matplotlib, and the Python Programming Language

Python information Analytics can assist you take on the area of knowledge acquisition and research utilizing the ability of the Python language. on the center of this booklet lies the insurance of pandas, an open resource, BSD-licensed library supplying high-performance, easy-to-use information buildings and information research instruments for the Python programming language.

Additional resources for A Primer on Scientific Programming with Python (4th Edition) (Texts in Computational Science and Engineering, Volume 6)

Sample text

For this reason, most arithmetic operations involve inaccurate real numbers, resulting in inaccurate calculations. Think of the following two calculations: 1/49 · 49 and 1/51 · 51. 0 as answer in the first case is because 1/49 is not correctly represented in the computer. Also 1/51 has an inexact representation, but the error does not propagate to the final answer. To summarize, errors in floating-point numbers may propagate through mathematical calculations and result in answers that are only approximations to the exact underlying mathematical values.

3: Improve input to the simulation program . . . . . 1: Solve a simple ODE with function-based code . . . 2: Solve a simple ODE with class-based code . . . . 3: Solve a simple ODE with the ODEsolver hierarchy . 4: Solve an ODE specified on the command line . . . 5: Implement a numerical method for ODEs . . . . . 6: Solve an ODE for emptying a tank . . . . . . . 7: Solve an ODE for the arc length . . . . . . . . 8: Simulate a falling or rising body in a fluid . . . .

12: Solve an ODE until constant solution . . . . . . 13: Use a problem class to hold data about an ODE . 14: Derive and solve a scaled ODE problem . . . . . 15: Clean up a file to make it a module . . . . . . . 16: Simulate radioactive decay . . . . . . . . . . 17: Compute inverse functions by solving an ODE . . 18: Make a class for computing inverse functions . . . 19: Add functionality to a class . . . . . . . . . . 20: Compute inverse functions by interpolation .

Download PDF sample

Rated 4.42 of 5 – based on 28 votes