Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

tan trigonometric function

// C++ program to illustrate
// tan trigonometric function
  
#include <iostream>
#include <math.h>
using namespace std;
  
int main() {
    double x = 2.3;
    
    cout << "Tangent value of x = 2.3: "
         << tan(x) << endl;
  
    return 0;
}
Source by www.geeksforgeeks.org #
 
PREVIOUS NEXT
Tagged: #tan #trigonometric #function
ADD COMMENT
Topic
Name
3+9 =