static double func ( double x ) {
  return x * x * x - x * x + 2 ;
}

static double func ( double x ) { return x * x * x - x * x + 2 ; }
(method_declaration (modifiers) type: (floating_point_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (floating_point_type) name: (identifier))) body: (block (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier)) right: (binary_expression left: (identifier) right: (identifier))) right: (decimal_integer_literal)))))