Python for Scientific Computing and Artificial Intelligence is split into 3 parts: in Section 1, the reader is introduced to the Python programming language and shown how Python can aid in the understanding of advanced High School Mathematics. In Section 2, the reader is shown how Python can be used to solve real-world problems from a broad range of scientific disciplines. Finally, in Section 3, the reader is introduced to neural networks and shown how TensorFlow (written in Python) can be used to solve a large array of problems in Artificial Intelligence (AI).

This book was developed from a series of national and international workshops that the author has been delivering for over twenty years. The book is beginner friendly and has a strong practical emphasis on programming and computational modelling.


  • No prior experience of programming is required
  • Online GitHub repository available with codes for readers to practice
  • Covers applications and examples from biology, chemistry, computer science, data science, electrical and mechanical engineering, economics, mathematics, physics, statistics and binary oscillator computing
  • Full solutions to exercises are available as Jupyter notebooks on the Web

Support Material

GitHub Repository of Python Files and Notebooks: https://github.com/proflynch/CRC-Press/

Solutions to All Exercises:

Section 1: An Introduction to Python: https://drstephenlynch.github.io/webpages/Solutions_Section_1.html

Section 2: Python for Scientific Computing: https://drstephenlynch.github.io/webpages/Solutions_Section_2.html

Section 3: Artificial Intelligence: https://drstephenlynch.github.io/webpages/Solutions_Section_3.html

part I|78 pages

An Introduction to Python

chapter 2Chapter 1|18 pages

The IDLE Integrated Development Learning Environment

chapter Chapter 3|12 pages

Jupyter Notebooks and Google Colab

chapter Chapter 4|16 pages

Python for AS-Level (High School) Mathematics

chapter Chapter 5|18 pages

Python for A-Level (High School) Mathematics

part II|142 pages

Python for Scientific Computing

chapter 80Chapter 6|14 pages


chapter Chapter 7|12 pages


chapter Chapter 8|18 pages

Data Science

chapter Chapter 9|14 pages


chapter Chapter 10|14 pages


chapter Chapter 11|14 pages

Fractals and Multifractals

chapter Chapter 12|10 pages

Image Processing

chapter Chapter 14|12 pages


chapter Chapter 15|18 pages


part III|88 pages

Artificial Intelligence

chapter 222Chapter 16|18 pages

Brain Inspired Computing

chapter Chapter 17|14 pages

Neural Networks and Neurodynamics

chapter Chapter 18|12 pages

TensorFlow and Keras

chapter Chapter 19|18 pages

Recurrent Neural Networks

chapter Chapter 21|10 pages

Answers and Hints to Exercises