Content deleted Content added
No edit summary |
|||
Line 95:
int numpoints = 36;
array double x[numpoints], y[numpoints];
linspace(x, 0, 360); // assign x with values from 0 to 360 linearly
y = sin(x*M_PI/180);
|