Professional Documents
Culture Documents
Then consider and generate a node representing a central location (ID = 0). This central location lies at
point (0,0).
Finally, create a list with the five nodes in ascending order of their Euclidean distance from the central
location.
Exercise 2
Exercise 3
• ID = 1, …, n
• A random weight between 50 and 100
• A random height between 150, 200
Then, calculate the average weight and height of the population generated.
Finally create a list containing all persons with weight less than the average weight and height less than
the average height.