apwidth=800; apheight=600; Cream=[255,255,239]; var omega=0; var zeta=0; var zim=0; var angle=0; function circle(){ Colour(Black); LineStart(1,0); for(i=0;i<6.283;i+=.05){ LineTo(Math.cos(i),Math.sin(i)); } } InitGraph(); ScaleWindow(-3.2,-2.4,3.2,2.4); DrawAxes(); Colour(Black); for(angle=-Math.PI/2; angle<=Math.PI/2;angle+=Math.PI/16){ zeta=Math.cos(angle); zim=Math.sin(angle); LineStart(-2*zeta,2*zim); for(omega=.25;omega<=2;omega+=.05){ LineTo(-zeta*omega,zim*omega); } Label(Math.round(100*zeta)/100,-2.1*zeta-.1,2.1*zim); } for(omega=.25;omega<=2;omega+=.25){ zeta=0; zim=1; LineStart(-2*zeta,2*zim); for(angle=-Math.PI/2; angle<=Math.PI/2+.01;angle+=.05){ zeta=Math.cos(angle); zim=Math.sin(angle); LineTo(-zeta*omega,zim*omega); } Label(omega,.1,omega); }