Math Adventures with Python: An Illustrated Guide to Exploring Math with Code (Paperback)

Peter Farrell

  • 出版商: No Starch Press
  • 出版日期: 2019-01-08
  • 售價: $1,050
  • 貴賓價: 9.5$998
  • 語言: 英文
  • 頁數: 304
  • 裝訂: Paperback
  • ISBN: 1593278675
  • ISBN-13: 9781593278670
  • 相關分類: Python程式語言
  • 相關翻譯: 用 Python 學數學 (簡中版)
  • 立即出貨 (庫存 < 4)

買這商品的人也買了...

相關主題

商品描述

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!

商品描述(中文翻譯)

用程式碼創造性地學習數學!使用Python程式語言來轉化高中水平的數學主題,如代數、幾何、三角學和微積分!

《Python數學冒險》將向您展示如何利用編程的力量使數學保持有趣和相關。借助Python程式語言的幫助,您將學習如何使用代碼可視化解決各種數學問題,並探索代數、三角學、矩陣和細胞自動機等重要數學概念。

一旦您掌握了循環和變量等編程基礎知識,您將編寫自己的程序來快速解方程,創建像交互式彩虹網格這樣的酷玩意,並自動化繁瑣的任務,如因數分解和找平方根。您將學習如何編寫函數來繪製和操作形狀,創建振盪的正弦波,並以圖形方式解方程。

您還將學習如何:
- 使用矩陣繪製和變換2D和3D圖形
- 使用複數創建像曼德博集合和茱莉亞集合這樣的多彩設計
- 使用遞歸創建科赫雪花和謝爾賓斯基三角形等分形
- 生成在草地上吃草並自主繁殖的虛擬羊
- 使用遺傳算法破解秘密代碼

通過完成本書中眾多的示例和越來越具挑戰性的練習,您將編寫自己的解決方案,創建美麗的可視化效果,並看到數學可以有多有趣!