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

x

y

y=|cosx|

y=3cosx+1

y=3cosx

y=cos|x|

y=cosx-|cosx|

y=cos2x

y=cos(x+π/4)

y=cosx

餘弦函數的圖形

y=cos(x/3)

A_0 = Corner(1)
B_0 = Corner(3)
C_0: (x(A_0), 0)
D_0: (x(B_0), 0)
E_0: (0, y(A_0))
F_0: (0, y(B_0))
s(x) = abs(cos(x))
j = false
q_1(x) = 3 * cos(x) + 1
w = false
r_1(x) = 3 * cos(x)
z = false
s_1(x) = cos(abs(x))
a_1 = false
t_1(x) = cos(x) - abs(cos(x))
b_1 = false
f_2(x) = cos(2 * x)
c_1 = false
g_2(x) = cos(x + 3.141592653589793 / 4)
d_1 = false
g(x) = cos(x)
b = false
q(x) = cos(x / 3)
a = false
c = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
d = Vector((0, y(Corner[1])), (0, y(Corner[3])))
T_1 = Corner(1)
T_4 = Corner(4)
T_2: (4 * Corner[1] + Corner[2]) / 5
T_3: (4 * Corner[4] + Corner[3]) / 5
多邊形1, t_2, t_3, t_4, t_5 = Polygon(T_1, T_2, T_3, T_4)