数学式:y=Asin(ωx+φ)+k
JS函数的声明:
代码如下:
var pend = [dot[0]+max,dot[1]+(amplitudeMath.sin(palstancemax+initialPhase)+setover)];
drawPoint({
pw:3,point: pend
});
drawLine(pre,pend);
}
drawPoint({
pw:3,point: pend
});
drawLine(pre,pend);
}