(1)设计C代码,运行后为正弦函数图像(波形图);
(2)程序代码:
#include
#include
#define x 600
#define y
int main()
{
initgraph(x,y);
SetWindowText(GetHWnd(),”Essay X”); p>
线 ( x / 2 , 0 , x / 2 , y ); ( 0 , 是 / 2 ); ,20*sin(0.1*i)y/2);
system(“pause>zero”);
closegraph();
return 0;
(one)为默认值: