回覆列表
  • 1 # 舞動密山2U7

    原型:extern float tanh(float x); 用法:#include 功能:求x的雙曲正切值 說明:tanh(x)=(e^x-e^(-x))/(e^2+e^(-x)) 舉例: // tanh.c #include #include main() { float x; clrscr(); // clear screen textmode(0x00); // 6 lines per LCD screen x=PI/4.; printf("tanh(%.4f)=%.4f\n",x,tanh(x)); getchar(); return 0; }

  • 中秋節和大豐收的關聯?
  • 描寫田園簡單的詩?