要写出递推式:
f(x,n)=1+x*f(x,n-1)
double f(double x,int n)
{
if (n==0)
return(1.0);
else
return(1.0+x*f(x,n-1));
}