Description: On the screen using the ' *' horizontal display 0 to 360 degrees cos (x) curve. The problem lies in the cosine curve in the range of 0 to 360 degrees, the line to show two points. Taking into account the symmetry of cos, the direction of the screen line is defined as x, the column direction is defined as y, then 0 ~ 180 degree graph is symmetrical. If the total width of the graph is defined as 62 to calculate the x-line from 0 to 180 degrees y coordinates of the point m, then the same line with it' s 180 to 360 degree symmetrical y-coordinates of points should be for the 62-m. The program calculations using inverse cosine function acos coordinates (x, y) of the correspondence.
To Search:
File list (Check if you may need any files):
DrawCosCurve\CosCurve.cpp
............\CosCurve.dsp
............\CosCurve.dsw
............\CosCurve.h
............\Main.cpp
DrawCosCurve