- Paperback: 264 pages
- Publisher: No Starch Press; 1 edition (August 1, 2015)
- Language: English
- ISBN-10: 1593276400
- ISBN-13: 978-1593276409
- Product Dimensions: 7 x 0.7 x 9.2 inches
- Shipping Weight: 1.6 pounds (View shipping rates and policies)
- Average Customer Review: 24 customer reviews
- Amazon Best Sellers Rank: #69,134 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
"Enlightenment Now: The Case for Reason, Science, Humanism, and Progress"
Is the world really falling apart? Is the ideal of progress obsolete? Cognitive scientist and public intellectual Steven Pinker urges us to step back from the gory headlines and prophecies of doom, and instead, follow the data: In seventy-five jaw-dropping graphs, Pinker shows that life, health, prosperity, safety, peace, knowledge, and happiness are on the rise. Learn more
Frequently bought together
Customers who bought this item also bought
Customers who viewed this item also viewed
From the Publisher
Automate the Boring Stuff with Python
Python Crash Course
Doing Math with Python
Black Hat Python
Gray Hat Python
|User Experience Level||Beginners||Beginners||Readers who know Python basics||Intermediate||Experienced||Experienced|
|For readers who want to…||Use Python to automate tedious computer tasks||Get a fast-paced, thorough introduction to Python and create three substantial projects from scratch||Delve into high school-level math topics using Python||Write Python-based offensive security tools on the fly||Explore Python’s versatility with imaginative programming projects||Automate security tasks, discover vulnerabilities, and write their own hacking tools|
|Tools Covered||Regular Expressions, Requests, Beautiful Soup, OpenPyXL, PyPDF2, PyAutoGUI||PyGame, matplotlib, Pygal, Django||matplotlib, SymPy||Scapy, openCV, BurpSuite, ctypes, Paramiko, urllib2||matplotlib, Numpy, OpenGL, Pillow, Arduino, Raspberry Pi||PyDBG, Immunity Debugger, Sulley, IDA Python, PyEMU, PyDev, ctypes|
|Compatible with Python Version||Python 3||Python 2 & 3||Python 3||Python 2||Python 2 & 3||Python 2|
|Page Count||504 pp.||560 pp.||264 pp.||192 pp.||352 pp.||216 pp.|
"Saha does an excellent job providing a clear link between Python and upper-level math concepts, and demonstrates how Python can be transformed into a mathematical stage. This book deserves a spot on every geometry teacher’s bookshelf."
—School Library Journal
About the Author
Amit Saha is a software engineer who has worked for Red Hat and Sun Microsystems. He created and maintains Fedora Scientific, a Linux distribution for scientific and educational users. He is also the author of Write Your First Program (Prentice Hall Learning).
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
You should know the basic Python syntax and structure, basic commands etc., before starting this book; it isn't a "beginners 1st Python" book. But one or two of the "24 hour" or "1 day" starter books will be sufficient. Also, this book is intended for people who want to get into serious math and graphics. If you are into science, engineering, etc., this is for you.
VERY well written and laid out; also, it isn't a big scary 600 page monster that might be intimidating to pick up and start - it's only 200 pages and there is no wasted space. A lot is said in minimal volume (I always like that). You will continue to learn Python as you proceed; also you will learn about math, graphics, and some physics as well. Most important - you will see how you can use Python to solve real world math problems and apply this to whatever you are doing.
It starts out simple with basic math functions, then rapidly progresses to graphing equations, then statistics; later on complex graphics (fractals - my thing), and calculus. Right now this is brain workout and fun for me, but I hope to use it later for work. The book is very easy to follow as you move along. You should use an interactive python editor (like Idle3) rather than try to run from the command line, although you can do that if you want.
One thing you can do is copy all the code snippets [after understanding them <g> and perhaps modifying a little] and collect them all in a personal python module which you can then use forever. Also, as you run the code snippets and play with them as you proceed through the book, you can experiment and modify / run them on the spot – this is a good way to learn – to stamp it into your brain in a way you will remember.
Fairly early in the book is a function which calculates and then graphically plots the trajectory of a thrown baseball; the technique is the same for any projectile. I was able to modify it a bit, put it in a loop, and graph the trajectory(s) for an object thrown at all angles from 0->90*. I was thus able to “prove” graphically something that is already well known – all other factors equal, a projectile will travel farthest when launched up at a 45* angle. Cool!
If you are in a science or engineering field and want to learn Python for that - I can't over-recommend this book!
However, there are a few mistakes, to wit:
On page 12, the author states that if you put a space while inputting a complex number, Python will throw an error message. Not so!
Here it is:
Python 3.4.3 |Anaconda 2.3.0 (64-bit)| (default, Mar 6 2015, 12:06:10) [MSC v.1600 64 bit (AMD64)] on win32
Type "copyright", "credits" or "license()" for more information.
>>> a = 3 + 2j
This is an amazing book. I have enjoyed working through the material with my students. During the first chapter Working With Numbers and going through some of the operations in programming we would diverge into discussions about why a certain operator was important and how it can be used. For example, we spent several minutes talking about modulo because the students didn't think getting just the remainder was important. We then used Python to determine what day of the week it would be in some ridiculous number of days by using modulo 7. It blew their minds and I could see a light go on in their eyes. The students haven't learned some of the mathematics material in the book but that's great since they get to see it for themselves in action before a typical lecture. I am looking forward to when we get to the geometry and fractals chapter. As a teacher I highly recommend this book as a way to work with someone in learning both math and programming.
As someone that already has experience with math and some programming (very slight experience in the programming) I still recommend this book. I wish I could have encountered this book earlier in my own education as a way to better solidify the math I was learning. The pacing and explanations are great for self-study. When I first received my copy I jumped right in and even though it starts at with treating Python as a glorified calculator it quickly gets interesting and fun. "Doing Math" is a very appropriate part of the title. When most people think of someone "doing math" they are thinking of someone doing calculations; that is, being taught an algorithm and then applying that algorithm to many similar problems. The approach of this book, however, is to look at the algorithms and in the process learn why they work. I love that. Doing math is thinking whereas calculating is not.
I'm working on incorporating some aspects of this into my regular classroom because I and my MESA students have been enjoying it so much.
If you are even considering this as a book to get, you should. And if you aren't considering it I think you should change your mind.