"""

name: lagrange.py

Compute the distance to the Lagrange point.

Problem 6.16 from Newman's Computational Physics.

author: Sam Wilson
date created: 29/3/2021



"""



# function name: L1_point()

    """
    Comput the distance from earth to the L1 Lagrange point.

    Returns
    -------
    FLOAT
        Distance to the L1 point in km.

    """
 
    return r/1000
    
# main function
def main():

    

       
        
    
  
    

# run main function IFF executing this file
if __name__ == "__main__":
    main()   