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

By Hans Petter Langtangen

The publication serves as a primary advent to machine programming of medical functions, utilizing the high-level Python language. The exposition is instance and problem-oriented, the place the purposes are taken from arithmetic, numerical calculus, records, physics, biology and finance. The booklet teaches "Matlab-style" and procedural programming in addition to object-oriented programming. highschool arithmetic is a required heritage and it really is useful to review classical and numerical one-variable calculus in parallel with interpreting this ebook. in addition to studying how one can application desktops, the reader also will find out how to resolve mathematical difficulties, bobbing up in a variety of branches of technology and engineering, because of numerical tools and programming. by way of mixing programming, arithmetic and clinical purposes, the ebook lays a great origin for practising computational technology.

Show description

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

Best python books

Getting Started with Beautiful Soup

The best way to extract details from web content utilizing appealing Soup and the Python urllib2 module. This sensible, hands-on advisor covers every little thing you want to be aware of to get a head commence in web site scraping.

Programming Python (4th Edition)

If you've mastered Python's basics, you're able to commence utilizing it to get genuine paintings performed. Programming Python will convey you ways, with in-depth tutorials at the language's basic software domain names: process 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.

Learning BeagleBone Python Programming

BeagleBone is a barebone computing device that may be configured and customised for various purposes and is nearly part the cost of a regular laptop. This booklet will disguise the fundamentals of ways BeagleBone Black's interface subsystems paintings, and will be managed utilizing renowned Python libraries for BeagleBone Black.

Python Essentials - A Rapid Guide to the Fundamental Features of Python

Key FeaturesLearn find out how to write potent Python codeGet up-to-speed with crucial information constructions in Python, utilizing sequences, units, and mappingsExplore Python's awesome variety of gains and notice why it really is some of the most renowned programming languages within the worldBook DescriptionPython necessities offers an important journey of the main severe beneficial properties of Python.

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

Sample text

52: Make a tool for analyzing oscillatory solutions . . 53: Implement problem, solver, and visualizer classes . 54: Use classes for flexible choices of models . . . . . 55: Apply software for oscillating systems . . . . . . 56: Model the economy of fishing . . . . . . . . . 767 767 767 767 768 768 768 769 769 770 770 770 771 771 771 772 772 772 773 773 774 776 777 777 778 778 780 781 782 782 783 784 785 788 789 790 1 Computing with formulas Our first examples on computer programming involve programs that evaluate mathematical formulas.

21: Generate an HTML report . . . . . . . . . . 22: Use a class to archive and report experiments . . 23: Explore logistic growth interactively . . . . . . 24: Simulate the price of wheat . . . . . . . . . . 1: Interpolate a discrete function . . . . . . . . . 2: Study a function for different parameter values . . 3: Study a function and its derivative . . . . . . . 4: Use the Trapezoidal method . . . . . . . . . . 5: Compute a sequence of integrals .

For all variables without a precise mathematical definition and symbol, use a carefully chosen descriptive name. 9 Reserved words in Python Certain words are reserved in Python because they are used to build up the Python language. These reserved words cannot be used as variable names: and, as, assert, break, class, continue, def, del, elif, else, except, False, finally, for, from, global, if, import, in, is, lambda, None, nonlocal, not, or, pass, raise, return, True, try, with, while, and yield.

Download PDF sample

Rated 4.68 of 5 – based on 48 votes