#include <math.h>
#include <chplot.h>
#define CURVE1 0
#define CURVE2 1

int main() {
    int numpoints = 36;
    array double x[numpoints], y[2][numpoints];
    int i;
    class CPlot plot;

    linspace(x, 0, 360);
    for(i=0; i