正弦函数周期计算示例
几何画板及绘图内容加载中,请稍等……
这个范例演示了如何在限定域 [-180°, 180°] 内计算正弦函数 g(x) = sin(3x) 的完整周期数。涉及的核心数学概念包括三角函数周期性、正弦波特性。作图要点使用了 GeoGebra 的 LaTeX、FractionText、If、Min、Max、Sequence、TableText 命令,以及 stepMax、stepper、steps、counter、text0、a、b、c、dl、dr、g、dlrad、drrad、fplotdeg、text1、text2、permult、permulttext、text5、perdeg、dlradtext、drradtext、toggle、button1、text9、text11、text12、domdeg、domrad、text14、text16、fullper、text13、text15、text19、fplotrad、xmin、xmax、ymin、ymax 等对象。适合高中数学教学,用于理解三角函数周期计算方法。
GeoGebra 命令及参数
LaTeX(steps) → counterLaTeX("\text{Identify the period of }\textcolor{#000099}{g(x).}") → text1LaTeX("\text{This will be needed to calculate the number of complete cycles of }\textcolor{#000099}{g(x)}\text{ that}\cr\text{exist in the restricted domain.}") → text2FractionText(permult) → permulttextLaTeX((((("\text{The period of the function }\textcolor{#000099}{g(x) = " * g) * "}\text{ is }\textcolor{#000099}{") * permulttext) * "\pi}.")) → text5FractionText(dlrad) → dlradtextFractionText(drrad) → drradtextIf(toggle ≟ 1, LaTeX[(("\text{The period of }\textcolor{#000099}{g(x)}\text{, converted to degrees, is }\textcolor{#000099}{" * perdeg) * "^{\circ}}.")], LaTeX[(((("\text{The domain of }\textcolor{#000099}{g(x)}\text{, converted to radians, is }\textcolor{#000099}{\left[" * dlradtext) * "\pi,") * drradtext) * "\pi\right]}.")]) → text9If(toggle ≟ 1, LaTeX["\text{In order to determine the number of completed cycles, calculate the total}\cr \text{number of degrees within the domain of the function, and then divide this}\cr\text{number by the period measured in degrees.}"], LaTeX["\text{In order to determine the number of completed cycles, calculate the total}\cr \text{number of radians within the domain of the function, and then divide this}\cr\text{number by the period measured in radians.}"]) → text11LaTeX("\text{Domain:}") → text12LaTeX("\text{Period:}") → text14LaTeX("\frac{Domain}{Period}:") → text16If(toggle ≟ 1, LaTeX[(((((("\textcolor{#000099}{" * dr) * "^{\circ}-\left(") * dl) * "^{\circ}\right)=") * domdeg) * "^{\circ}}")], LaTeX[(((((("\textcolor{#000099}{" * drradtext) * "\pi-\left(") * dlradtext) * "\pi\right)=") * domrad) * "\pi}")]) → text13If(toggle ≟ 1, LaTeX[(("\textcolor{#000099}{" * perdeg) * "^{\circ}}")], LaTeX[(("\textcolor{#000099}{" * permulttext) * "\pi}")]) → text15LaTeX("\text{Verify the result by graphing.}") → text19If(toggle ≟ 1, dl - perdeg / 4, ((dlrad - permult / 4) * π)) → xminIf(toggle ≟ 1, dr + perdeg / 4, ((drrad + permult / 4) * π)) → xmaxMin(0 - a / 4, c - a - a / 4) → yminMax(0 + a / 4, c + a + a / 4) → ymaxLaTeX((((((((("\text{The number of complete cycles of }\textcolor{#000099}{g(x)=" * g) * "}\text{ on the}\cr\text{restricted domain }\textcolor{#000099}{[") * dl) * "^{\circ},") * dr) * "^{\circ}]}\text{ is }\textcolor{#000099}{") * fullper) * "}.")) → text18If(toggle ≟ 1, Sequence[(dl + (n * perdeg), fplotdeg(dl + (n * perdeg))), n, 0, fullper, 1], Sequence[(((dlrad + (n * permult)) * π), fplotrad(((dlrad + (n * permult)) * π))), n, 0, fullper, 1]) → list1Sequence(Vector[Element[list1, n], Element[list1, n + 1]], n, 1, Length[list1] - 1) → list2LaTeX((((((("\textcolor{#000099}{g(x)=" * g) * "}\text{ on }\textcolor{#000099}{\left[") * dl) * "^{\circ},") * dr) * "^{\circ}\right]}")) → ProblemLaTeX("\text{Convert the period to degrees or convert the domain to radians.}") → text6If(toggle ≟ 1, LaTeX["\text{Converting period to degrees}"], LaTeX["\text{Converting domain to radians}"]) → toggleTextLaTeX("\text{Since the domain is given in degrees and the period is found in radians, one}\cr\text{or the other must be converted so that the units match before any comparison can be made.}") → text7LaTeX("\text{Use the buttons below to return to the original problem or}\cr\text{randomly generate a similar practice problem.}") → text20If(toggle ≟ 1, LaTeX[(((((("\textcolor{#000099}{\text{Greatest integer less than or equal to }\left(\frac{" * domdeg) * "^{\circ}}{") * perdeg) * "^{\circ}}\right)=") * fullper) * "}")], LaTeX[(((((("\textcolor{#000099}{\text{Greatest integer less than or equal to }\left(\frac{" * domrad) * "\pi}{") * permult) * "\pi}\right)=") * fullper) * "}")]) → text17LaTeX("\text{Set the argument of the function equal to the period of the parent sine}\cr\text{function, }\textcolor{#000099}{\sin(x)}\text{, and solve for }\textcolor{#000099}{x}.") → text3LaTeX((((("\text{Determine the number of complete cycles }\textcolor{#000099}{g(x)}\text{ makes over the domain }\textcolor{#000099}{[" * dl) * "^{\circ}, ") * dr) * "^{\circ}]}.")) → text10If(toggle ≟ 1, LaTeX[(((((("\textcolor{#000099}{1}\text{ radian}\textcolor{#000099}{=\frac{180^{\circ}}{\pi}}\text{, so }\textcolor{#000099}{" * permulttext) * "\pi}\text{ radians is }\textcolor{#000099}{") * permulttext) * "\pi\cdot\frac{180^{\circ}}{\pi}=") * perdeg) * "^{\circ}}.")], LaTeX[(((((((((("\textcolor{#000099}{1^{\circ}=\frac{\pi\text{ radians}}{180}}\text{, so }\cr \textcolor{#000099}{" * dl) * "^{\circ}}\text{ is }\textcolor{#000099}{") * dl) * "^{\circ}\frac{\pi}{180^{\circ}}=") * dlradtext) * "\pi}\cr \text{and}\cr \textcolor{#000099}{") * dr) * "^{\circ}\frac{\pi}{180^{\circ}}=") * drradtext) * "\pi}.")]) → text8TableText({{LaTeX[(("\textcolor{#000099}{" * b) * "x = 2\pi}")], LaTeX["\text{Set the argument equal to the period of }\textcolor{#000099}{\sin(x)}."]}, {LaTeX[(("\textcolor{#000099}{x = \frac{2}{" * b) * "}\pi}")], LaTeX["\text{Solve for }\textcolor{#000099}{x}."]}, {LaTeX[(("\textcolor{#000099}{x = " * permulttext) * "\pi}")], LaTeX["\text{Simplify.}"]}}) → text4
AI 绘图提示语参考
绘制正弦函数g(x)=sin(3x)在定义域[-180°,180°]内的图像,并标注其周期为2π/3。图中需显示函数曲线、定义域边界、周期长度,以及通过计算定义域除以周期得到的完整周期数(此处为3)。同时展示将周期转换为度数(120°)或定义域转换为弧度的过程,并用箭头或标记标出每个完整周期的起点和终点,最后用文字说明验证结果。
以上提示语为根据原始绘图命令整理而来,仅供参考。