# Trig Grapher

The Trigonometric Grapher is a Win32 program that graphs an adjustable equation onto its window. Sine, cosine, tangent, cotangent, secant, and cosecant function graphs are possible, and they can also be printed with a high resolution. The colors are fully adjustable.

The graphed function is `y = A * xyz(B * x + C) + D`

, where xyz is sin, cos, tan, cot, sec, or csc, depending on what is selected.

Pi can be added to a text field by either typing a "p" in the field or clicking on the "Pi" button and then clicking in a text field with the upwards-pointing mouse cursor.

When the Trigonometric Grapher is printing, the user can graph other functions as the printing happens in a background thread. This was my first multi-threaded program, though its simple architecture sidestepped concurrency issues by not using shared memory between the threads.

I wrote this program while I was taking a trigonometry class in high school. I later ported it to Win16 for fun, but had move the background printing into the foreground in that version.

## Download

**Download the Win32 version of Trigonometric Grapher****Download the Win32 and Win16 versions of Trigonometric Grapher and the source code**

## Screen Shots

Error creating thumbnail: File missing |
Error creating thumbnail: File missing |