******** fig1.2 ********** int f( int x ) { /*1*/ if( x == 0 ) /*2*/ return 0; else /*3*/ return (2*f(x-1) + x*x); }