Distance from the Earth to the Sun Based on Unixtime

Write a Ruby method to calculate the distance to the Sun from the Earth in kilometers based on the given unixtime. Comment the code and add Markdown to code block using triple back ticks.

#This method calulates the distance between Earth and Sun based on the unixtime
#Formula to calculate the distance:
#Distance =  (153 000 000 km x SIN((UNIXTIME - 1,544,000,000)/3,154,000,000)) 

def calculate_distance_sun(unixtime)
  distance = 15_300_000 * Math.sin((unixtime - 1544000000)/31_540_000_000.0)
  puts "Distance to sun from Earth for unixtime #{unixtime} is: #{distance} km"
end

calculate_distance_sun(1599939533)