SAE24_2022/ex3/README.md

125 lines
3.1 KiB
Markdown
Raw Normal View History

2023-05-20 17:51:54 +02:00
# Exercice 3 : Taux d'accoissement naturel
> On rappelle que le taux daccroissement naturel est la différence entre la natalité et la mortalité.
## Table des matières
1. [Acroissements minimaux et maximaux](#q1)
2023-05-20 17:55:48 +02:00
2. [Pays ayant un taux d'accroissement négatif](#q2)
2023-05-20 17:59:14 +02:00
3. [Moyenne](#q3)
2023-05-20 18:01:20 +02:00
4. [Moyenne par continent](#q4)
5. [Estimation de la population mondiale en 2050](#q5)
2023-05-20 17:51:54 +02:00
---
## Question 1 : Acroissements minimaux et maximaux {#q1}
> Quels sont les accroissements minimaux et maximaux ?
**[Script Scilab](scripts/ex3-1.sce) :**
```scilab
tauxAccroissement = ((data(:, 4) / 1000) - (data(:, 5) / 1000)) * 100;
tauxAccroissementMin = min(tauxAccroissement)
tauxAccroissementMax = max(tauxAccroissement)
```
**Résultat :**
- Taux d'accroissement minimal : -0.60%
- Taux d'accroissement maximal : 3.80%
2023-05-20 17:55:48 +02:00
---
## Question 2 : Pays ayant un taux d'accroissement négatif {#q2}
> Faire afficher la liste des pays pour lesquels laccroissement est négatif.
**[Script Scilab](scripts/ex3-2.sce) :**
```scilab
pays(tauxAccroissement < 0)
```
**Résultat :**
Pays ayant un taux d'accroissement négatif :
- Japon : -0.20%
- Estonie : -0.10%
- Lettonie : -0.30%
- Lituanie : -0.30%
- Allemagne : -0.20%
- Biélorussie : -0.10%
- Bulgarie : -0.60%
- Hongrie : -0.30%
- Roumanie : -0.30%
- Ukraine : -0.50%
- Bosnie-Herzégovine : -0.20%
- Croatie : -0.30%
- Grèce : -0.30%
- Italie : -0.20%
- Portugal : -0.30%
- Serbie : -0.50%
2023-05-20 17:59:14 +02:00
---
## Question 3 : Moyenne {#q3}
> Déterminer laccroissement mondial moyen.
**[Script Scilab](scripts/ex3-3.sce) :**
```scilab
mean(tauxAccroissement);
```
**Résultat :**
- Taux d'accroissement moyen : 1.32%
2023-05-20 18:01:20 +02:00
---
## Question 4 : Moyenne par continent {#q4}
> Faire un graphe de l'accroissement moyen suivant le continent.
**[Script Scilab](scripts/ex3-4.sce) :**
```scilab
tauxAccroissementMoyenParContient = [mean(tauxAccroissement(1:57)), mean(tauxAccroissement(58:86)), mean(tauxAccroissement(87:99)), mean(tauxAccroissement(100:150)), mean(tauxAccroissement(151:193)), mean(tauxAccroissement(194:207))];
bar(tauxAccroissementMoyenParContient)
```
**Résultat :**
![Taux d'accroissement moyen par continent](img/ex3-4.png)
---
## Question 5 : Estimation de la population mondiale en 2050 {#q5}
> Quelle est la population mondiale prévue en 2050 ? Cela est-il conforme à lhypothèse dun taux daccroissement constant ? Justifier.
**[Script Scilab](scripts/ex3-5.sce) :**
```scilab
population2050 = sum(data(:, 6)*1000000)
2023-05-20 22:01:06 +02:00
x = population;
while population2050 > x
x = x * tauxAccroissementMoyen;
end
```
**Résultat :**
- La population mondiale prévue en 2050 est de 9 848 330 000 habitants.
2023-05-20 22:01:06 +02:00
- La population mondiale prévue en 2050 n'est pas conforme à l'hypothèse d'un taux d'accroissement constant car
en multipliant la population mondiale actuelle (7 534 720 000) par le taux d'accroissement moyen (1.32%) jusqu'à
atteindre ou dépasser la population mondiale prévue en 2050 (9 848 330 000), on obtient une prévision largement
supérieur à la population mondiale prévue en 2050 (+ 70 564 686).
2023-05-20 17:51:54 +02:00
---
[⬅️](../ex2/ "Exercice précédent (Exercice 2)") | [🏠](../ "Retour au sommaire")