5903 Intro Scientific Prog:
Libraries and Makefiles: Specification
- Write a program that computes the sine, cosine and square root of a number given to standard in.
- Make sure that the code compiles with a standard boring
makefile and that you comply with all the assignment requirements
including the makefile and readme rules.
- The output should be to standard out with the following
format where each line is a new line, the colums are provided by
tabs, and the numerical values (indicated by the #) are returned
alligned and showing six decimal places.
input: |
# |
sine: |
sin(#) |
cosine: |
cos(#) |
square root: |
sqrt(#) |