SAE24_2022/README.md

18 lines
553 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SAÉ S2.04 (visualisation de données)
## Exercice 1
### Question 1
> Calculer la surface terrestre mondiale, le nombre dhabitants mondial et la densité moyenne dhabitants au km2.
[Script Scilab](resources/scripts/ex1-1.sce) :
```scilab
data = csvRead("resources/data/data.csv");
surface = sum(data(:, 2)*1000);
population = sum(data(:, 3)*1000000);
densite = population / surface;
```
Résultat :
- Surface terrestre mondiale : 133 950 670 km2
- Nombre d'habitants mondial : 7 534 720 000 habitants
- Densité moyenne : 56,25 habitants/km²