include using namespace std;double root(int n) //牛顿迭代法{ double x1=0,x0=1; for(int i=0;i<10;i++) { x1=(x0*x0+n)/(2*x0); x0=x1; } return x1;}int Square(int n){ return n*n;}void main(){ cout<}