Author: Peter Farrell
Publisher: No Starch Press
ISBN: 1593278683
Category : Computers
Languages : en
Pages : 305
Book Description
Learn math by getting creative with code! Use the Python programming language to transform learning high school-level math topics like algebra, geometry, trigonometry, and calculus! Math Adventures with Python will show you how to harness the power of programming to keep math relevant and fun. With the aid of the Python programming language, you'll learn how to visualize solutions to a range of math problems as you use code to explore key mathematical concepts like algebra, trigonometry, matrices, and cellular automata. Once you've learned the programming basics like loops and variables, you'll write your own programs to solve equations quickly, make cool things like an interactive rainbow grid, and automate tedious tasks like factoring numbers and finding square roots. You'll learn how to write functions to draw and manipulate shapes, create oscillating sine waves, and solve equations graphically. You'll also learn how to: - Draw and transform 2D and 3D graphics with matrices - Make colorful designs like the Mandelbrot and Julia sets with complex numbers - Use recursion to create fractals like the Koch snowflake and the Sierpinski triangle - Generate virtual sheep that graze on grass and multiply autonomously - Crack secret codes using genetic algorithms As you work through the book's numerous examples and increasingly challenging exercises, you'll code your own solutions, create beautiful visualizations, and see just how much more fun math can be!
Math Adventures with Python
Math Adventures with Python
Author: Peter Farrell
Publisher: No Starch Press
ISBN: 1593278675
Category : Computers
Languages : en
Pages : 305
Book Description
Learn math by getting creative with code! Use the Python programming language to transform learning high school-level math topics like algebra, geometry, trigonometry, and calculus! Math Adventures with Python will show you how to harness the power of programming to keep math relevant and fun. With the aid of the Python programming language, you'll learn how to visualize solutions to a range of math problems as you use code to explore key mathematical concepts like algebra, trigonometry, matrices, and cellular automata. Once you've learned the programming basics like loops and variables, you'll write your own programs to solve equations quickly, make cool things like an interactive rainbow grid, and automate tedious tasks like factoring numbers and finding square roots. You'll learn how to write functions to draw and manipulate shapes, create oscillating sine waves, and solve equations graphically. You'll also learn how to: - Draw and transform 2D and 3D graphics with matrices - Make colorful designs like the Mandelbrot and Julia sets with complex numbers - Use recursion to create fractals like the Koch snowflake and the Sierpinski triangle - Generate virtual sheep that graze on grass and multiply autonomously - Crack secret codes using genetic algorithms As you work through the book's numerous examples and increasingly challenging exercises, you'll code your own solutions, create beautiful visualizations, and see just how much more fun math can be!
Publisher: No Starch Press
ISBN: 1593278675
Category : Computers
Languages : en
Pages : 305
Book Description
Learn math by getting creative with code! Use the Python programming language to transform learning high school-level math topics like algebra, geometry, trigonometry, and calculus! Math Adventures with Python will show you how to harness the power of programming to keep math relevant and fun. With the aid of the Python programming language, you'll learn how to visualize solutions to a range of math problems as you use code to explore key mathematical concepts like algebra, trigonometry, matrices, and cellular automata. Once you've learned the programming basics like loops and variables, you'll write your own programs to solve equations quickly, make cool things like an interactive rainbow grid, and automate tedious tasks like factoring numbers and finding square roots. You'll learn how to write functions to draw and manipulate shapes, create oscillating sine waves, and solve equations graphically. You'll also learn how to: - Draw and transform 2D and 3D graphics with matrices - Make colorful designs like the Mandelbrot and Julia sets with complex numbers - Use recursion to create fractals like the Koch snowflake and the Sierpinski triangle - Generate virtual sheep that graze on grass and multiply autonomously - Crack secret codes using genetic algorithms As you work through the book's numerous examples and increasingly challenging exercises, you'll code your own solutions, create beautiful visualizations, and see just how much more fun math can be!
Doing Math with Python
Author: Amit Saha
Publisher: No Starch Press
ISBN: 1593277199
Category : Computers
Languages : en
Pages : 265
Book Description
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
Publisher: No Starch Press
ISBN: 1593277199
Category : Computers
Languages : en
Pages : 265
Book Description
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
Adventures in Python
Author: Craig Richardson
Publisher: John Wiley & Sons
ISBN: 1118951794
Category : Computers
Languages : en
Pages : 294
Book Description
The complete beginner's guide to Python, for young people who want to start today Adventures in Python is designed for 11-to 15-year olds who want to teach themselves Python programming, but don't know where to start. Even if you have no programming experience at all, this easy to follow format and clear, simple instruction will get you up and running quickly. The book walks you through nine projects that teach you the fundamentals of programming in general, and Python in particular, gradually building your skills until you have the confidence and ability to tackle your own projects. Video clips accompany each chapter to provide even more detailed explanation of important concepts, so you feel supported every step of the way. Python is one of the top programming languages worldwide, with an install base in the millions. It's a favourite language at Google, YouTube, the BBC, and Spotify, and is the primary programming language for the Raspberry Pi. As an open-source language, Python is freely downloadable, with extensive libraries readily available, making it an ideal entry into programming for the beginner. Adventures in Python helps you get started, giving you the foundation you need to follow your curiosity. Start learning Python at its most basic level Learn where to acquire Python and how to set it up Understand Python syntax and interpretation for module programming Develop the skills that apply to any programming language Python programming skills are invaluable, and developing proficiency gives you a head start in learning other languages like C++, Objective-C, and Java. When learning feels like fun, you won't ever want to stop – so get started today with Adventures in Python.
Publisher: John Wiley & Sons
ISBN: 1118951794
Category : Computers
Languages : en
Pages : 294
Book Description
The complete beginner's guide to Python, for young people who want to start today Adventures in Python is designed for 11-to 15-year olds who want to teach themselves Python programming, but don't know where to start. Even if you have no programming experience at all, this easy to follow format and clear, simple instruction will get you up and running quickly. The book walks you through nine projects that teach you the fundamentals of programming in general, and Python in particular, gradually building your skills until you have the confidence and ability to tackle your own projects. Video clips accompany each chapter to provide even more detailed explanation of important concepts, so you feel supported every step of the way. Python is one of the top programming languages worldwide, with an install base in the millions. It's a favourite language at Google, YouTube, the BBC, and Spotify, and is the primary programming language for the Raspberry Pi. As an open-source language, Python is freely downloadable, with extensive libraries readily available, making it an ideal entry into programming for the beginner. Adventures in Python helps you get started, giving you the foundation you need to follow your curiosity. Start learning Python at its most basic level Learn where to acquire Python and how to set it up Understand Python syntax and interpretation for module programming Develop the skills that apply to any programming language Python programming skills are invaluable, and developing proficiency gives you a head start in learning other languages like C++, Objective-C, and Java. When learning feels like fun, you won't ever want to stop – so get started today with Adventures in Python.
Statistical Learning with Math and Python
Author: Joe Suzuki
Publisher: Springer Nature
ISBN: 981157877X
Category : Computers
Languages : en
Pages : 261
Book Description
The most crucial ability for machine learning and data science is mathematical logic for grasping their essence rather than knowledge and experience. This textbook approaches the essence of machine learning and data science by considering math problems and building Python programs. As the preliminary part, Chapter 1 provides a concise introduction to linear algebra, which will help novices read further to the following main chapters. Those succeeding chapters present essential topics in statistical learning: linear regression, classification, resampling, information criteria, regularization, nonlinear regression, decision trees, support vector machines, and unsupervised learning. Each chapter mathematically formulates and solves machine learning problems and builds the programs. The body of a chapter is accompanied by proofs and programs in an appendix, with exercises at the end of the chapter. Because the book is carefully organized to provide the solutions to the exercises in each chapter, readers can solve the total of 100 exercises by simply following the contents of each chapter. This textbook is suitable for an undergraduate or graduate course consisting of about 12 lectures. Written in an easy-to-follow and self-contained style, this book will also be perfect material for independent learning.
Publisher: Springer Nature
ISBN: 981157877X
Category : Computers
Languages : en
Pages : 261
Book Description
The most crucial ability for machine learning and data science is mathematical logic for grasping their essence rather than knowledge and experience. This textbook approaches the essence of machine learning and data science by considering math problems and building Python programs. As the preliminary part, Chapter 1 provides a concise introduction to linear algebra, which will help novices read further to the following main chapters. Those succeeding chapters present essential topics in statistical learning: linear regression, classification, resampling, information criteria, regularization, nonlinear regression, decision trees, support vector machines, and unsupervised learning. Each chapter mathematically formulates and solves machine learning problems and builds the programs. The body of a chapter is accompanied by proofs and programs in an appendix, with exercises at the end of the chapter. Because the book is carefully organized to provide the solutions to the exercises in each chapter, readers can solve the total of 100 exercises by simply following the contents of each chapter. This textbook is suitable for an undergraduate or graduate course consisting of about 12 lectures. Written in an easy-to-follow and self-contained style, this book will also be perfect material for independent learning.
Elementary Math for Computer Science with Python
Author: Eric Bennett
Publisher: Independently Published
ISBN:
Category :
Languages : en
Pages : 192
Book Description
Learning to code is an attractive option for many parents and elementary-aged students. Most simple computer programs, however, rely on math concepts that are not yet part of a typical, elementary school curriculum. This text solves that problem by presenting math concepts selected for their importance to computer science in a way that is accessible to a younger audience through: visual models and worked examples; thoughtfully sequenced, scaffolded practice problems; written introductions, illustrations and word problems that provide real-world context; coding examples and projects written in Python; coding challenges and extensions; solutions to all practice problems, comprehension questions and selected challenges. While many math and computer science courses equip students to complete problems by rote and copy an instructor's code, this curriculum is aimed toward facilitating the meaningful learning necessary for students to solve problems and produce original work. Note: it is recommended that students are reading at a third grade level and familiar with whole-number addition, subtraction, multiplication and division.
Publisher: Independently Published
ISBN:
Category :
Languages : en
Pages : 192
Book Description
Learning to code is an attractive option for many parents and elementary-aged students. Most simple computer programs, however, rely on math concepts that are not yet part of a typical, elementary school curriculum. This text solves that problem by presenting math concepts selected for their importance to computer science in a way that is accessible to a younger audience through: visual models and worked examples; thoughtfully sequenced, scaffolded practice problems; written introductions, illustrations and word problems that provide real-world context; coding examples and projects written in Python; coding challenges and extensions; solutions to all practice problems, comprehension questions and selected challenges. While many math and computer science courses equip students to complete problems by rote and copy an instructor's code, this curriculum is aimed toward facilitating the meaningful learning necessary for students to solve problems and produce original work. Note: it is recommended that students are reading at a third grade level and familiar with whole-number addition, subtraction, multiplication and division.
Hacking Math Class with Python
Author: Peter A. Farrell
Publisher: Createspace Independent Publishing Platform
ISBN: 9781508656944
Category :
Languages : en
Pages : 144
Book Description
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.
Publisher: Createspace Independent Publishing Platform
ISBN: 9781508656944
Category :
Languages : en
Pages : 144
Book Description
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.
Problem Solving Through Recreational Mathematics
Author: Bonnie Averbach
Publisher: Courier Corporation
ISBN: 0486131742
Category : Mathematics
Languages : en
Pages : 482
Book Description
Fascinating approach to mathematical teaching stresses use of recreational problems, puzzles, and games to teach critical thinking. Logic, number and graph theory, games of strategy, much more. Includes answers to selected problems. Free solutions manual available for download at the Dover website.
Publisher: Courier Corporation
ISBN: 0486131742
Category : Mathematics
Languages : en
Pages : 482
Book Description
Fascinating approach to mathematical teaching stresses use of recreational problems, puzzles, and games to teach critical thinking. Logic, number and graph theory, games of strategy, much more. Includes answers to selected problems. Free solutions manual available for download at the Dover website.
The Recursive Book of Recursion
Author: Al Sweigart
Publisher: No Starch Press
ISBN: 1718502036
Category : Computers
Languages : en
Pages : 330
Book Description
An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples. Recursion has an intimidating reputation: it’s considered to be an advanced computer science topic frequently brought up in coding interviews. But there’s nothing magical about recursion. The Recursive Book of Recursion uses Python and JavaScript examples to teach the basics of recursion, exposing the ways that it’s often poorly taught and clarifying the fundamental principles of all recursive algorithms. You’ll learn when to use recursive functions (and, most importantly, when not to use them), how to implement the classic recursive algorithms often brought up in job interviews, and how recursive techniques can help solve countless problems involving tree traversal, combinatorics, and other tricky topics. This project-based guide contains complete, runnable programs to help you learn: How recursive functions make use of the call stack, a critical data structure almost never discussed in lessons on recursion How the head-tail and “leap of faith” techniques can simplify writing recursive functions How to use recursion to write custom search scripts for your filesystem, draw fractal art, create mazes, and more How optimization and memoization make recursive algorithms more efficient Al Sweigart has built a career explaining programming concepts in a fun, approachable manner. If you’ve shied away from learning recursion but want to add this technique to your programming toolkit, or if you’re racing to prepare for your next job interview, this book is for you.
Publisher: No Starch Press
ISBN: 1718502036
Category : Computers
Languages : en
Pages : 330
Book Description
An accessible yet rigorous crash course on recursive programming using Python and JavaScript examples. Recursion has an intimidating reputation: it’s considered to be an advanced computer science topic frequently brought up in coding interviews. But there’s nothing magical about recursion. The Recursive Book of Recursion uses Python and JavaScript examples to teach the basics of recursion, exposing the ways that it’s often poorly taught and clarifying the fundamental principles of all recursive algorithms. You’ll learn when to use recursive functions (and, most importantly, when not to use them), how to implement the classic recursive algorithms often brought up in job interviews, and how recursive techniques can help solve countless problems involving tree traversal, combinatorics, and other tricky topics. This project-based guide contains complete, runnable programs to help you learn: How recursive functions make use of the call stack, a critical data structure almost never discussed in lessons on recursion How the head-tail and “leap of faith” techniques can simplify writing recursive functions How to use recursion to write custom search scripts for your filesystem, draw fractal art, create mazes, and more How optimization and memoization make recursive algorithms more efficient Al Sweigart has built a career explaining programming concepts in a fun, approachable manner. If you’ve shied away from learning recursion but want to add this technique to your programming toolkit, or if you’re racing to prepare for your next job interview, this book is for you.
Slicing Pizzas, Racing Turtles, and Further Adventures in Applied Mathematics
Author: Robert B. Banks
Publisher: Princeton University Press
ISBN: 1400843030
Category : Mathematics
Languages : en
Pages : 302
Book Description
Have you ever daydreamed about digging a hole to the other side of the world? Robert Banks not only entertains such ideas but, better yet, he supplies the mathematical know-how to turn fantasies into problem-solving adventures. In this sequel to the popular Towing Icebergs, Falling Dominoes (Princeton, 1998), Banks presents another collection of puzzles for readers interested in sharpening their thinking and mathematical skills. The problems range from the wondrous to the eminently practical. In one chapter, the author helps us determine the total number of people who have lived on earth; in another, he shows how an understanding of mathematical curves can help a thrifty lover, armed with construction paper and scissors, keep expenses down on Valentine's Day. In twenty-six chapters, Banks chooses topics that are fairly easy to analyze using relatively simple mathematics. The phenomena he describes are ones that we encounter in our daily lives or can visualize without much trouble. For example, how do you get the most pizza slices with the least number of cuts? To go from point A to point B in a downpour of rain, should you walk slowly, jog moderately, or run as fast as possible to get least wet? What is the length of the seam on a baseball? If all the ice in the world melted, what would happen to Florida, the Mississippi River, and Niagara Falls? Why do snowflakes have six sides? Covering a broad range of fields, from geography and environmental studies to map- and flag-making, Banks uses basic algebra and geometry to solve problems. If famous scientists have also pondered these questions, the author shares the historical details with the reader. Designed to entertain and to stimulate thinking, this book can be read for sheer personal enjoyment.
Publisher: Princeton University Press
ISBN: 1400843030
Category : Mathematics
Languages : en
Pages : 302
Book Description
Have you ever daydreamed about digging a hole to the other side of the world? Robert Banks not only entertains such ideas but, better yet, he supplies the mathematical know-how to turn fantasies into problem-solving adventures. In this sequel to the popular Towing Icebergs, Falling Dominoes (Princeton, 1998), Banks presents another collection of puzzles for readers interested in sharpening their thinking and mathematical skills. The problems range from the wondrous to the eminently practical. In one chapter, the author helps us determine the total number of people who have lived on earth; in another, he shows how an understanding of mathematical curves can help a thrifty lover, armed with construction paper and scissors, keep expenses down on Valentine's Day. In twenty-six chapters, Banks chooses topics that are fairly easy to analyze using relatively simple mathematics. The phenomena he describes are ones that we encounter in our daily lives or can visualize without much trouble. For example, how do you get the most pizza slices with the least number of cuts? To go from point A to point B in a downpour of rain, should you walk slowly, jog moderately, or run as fast as possible to get least wet? What is the length of the seam on a baseball? If all the ice in the world melted, what would happen to Florida, the Mississippi River, and Niagara Falls? Why do snowflakes have six sides? Covering a broad range of fields, from geography and environmental studies to map- and flag-making, Banks uses basic algebra and geometry to solve problems. If famous scientists have also pondered these questions, the author shares the historical details with the reader. Designed to entertain and to stimulate thinking, this book can be read for sheer personal enjoyment.