1 // Program 11.6: A nicer sine wave
2 // Given the xpoint we're given calculate the Cartesian equivalent
3 // Take the sine of that x
4 // Scale y into window coordinates
5 /* Switch jvalue from Cartesian coordinates
6 to computer graphics coordinates */