問題:「如何使用Python來繪製三角函數圖形呢?」
- 9.2.1. Number-theoretic and representation functions
- 9.2.2. Power and logarithmic functions
- 9.2.3. Trigonometric functions
- 9.2.4. Angular conversion
- 9.2.5. Hyperbolic functions
- 9.2.6. Special functions
- 9.2.7. Constants
在Trigonometric functions一節中可查到底下三個:
math.
cos
(x)- Return the cosine of x radians.
math.
sin
(x)- Return the sine of x radians.
math.
tan
(x)- Return the tangent of x radians.
範例程式:
輸出圖:
沒有留言:
張貼留言