We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a27a039 commit 19df099Copy full SHA for 19df099
src/data/examples/zh-Hans/08_Math/07_additivewave.js
@@ -48,7 +48,7 @@ function calcWave() {
48
for (let j = 0; j < maxwaves; j++) {
49
let x = theta;
50
for (let i = 0; i < yvalues.length; i++) {
51
- // 每一个其他的波是余弦,而不是正弦
+ // 接下来的所有波都是余弦,而非正弦
52
if (j % 2 === 0) yvalues[i] += sin(x) * amplitude[j];
53
else yvalues[i] += cos(x) * amplitude[j];
54
x += dx[j];
0 commit comments