不同週期正弦函數的圖形
Author: 藍邦偉 老師

x

y

y=sinx

.

,

不同週期的正弦函數

$f(x)=sinx $

A_0 = Corner(1)
B_0 = Corner(3)
C_0: (x(A_0), 0)
D_0: (x(B_0), 0)
u = Vector(C_0, D_0)
E_0: (0, y(A_0))
F_0: (0, y(B_0))
v = Vector(E_0, F_0)
f(x) = sin(x)
a_1 = false
T_1 = Corner(1)
T_4 = Corner(4)
T_3: (3.9 * Corner[4] + 1.1 * Corner[3]) / 5
T_2: (3.9 * Corner[1] + 1.1 * Corner[2]) / 5
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
a = 1.3 (slider from 1 to 4, step 0.1)
b = 0.29 (slider from 0.1 to 1, step 0.05)
q(x) = sin(a * x)
c = false
d = false
g_1(x) = sin(b * x)
text3: "$ f_2(x)=sin(" + (LaTeX[FractionText[b]]) + "x) $"
text2: "$ f_1(x)=sin(" + (LaTeX[FractionText[a]]) + "x) $"