Finition readme ex3 + début ex4
This commit is contained in:
parent
3f9917e344
commit
9e55a4bdee
@ -183,7 +183,7 @@ En Océanie : <ul>
|
||||
|
||||
<h3>Question 4)</h3>
|
||||
<h4><u>Diagramme bâton de l'accroissement moyen par continent :</u></h4>
|
||||
<p>Mettre diagramme</p>
|
||||
<img src="ex3/Diagramme.PNG">
|
||||
|
||||
<h3>Question 5)</h3>
|
||||
<p>La population mondiale prévue en 2050 est de <b>9,6 Milliards</b> d'habitants.<br>
|
||||
|
BIN
ex3/Diagramme.PNG
Normal file
BIN
ex3/Diagramme.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 7.9 KiB |
BIN
ex4/Question1.PNG
Normal file
BIN
ex4/Question1.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
13
ex4/ex4.sce
13
ex4/ex4.sce
@ -2,3 +2,16 @@ data = csvRead("../data.csv")
|
||||
indiceFecondite=data(:,8)
|
||||
propMoins15Ans = data(:,9)
|
||||
scatter(indiceFecondite, propMoins15Ans, "fill")
|
||||
|
||||
taux_mortalite = data(:, 5);
|
||||
taux_natalite = data(:, 4);
|
||||
coefficients = reglin(taux_natalite, taux_mortalite);
|
||||
pente = coefficients(1);
|
||||
ordonnee_origine = coefficients(2);
|
||||
scatter(taux_natalite, taux_mortalite, "fill");
|
||||
xlabel("Taux de natalité");
|
||||
ylabel("Taux de mortalité infantile");
|
||||
title("Relation entre le taux de natalité et la mortalité infantile");
|
||||
x = linspace(min(taux_natalite), max(taux_natalite), 100);
|
||||
y = pente*x + ordonnee_origine;
|
||||
plot(x, y, "r");
|
||||
|
Loading…
Reference in New Issue
Block a user