double exp(x):是計算e的X次方
x的平方:x*x或x^2或double pow(x,y)(計算x的y方,如pow(x,2))


所以:

f(x)=x^2-1/exp(x)
順便給出C中的math.h中的函數:僅供參考
C語言中的數學函數(maths.h)
  
acos
double acos(x)
double x;
計算arccos(x)的值
計算結果
x應在-1到1范圍內

asin
double asin(x)
double x;
計算arcsin的值
計算結果
x應在-1到1范圍內

atan
double atan(x)
double x;
計算arctan(x)的值
計算結果
  

atan2
double atan2(x,y)
double x,y;
計算arctan(x/y)的值
計算結果
  

cos
double cos(x)
double x;
計算cos(x)的值
計算結果
x的單位為弧度

cosh
double cosh(x)
double x;
計算x的雙曲余弦cosh(x)的值
計算結果
  

exp
double exp(x)
double x;
求e的x次方冪
計算結果
  

fabs
double fabs(x)
double x;
求 x的絕對值
計算結果
  

floor
double floor(x)
double x;
求不大于x的最大整數
該整數的雙精度實數
  

fmod
double fmod(x,y)
double x,y;
求整除x/y的余數
返回余數的雙精度數
  

frexp
double frexp(val,eptr)
double val;
int *eptr ;
把雙精度數val分解為數字部分(尾數)x和以2為底的指數n,即val=x*(2的 n次方),存放在eptr指向的變量中.
返回數字部分x
0.5x<1
  

log
double log(x)
double x;
求lnx
計算結果
  

log10
double log10(x)
double x;
求以10為底x的對數
計算結果
  

modf
double modf(val,iptr)
double val;
double iptr;
把雙精度數val分解為整數部分和小數部分,把整數部分存到iptr指向的單元.
val的小數部分
  

pow
double pow(x,y)
double x,y;
計算x的y次冪
計算結果
  

sin
double sin(x)
double x;
計算sinx的值
計算結果
x的單位為弧度

sinh
double sinh(x)
double x;
計算x的雙曲正弦函數sinh(x)的值
計算結果
  

sqrt
double sqrt(x)
double x;
計算x的平方根
計算結果
x應大于或等于0

tan
double tan(x)
double x;
計算tan(x)的值
計算結果
x單位為度

tanh
double tanh(x)
double x;
計算x的雙曲正切函數tanh(x)的值
計算結果