请输入函数：y=

请输入自变量取值： x=

复位

连线

$\huge\textcolor{}{x}$

$\huge\textcolor{}{y}$

 π 

f(x) = (2 * cos(x))
InputBox1 = Textfield(f)
a: 1
InputBox2 = Textfield(a)
l1: {1.5, 0, -0.5, 0.5, 1}
l2 = Sort(l1)
l3: f((l2 * π))
k = 4.71238898038469 (slider from (Min[l1] * π) to (Max[l1] * π), step 0.001)
l2' = Sequence(If[Element[l2, k] ≟ 0, "0", Element[l2, k] ≟ 1, " π ", Element[l2, k] ≟ -1, " -π ", FractionText[Element[l2, k]] + " π "], k, 1, Length[l2])
l3' = Sequence(SurdText[Element[l3, k]], k, 1, Length[l3])
l4: ((l2 * π), l3)
text1 = If(l1 ≟ {}, TableText[{"x"}, {"y"}, "c_|"], TableText[Flatten[{"x", l2'}], Flatten[{f, l3'}], "c_|"])
g(x) = f(x) / ((Min[l1] * π) < x < k)
A, B, l5, l6, l7, l8, l9, l10, u, v = 坐标系(-1, 2, 2)

Tool: 坐标系
请输入：x轴最小值/π,x轴最大值/π,y轴最大值
Input: m, n, p
Output: A, B, l1, l2, l3, l4, l5, l6, u, v

$\huge\textcolor{}{x}$

$\huge\textcolor{}{y}$

u = Vector(((m * π) - 1, 0), ((n * π) + 1, 0))
v = Vector((0, (-p) - 1), (0, p + 1))
A: ((n * π) + 1, 0)
B: (0, p + 1)
l1 = Sequence(Segment[(k, 0), (k, 0.1)], k, (m * π), (n * π), π / 2)
l2 = Sequence(Segment[(0, k), (0.1, k)], k, (-p), p, 1)
l3 = Sequence(Text[If[k ≟ -1, "- π ", "-" + (FractionText[abs(k)]) + " π "], (-0.57, -0.17) + ((k * π), 0), true, true], k, m, -1 / 2, 1 / 2)
l4 = Sequence(Text[If[k ≟ 0, "O", k ≟ 1, " π ", k ≟ -1, "- π ", FractionText[k] + " π "], (0, -0.08) + ((k * π), 0), true, true], k, 0, n, 1 / 2)
l5 = Sequence(Text[k, (-0.66, 0.17) + (0, k), true, true], k, (-p), -1, 1)
l6 = Sequence(Text[k, (-0.34, 0.22) + (0, k), true, true], k, 1, p, 1)