November 2018
Beginner to intermediate
214 pages
5h 2m
English
First, we will bring up a simple plot with the following code:
nums = np.arange(0,10,0.1)plt.plot(nums, nums/10.)plt.plot(nums, np.sin(nums))plt.plot(nums, np.cos(nums))
The preceding code will give the following output:

The preceding output shows a sine and cosine plot, with a linear plot alongside it. We will take a look at the cosine and sine plot, but not as a function of its linear length. Instead, we will interpret it in which sine and cosine are used mathematically, namely regarding their trigonometric functions, which deal with angles. The numbers that we are passing to sine and cosine can be interpreted as angles, ...
Read now
Unlock full access