#include <math.h> #include <chplot.h> int main() { array double x[36]; linspace(x, 0, 360); plotxy(x, sin(x*M_PI/180)); }