public static void main ( String [ ] args ) {
  Data [ ] d = {
    new Data ( 1.27 , 2.3 ) , new Data ( 2.25 , 2.95 ) , new Data ( 2.5 , 3.5 ) , new Data ( 3.6 , 5.1 ) };
    int n = 4 ;
    double y = 4.5 ;
    System . out . printf ( "Value of x at y = 4.5 : %.5f" , inv_interpolate ( d , n , y ) ) ;
  }
  
public static void main ( String [ ] args ) { Data [ ] d = { new Data ( 1.27 , 2.3 ) , new Data ( 2.25 , 2.95 ) , new Data ( 2.5 , 3.5 ) , new Data ( 3.6 , 5.1 ) } ; int n = 4 ; double y = 4.5 ; System . out . printf ( " Value ▁ of ▁ x ▁ at ▁ y ▁ = ▁ 4.5 ▁ : ▁ % .5f " , inv_interpolate ( d , n , y ) ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_initializer (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_floating_point_literal) (decimal_floating_point_literal))) (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_floating_point_literal) (decimal_floating_point_literal))) (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_floating_point_literal) (decimal_floating_point_literal))) (object_creation_expression type: (type_identifier) arguments: (argument_list (decimal_floating_point_literal) (decimal_floating_point_literal)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_floating_point_literal))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal) (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier))))))))