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

x

y

y=sinx

y=sinx的幾個圖形

.

,

A_0 = Corner(1.0)
B_0 = Corner(3.0)
C_0: (x(A_0), 0.0)
D_0: (x(B_0), 0.0)
u = Vector(C_0, D_0)
E_0: (0.0, y(A_0))
F_0: (0.0, y(B_0))
v = Vector(E_0, F_0)
f(x) = sin(x)
a_1 = false
T_1 = Corner(1.0)
T_4 = Corner(4.0)
T_2: (4.0 * Corner[1.0] + Corner[2.0]) / 5.0
T_3: (4.0 * Corner[4.0] + Corner[3.0]) / 5.0
多邊形1, t_1, t_2, t_3, t_4 = Polygon(T_1, T_2, T_3, T_4)
a = 1.8 (slider from 1 to 4, step 0.1)
b = 0.8 (slider from 0.1 to 1, step 0.05)
q(x) = sin(a * x)
c = false
文字2: "y=sin(" + a + "x)"
d = false
g_1(x) = sin(b * x)
文字3: "y=sin(" + b + "x)"