concept trigonometry in category python

appears as: trigonometry
Math for Programmers: 3D graphics, machine learning, and simulations with Python

This is an excerpt from Manning's book Math for Programmers: 3D graphics, machine learning, and simulations with Python.

Calculators are prevalent in math classes because it’s useful to check your work. You need to know how to multiply 6 by 7 without using your calculator, but it’s good to confirm that your answer of 42 is correct by consulting your calculator. The calculator also helps you save time once you’ve mastered mathematical concepts. If you’re doing trigonometry, and you need to know the answer to 3.14159 / 6, the calculator is there to handle it so you can instead think about what the answer means. The more a calculator can do out-of-the-box, the more useful it should theoretically be.

The length of a vector is not enough to describe it, nor is the distance between two vectors enough information to get from one to the other. In both cases, the missing ingredient is direction. If you know how long a vector is and you know what direction it is pointing, you can identify it and find its coordinates. To a large extent, this is what trigonometry is about, and we’ll review that subject in the next section.

Figure 7.5: Using trigonometry to find the off-screen point where the laser beam ends