// C++ program to illustrate 'sin trigonometric function'
#include <iostream>
#include <math.h> // Or #include <cmath>
using namespace std;
int main() {
double x = 2.3;
cout << "Sine value of x = 2.3 is: "
<< sin(x) << endl;
return 0;
}
// C++ program to illustrate 'cos trigonometric function'
#include <iostream>
#include <math.h>
using namespace std;
int main() {
double x = 2.3;
cout << "Cosine value of x = 2.3 is: "
<< cos(x) << endl;
return 0;
}