需积分: 20 195 浏览量 更新于2023-05-25 评论 1 收藏 6.69MB PDF 举报
USE PROGRAMMING TO EXPLORE ALGEBRA,
STATISTICS, CALCULUS, AND MORE!
$29.95 ($34.95 CDN)
THE F INE ST IN G EEK E N TE RTA I N M E NT
“I LI E FLAT.”
This book uses a durable binding that won’t snap shut.
COVERS PYTHON 3
Doing Math with Python shows you how to use
Python to delve into high school–level math topics
like statistics, geometry, probability, and calculus.
You’ll start with simple projects, like a factoring
program and a quadratic-equation solver, and then
create more complex projects once you’ve gotten
the hang of things.
Along the way, you’ll discover new ways to explore
math and gain valuable programming skills that you’ll
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 Python’s symbolic math
• Draw geometric shapes and explore fractals like
the Barnsley fern, the Sierpin´ski triangle, and the
• Write programs to find derivatives and integrate
Creative coding challenges and applied examples help
you see how you can put your new math and coding
skills into practice. You’ll write an inequality solver, plot
gravity’s 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,
Whether you’re interested in math but have yet to dip
into programming or you’re a teacher looking to bring
programming into the classroom, you’ll find that Python
makes programming easy and practical. Let Python
handle the grunt work while you focus on the math.
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).
DOING MATH WITH PYTHON
Use Programming to
Explore Algebra, Statistics,
Calculus, and More!
by Amit Saha
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
19 18 17 16 15 1 2 3 4 5 6 7 8 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; firstname.lastname@example.org
Library of Congress Cataloging-in-Publication Data
Saha, Amit, author.
Doing math with Python : use programming to explore algebra, statistics, calculus, and more! / by
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.
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.
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
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.
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额