mirror of
https://github.com/Hizenberg469/C1-Linux_SYS_Prog-AS-.git
synced 2026-04-20 02:42:23 +03:00
How to make Makefile?
This commit is contained in:
29
Makefile_Assignment/trig_math/trig_math.c
Normal file
29
Makefile_Assignment/trig_math/trig_math.c
Normal file
@@ -0,0 +1,29 @@
|
||||
/*
|
||||
* =====================================================================================
|
||||
*
|
||||
* Filename: trig_math.c
|
||||
*
|
||||
* Description:
|
||||
*
|
||||
* Version: 1.0
|
||||
* Created: 04/02/24 07:37:35 PM IST
|
||||
* Revision: none
|
||||
* Compiler: gcc
|
||||
*
|
||||
* Author: YOUR NAME (),
|
||||
* Organization:
|
||||
*
|
||||
* =====================================================================================
|
||||
*/
|
||||
|
||||
#include "trig_math.h"
|
||||
#include <math.h>
|
||||
|
||||
double sine(double x){
|
||||
return sin(x*(PI/180));
|
||||
}
|
||||
|
||||
|
||||
double cosine(double x){
|
||||
return cos(x*(PI/180));
|
||||
}
|
||||
Reference in New Issue
Block a user