Major chord
> plot(sin(4*x)+sin(5*x)+sin(6*x),x=0..2*Pi);
Minor chord
> plot(sin(10*x)+sin(12*x)+sin(15*x),x=0..2*Pi);