正餘弦函數的合成
Author: 藍邦偉  老師

正餘弦函數的合成

.

,

a = -1 (slider from -10 to 10, step 1)
b = 2 (slider from -10 to 10, step 1)
f(x) = a * sin(x) + b * cos(x)
g(x) = a * sin(x)
h(x) = b * cos(x)
文字1: "y=" + a + "sinx"
文字2: "y=" + b + "cosx"
u = Vector((x(Corner[1.0]), 0.0), (x(Corner[3.0]), 0.0))
v = Vector((0.0, y(Corner[1.0])), (0.0, y(Corner[3.0])))
文字3: "y=" + a + "sinx+" + b + "cosx"
c = false
d = false