Doing Math with Python

Author: Amit Saha
Publisher: No Starch Press
ISBN: 1593276400
Format: PDF, Docs
Download Now
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 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. 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, and more. 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.

Doing Math with Python

Author: Amit Saha
Publisher: No Starch Press
ISBN: 1593277199
Format: PDF, Kindle
Download Now
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 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. 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, and more. 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. Uses Python 3

Mathematics and Python Programming

Author: J.C. Bautista
Publisher: Lulu.com
ISBN: 1326017969
Format: PDF, Mobi
Download Now
"We have developed 120 Python programs and more than 110 illustrations in a work that will be useful both to students of science of the first university science courses, as well as high school students and teachers, and to anyone interested in Python programming intending to acquire new tools to expose mathematical concepts in a didactic and modern fashion....The book begins with a detailed introduction to Python, followed by ten chapters of mathematics with its corresponding Python programs, results and graphs."--Cover.

Instant SymPy Starter

Author: Ronan Lamy
Publisher: Packt Publishing Ltd
ISBN: 1782163638
Format: PDF, Docs
Download Now
Get to grips with a new technology, understand what it is and what it can do for you, and then get to work with the most important features and tasks.Learning SymPy Starter is an easy-to understand, practical guide packed with real-world examples. It covers everything from the installation steps to the numerous features provided by SymPy.This book is for Python developers. A good grounding in Python is assumed, as well as a bit of familiarity with its scientific ecosystem.

Math Adventures with Python

Author: Peter Farrell
Publisher: No Starch Press
ISBN: 9781593278670
Format: PDF, Docs
Download Now
"Teaches math concepts through programming. Begins with a crash course in basic programming concepts and how to use Python's built-in Turtle module, and then explores topics like writing programs to solve equations and matrices, drawing polygons and fractals, and using the Processing graphics library to create interactive 2D and 3D models"--

Python Playground

Author: Mahesh Venkitachalam
Publisher: No Starch Press
ISBN: 1593277334
Format: PDF, ePub, Mobi
Download Now
Python is a powerful programming language that’s easy to learn and fun to play with. But once you’ve gotten a handle on the basics, what do you do next? Python Playground is a collection of imaginative programming projects that will inspire you to use Python to make art and music, build simulations of real-world phenomena, and interact with hardware like the Arduino and Raspberry Pi. You’ll learn to use common Python tools and libraries like numpy, matplotlib, and pygame to do things like: –Generate Spirograph-like patterns using parametric equations and the turtle module –Create music on your computer by simulating frequency overtones –Translate graphical images into ASCII art –Write an autostereogram program that produces 3D images hidden beneath random patterns –Make realistic animations with OpenGL shaders by exploring particle systems, transparency, and billboarding techniques –Construct 3D visualizations using data from CT and MRI scans –Build a laser show that responds to music by hooking up your computer to an Arduino Programming shouldn’t be a chore. Have some solid, geeky fun with Python Playground. The projects in this book are compatible with both Python 2 and 3.

A Primer on Scientific Programming with Python

Author: Hans Petter Langtangen
Publisher: Springer
ISBN: 3662498871
Format: PDF, ePub, Docs
Download Now
The book serves as a first introduction to computer programming of scientific applications, using the high-level Python language. The exposition is example and problem-oriented, where the applications are taken from mathematics, numerical calculus, statistics, physics, biology and finance. The book teaches "Matlab-style" and procedural programming as well as object-oriented programming. High school mathematics is a required background and it is advantageous to study classical and numerical one-variable calculus in parallel with reading this book. Besides learning how to program computers, the reader will also learn how to solve mathematical problems, arising in various branches of science and engineering, with the aid of numerical methods and programming. By blending programming, mathematics and scientific applications, the book lays a solid foundation for practicing computational science. From the reviews: Langtangen ... does an excellent job of introducing programming as a set of skills in problem solving. He guides the reader into thinking properly about producing program logic and data structures for modeling real-world problems using objects and functions and embracing the object-oriented paradigm. ... Summing Up: Highly recommended. F. H. Wild III, Choice, Vol. 47 (8), April 2010 Those of us who have learned scientific programming in Python ‘on the streets’ could be a little jealous of students who have the opportunity to take a course out of Langtangen’s Primer.” John D. Cook, The Mathematical Association of America, September 2011 This book goes through Python in particular, and programming in general, via tasks that scientists will likely perform. It contains valuable information for students new to scientific computing and would be the perfect bridge between an introduction to programming and an advanced course on numerical methods or computational science. Alex Small, IEEE, CiSE Vol. 14 (2), March /April 2012 “This fourth edition is a wonderful, inclusive textbook that covers pretty much everything one needs to know to go from zero to fairly sophisticated scientific programming in Python...” Joan Horvath, Computing Reviews, March 2015

Hacking Math Class with Python

Author: Peter A. Farrell
Publisher: Createspace Independent Publishing Platform
ISBN: 9781508656944
Format: PDF, ePub
Download Now
A new kind of math book! Explore math topics from arithmetic to calculus by creating your own graphing and solving tools using Python. Create 2D and 3D graphics, harmonograph and spirograph designs, and fractals in this interactive and visual exploration of mathematics. "A great resource to play with Math and Python via the turtle module, solving equations numerically and 3D graphics via Pi3D." - Amit Saha, author of Doing Math With Python Imagine learning math and Python programming at the same time! You'll learn to use loops, variables, functions, conditionals and lists and apply them to all your math problems. No previous computer experience is required.

Python for Kids

Author: Jason R. Briggs
Publisher: No Starch Press
ISBN: 1593274076
Format: PDF, ePub
Download Now
Introduces the basics of the Python programming language, covering how to use data structures, organize and reuse code, draw shapes and patterns with turtle, and create games and animations with tkinter.