函数名: tan 功 能: 正切函数 用 法: #include <math.h> double tan(double x); 程序例:
#include <math.h> #include <stdio.h>
int main(void) { double result, x;
x = 0.5; result = tan(x); printf("The tan of %lf is %lf\n", x, result); return 0; }