同理计算
..... 则
注意
double calc(int x , int t){
return 1.00/sqrt( t + 1.00/x/x);
}
void solve(){
int x,t;cin>>x>>t;
cout<<calc(x,t + 1)<<endl;
}
f(x)=x2+1x
f(x)=1+x211
f(x)212=1+x21
f(f(x))=1+f(x)2121
f2(x)=f(f(x))=1+1+x211
同理计算f3(x)
f2(x)=2+x211,f3(x)=3+x211
..... 则fn=n+x211
注意f1(x)=f(x),f0(x)=f(x)
double calc(int x , int t){
return 1.00/sqrt( t + 1.00/x/x);
}
void solve(){
int x,t;cin>>x>>t;
cout<<calc(x,t + 1)<<endl;
}