正割函数(sec)

  • admin
  • 2026-01-15 04:34:10

1. 定义

正割与余弦互为倒数,余割与正弦互为倒数。即:

⎧⎩⎨⎪⎪⎪⎪secθ=1cosθcscθ=1sinθ

也即在几何上,设 △ABC,∠C=90°,AC=b,BC=a,AB=c,

正割函数:sec∠A=c/b(斜边/邻边)。

2. 可视化(matlab)

我们画出 sec 正割函数在定义域 −π/2

x1 = -pi/2+.01:.01:pi/2-.01;

x2 = pi/2+.01:.01:3*pi/2-.01;

plot(x1, sec(x1), x2, sec(x2)), grid on, box off