Or login with:
#include <math.h>| double | tan (double x) |
| long | tanl (long double x) |
| float | tanf (float x) |
| complex | tan (complex x) |
| double complex | ctan (double complex x) |
| float complex | ctan (float complex x) |
| long double complex | ctanl (long double complex x) |
#include <stdio.h> #include <math.h> int main() { double x = 0.3333; double result = tan(x); printf("The tangent of %.4lf is %.4lf\n", x, result); return 0; }
The tangent of 0.3333 is 0.3462
You must login to leave a messge