In everything there is a positive and a negative, a black and a white.Last time we introduced np.sin(), np.cos(), and np.tan(), and this time we will introduce the inverse trigonometric functions np.arcsin(), np.arccos(), and np.arctan(). So once you have obtained the result of np.sin(), you can use np.arcsin() to deduce it back.
We also mentioned the concept of degrees and radians earlier, and NumPy provides conversions for both, np.deg2rad() and np.rad2deg(), which is literally what this function is used for. The rest is up to you to do.


請先 登入 以發表留言。