Book Image

NumPy: Beginner's Guide

By : Ivan Idris
Book Image

NumPy: Beginner's Guide

By: Ivan Idris

Overview of this book

Table of Contents (21 chapters)
NumPy Beginner's Guide Third Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
NumPy Functions' References
Index

Lissajous curves


All the standard trigonometric functions such as sin, cos, tan, and so on are represented by universal functions in NumPy (see https://www.khanacademy.org/math/trigonometry). Lissajous curves are a fun way of using trigonometry. I remember producing Lissajous figures on an oscilloscope in the physics lab. Two parametric equations describe the figures:

x = A sin(at + π/2)
y = B sin(bt)