Sin/Cos calculator

Sin/Cos calculator is a mathematical comand-line calculator.
Sin/Cos calculator
  1 Screenshot
Sin/Cos calculator is a mathematical comand-line calculator.

I was chatting to this guy on IRC who was moaning about his homework. trying to write a program to do this in bash. I said you'd be much better off doing it in C, and wrote this. Gave it to him the next day after they'd finished the chapter.

As it does both, there's two executables, it builds main() depending on preprocessor definition... more in the source file.

Compile with:

gcc -lm sin_rule.c -ansi -pedantic -DSINE_RULE -o sin-rule
./sin-rule

last updated on:
March 5th, 2007, 14:54 GMT
price:
FREE!
homepage:
www.csc.liv.ac.uk
license type:
BSD License 
developed by:
Richard Whitty
category:
ROOT \ Science and Engineering \ Mathematics
Sin/Cos calculator
Download Button

In a hurry? Add it to your Download Basket!

user rating 18

3.4/5
 

0/5

Rate it!

Add your review!

SUBMIT