AugustDanell / doing_math_with_python

Exercises from the book: Doing Math With Python, by Amit Saha. Generally quite simple exercises in Python, though quite useful as well.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doing math with Python

Exercises from the book: Doing Math With Python, by Amit Saha.

snek

The book Doing Math With Python looks to unify science, maths and Python. The book contains valuable exercises and is scalable, in that, it starts with easy exercises and then works upwards in terms of complexity. Python is overall a very useful language for math, and so, in this repo I am exploring Python maths within the confines of this book. The exercises are easy but interesting, I find :)

https://www.amazon.se/Doing-Math-Python-Programming-Statistics/dp/1593276400/ref=asc_df_1593276400/?tag=shpngadsglede-21&linkCode=df0&hvadid=476446819182&hvpos=&hvnetw=g&hvrand=13523034651826554747&hvpone=&hvptwo=&hvqmt=&hvdev=c&hvdvcmdl=&hvlocint=&hvlocphy=9062451&hvtargid=pla-448903731067&psc=1

Chapters

Chapter 1 one is just basic, normal arithmetic, with the addition of fractions like 3/7 for example.

In Chapter 2 the author introduces the use of the famous library pyplot and some fun exercises pertaining to just that, for instance plotting the temperature differance of different cities in the world as we look throughout a day.

Chapter 3 pertains to statistics, finding standard deviation and variance etc.

In chapter 4 we are using SymPy for different mathematical ends, solving equations, factorizations etc.

Chapter 5 is all about sets and probabilities. We learn of how to use intersections, unions, check if a set is a superset or subset of another etc.

Chapter 6 is about drawing differnt geometric figures using patches and also drawing figures with scatter points using different mathematical transformations that transform an input into beautiful patterns.

Chapter 7 is all about calculus, using sympy to calculate limits, derivatives, solving maximization/minimization problems and more. One interesting exercise is to find out if a function F is continous in a point P using left and right limits.

About

Exercises from the book: Doing Math With Python, by Amit Saha. Generally quite simple exercises in Python, though quite useful as well.


Languages

Language:Python 100.0%