• Complain

Amit Saha - Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!

Here you can read online Amit Saha - Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2015, publisher: No Starch Press, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!
  • Author:
  • Publisher:
    No Starch Press
  • Genre:
  • Year:
    2015
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Doing Math with Python shows you how to use Python to delve into high schoollevel math topics like statistics, geometry, probability, and calculus. Youll start with simple projects, like a factoring program and a quadratic-equation solver, and then create more complex projects once youve gotten the hang of things.

Along the way, youll discover new ways to explore math and gain valuable programming skills that youll use throughout your study of math and computer science. Learn how to:

  • Describe your data with statistics, and visualize it with line graphs, bar charts, and scatter plots
  • Explore set theory and probability with programs for coin flips, dicing, and other games of chance
  • Solve algebra problems using Pythons symbolic math functions
  • Draw geometric shapes and explore fractals like the Barnsley fern, the Sierpinski triangle, and the Mandelbrot set
  • Write programs to find derivatives and integrate functions
Creative coding challenges and applied examples help you see how you can put your new math and coding skills into practice. Youll write an inequality solver, plot gravitys effect on how far a bullet will travel, shuffle a deck of cards, estimate the area of a circle by throwing 100,000 darts at a board, explore the relationship between the Fibonacci sequence and the golden ratio, and more.

Whether youre interested in math but have yet to dip into programming or youre a teacher looking to bring programming into the classroom, youll find that Python makes programming easy and practical. Let Python handle the grunt work while you focus on the math.

Amit Saha: author's other books


Who wrote Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!? Find out the surname, the name of the author of the book and a list of all author's works by series.

Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
DOING MATH WITH PYTHON

Use Programming to Explore Algebra, Statistics, Calculus, and More!

by Amit Saha

Doing Math with Python Use Programming to Explore Algebra Statistics Calculus and More - image 1

San Francisco

DOING MATH WITH PYTHON. Copyright 2015 by Amit Saha.

All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher.

Printed in USA

First printing

19 18 17 16 15 1 2 3 4 5 6 7 8 9

ISBN-10: 1-59327-640-0

ISBN-13: 978-1-59327-640-9

Publisher: William Pollock

Production Editor: Riley Hoffman

Cover Illustration: Josh Ellingson

Interior Design: Octopod Studios

Developmental Editors: Seph Kramer and Tyler Ortman

Technical Reviewer: Jeremy Kun

Copyeditor: Julianne Jigour

Compositor: Riley Hoffman

Proofreader: Paula L. Fleming

For information on distribution, translations, or bulk sales, please contact No Starch Press, Inc. directly:

No Starch Press, Inc.

245 8th Street, San Francisco, CA 94103

phone: 415.863.9900;

www.nostarch.com

Library of Congress Cataloging-in-Publication Data

Saha, Amit, author.
Doing math with Python : use programming to explore algebra, statistics, calculus, and more! / by
Amit Saha.
pages cm
Summary: Uses the Python programming language as a tool to explore high school-level mathematics
like statistics, geometry, probability, and calculus by writing programs to find derivatives, solve
equations graphically, manipulate algebraic expressions, and examine projectile motion. Covers
programming concepts including using functions, handling user input, and reading and manipulating
data-- Provided by publisher.
Includes index.
ISBN 978-1-59327-640-9 -- ISBN 1-59327-640-0
1. Mathematics--Study and teaching--Data processing. 2. Python (Computer program language) 3.
Computer programming. I. Title.
QA20.C65S24 2015
510.2855133--dc23
2015009186

No Starch Press and the No Starch Press logo are registered trademarks of No Starch Press, Inc. Other product and company names mentioned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark.

The information in this book is distributed on an As Is basis, without warranty. While every precaution has been taken in the preparation of this work, neither the author nor No Starch Press, Inc. shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in it.

To Protyusha, for never giving up on me

Contents in Detail
Acknowledgments

I would like to thank everyone at No Starch Press for making this book possible. From the first emails discussing the book idea with Bill Pollock and Tyler Ortman, through the rest of the process, everyone there has been an absolute pleasure to work with. Seph Kramer was amazing with his technical insights and suggestions and Riley Hoffman was meticulous in checking and re-checking that everything was correct. It is only fair to say that without these two fine people, this book wouldnt have been close to what it is. Thanks to Jeremy Kun and Otis Chodosh for their insights and making sure all the math made sense. I would also like to thank the copyeditor, Julianne Jigour, for her thoroughness.

SymPy forms a core part of many chapters in this book and I would like to thank everyone on the SymPy mailing list for answering my queries patiently and reviewing my patches with promptness. I would also like to thank the matplotlib community for answering and clearing up my doubts.

I would like to thank David Ash for lending me his Macbook, which helped me when writing the software installation instructions.

I also must thank every writer and thinker who inspired me to write, from humble web pages to my favorite books.

Introduction
This books goal is to bring together three topics near to my heartprogramming - photo 2

This books goal is to bring together three topics near to my heartprogramming, math, and science. What does that mean exactly? Within these pages, well programmatically explore high schoollevel topics, like manipulating units of measurement; examining projectile motion; calculating mean, median, and mode; determining linear correlation; solving algebraic equations; describing the motion of a simple pendulum; simulating dice games; creating geometric shapes; and finding the limits, derivatives, and integrals of functions. These are familiar topics for many, but instead of using pen and paper, well use our computer to explore them.

Well write programs that will take numbers and formulas as input, do the tedious calculations needed, and then spit out the solution or draw a graph. Some of these programs are powerful calculators for solving math problems. They find the solutions to equations, calculate the correlation between sets of data, and determine the maximum value of a function, among other tasks. In other programs, well simulate real-life events, such as projectile motion, a coin toss, or a die roll. Using programs to simulate such events gives us an easy way to analyze and learn more about them.

Youll also find topics that would be extremely difficult to explore without programs. For example, drawing fractals by hand is tedious at best and close to impossible at worst. With a program, all we need to do is run a for loop with the relevant operation in the body of the loop.

I think youll find that this new context for doing math makes learning both programming and math more exciting, fun, and rewarding.

Who Should Read This Book

If you yourself are learning programming, youll appreciate how this book demonstrates ways to solve problems with computers. Likewise, if you teach such learners, I hope you find this book useful to demonstrate the application of programming skills beyond the sometimes abstract world of computer science.

This book assumes the reader knows the absolute basics of Python programming using Python 3specifically, what a function is, function arguments, the concept of a Python class and class objects, and loops. covers some of the other Python topics that are used by the programs, but this book doesnt assume knowledge of these additional topics. If you find yourself needing more background, I recommend reading Python for Kids by Jason Briggs (No Starch Press, 2013).

Whats in This Book?

This book consists of seven chapters and two appendices. Each chapter ends with challenges for the reader. I recommend giving these a try, as theres much to learn from trying to write your own original programs. Some of these challenges will ask you to explore new topics, which is a great way to enhance your learning.

, Working with Numbers, starts off with basic mathematical operations and gradually moves on to topics requiring a higher level of math know-how.

, Visualizing Data with Graphs, discusses creating graphs from data sets using the matplotlib library.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!»

Look at similar books to Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More!»

Discussion, reviews of the book Doing Math with Python: Use Programming to Explore Algebra, Statistics, Calculus, and More! and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.