Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

sin trigonometric function

// 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;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #sin #trigonometric #function
ADD COMMENT
Topic
Name
9+3 =