How to find the sum of the length of all lines that can be drawn between co-ordinates

Find latitude and longitude of first 20 countries with a population greater than or equal to the population limit given below. Your task is to find the sum of the length of all lines (in kms) that can be drawn between co-ordinates of these countries.

  • Assume radius of earth: 6371 km
  • Round length of each line and final result to 2 decimal points
  • If co-ordinates are missing for any country use 0.000 N 0.000 E

Population limit: 28000

I want a general equation to find it

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum