Skip to Content
Math Adventures with Python
book

Math Adventures with Python

by Peter Farrell
January 2019
Intermediate to advanced
304 pages
7h 4m
English
No Starch Press
Content preview from Math Adventures with Python

7COMPLEX NUMBERS

Imaginary numbers are a fine and wonderful refuge of the divine spirit, almost an amphibian between being and non-being. —Gottfried Leibniz

image

Numbers containing the square root of –1 have been given a bad name in math classes. We call the square root of –1 an imaginary number, or i. Calling something “imaginary” makes it seem like it doesn’t exist or like there’s no real purpose for it. But imaginary numbers do exist, and they have a lot of real-world applications in fields such as electromagnetism, for instance.

In this chapter, you get a taste of the kinds of beautiful art you can create using complex numbers, which are numbers ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Doing Math with Python

Doing Math with Python

Amit Saha
Master Math by Coding in Python

Master Math by Coding in Python

Codestars By Rob Percival, Mike X Cohen
Math for Deep Learning

Math for Deep Learning

Ronald T. Kneusel
Python for Programmers

Python for Programmers

Paul Deitel, Harvey Deitel

Publisher Resources

ISBN: 9781492071228