Ajout des script pour les 4 questions de l'exo 1
This commit is contained in:
7
Exo 1/Question1.sce
Normal file
7
Exo 1/Question1.sce
Normal file
@@ -0,0 +1,7 @@
|
||||
data = csvRead("data/data.csv");
|
||||
// surface terrestre mondiale
|
||||
surface = sum(data(:, 2)* 1000);
|
||||
// nombre d'habitants mondial
|
||||
population = sum(data(:, 3)* 1000000);
|
||||
// densité moyenne d'habitants au km2
|
||||
densite = population / surface;
|
||||
Reference in New Issue
Block a user