Math Adventures with Python
出版信息
Peter Farrell / No Starch Press / 2018-11-13 / GBP 24.99
内容简介
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!
In Math Adventures with Python, teacher and programmer Peter Farrell shows you how to explore core math concepts deeper than ever before by writing programs in Python. Following a crash course in general programming concepts (like loops, variables, and functions), you'll learn how to use Python's built in "turtle" graphics module, a tool that lets you draw intricate shapes using programs that repeat simple moves. Then, you'll create functions and programs to solve equations and take on other hard problems.
You'll also learn to use the Processing graphics library to create interactive 2D and 3D models of physical situations like solar systems and natural environments, using code to tackle topics like physics, biology, and ecology.
Learn how to:
-Automate repetitive arithmetic like factoring numbers and finding square roots
-Create tools like graphers and solvers that will help you explore number patterns and learn about functions and equations
-Create graphics like spirographs and harmonographs and explore matrices, vectors, and projectile motion
-Draw geometric shapes like polygons, spirals, and fractals like the Koch snowflake, Sierpinski triangle and Julia and Mandelbrot Sets.
-Write fun, visual programs to find derivatives, approximate integrals and solve differential equations!
Whether you're struggling to understanding math and want to know what it's really used for, a math lover curious about programming, or a teacher interested in integrating programming into the classroom, Math Adventures with Python will show you how to transform math with code.