正弦函數的圖形
Author: 藍邦偉 老師

x

y

y=sinx

y=sin2x

y=sin(x/2)

y=|sinx|

y=sin|x|

y=2sinx

y=2sinx-1

y=sinx-|sinx|

y=sin(x-(π/4))

正弦函數的圖形

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 = true
p(x) = sin(2.0 * x)
d = false
q(x) = sin(x / 2.0)
e = false
r(x) = abs(sin(x))
i = false
t(x) = sin(abs(x))
k = false
f_1(x) = 2.0 * sin(x)
l = false
g_1(x) = 2.0 * sin(x) - 1.0
m = false
h_1(x) = sin(x) - abs(sin(x))
n = false
p_1(x) = sin(x - 3.141592653589793 / 4.0)
o = 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)