From bb518e8ef60e1506543c0328837a8dddbc337926 Mon Sep 17 00:00:00 2001 From: Siuda Date: Thu, 11 May 2023 17:17:34 +0200 Subject: [PATCH] Exo 1-2 A faire --- Note.txt | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/Note.txt b/Note.txt index 89f3612..f85e115 100644 --- a/Note.txt +++ b/Note.txt @@ -19,3 +19,61 @@ Calcul Nb d'habitants : nbHabitants=cumsum(Population) Densité moyenne d'habitants : DensitéMoyenne=mean((surfaceTerrestre/nbHabitants)*1000) 2) +Afrique : +SurfaceAfrique=ans(1:57,2) +SurfaceAfrique=cumsum(SurfaceAfrique) +=30312.53 + +HabitantsAfrique=ans(1:57,3) +HabitantsAfrique=cumsum(HabitantsAfrique) +=1250.7 + +----------------------------------------------------------------------------------------- +Amérique du Nord : +SurfaceAmeriqueN=ans(58:86,2) +SurfaceAmeriqueN=cumsum(SurfaceAmeriqueN) +=22314.070 + +HabitantsAmeriqueN=ans(58:86,3) +HabitantsAmeriqueN=cumsum(HabitantsAmeriqueN) +=581.88000 + +----------------------------------------------------------------------------------------- +Amérique du Sud : +SurfaceAmeriqueS=ans(87:99,2) +SurfaceAmeriqueS=cumsum(SurfaceAmeriqueS) +=17821 + +HabitantsAmeriqueS=ans(87:99,3) +HabitantsAmeriqueS=cumsum(HabitantsAmeriqueS) +=422.98 + +----------------------------------------------------------------------------------------- +Asie : +SurfaceAsie=ans(100:150,2) +SurfaceAsie=cumsum(SurfaceAsie) +=31879.830 + +HabitantsAsie=ans(100:150,3) +HabitantsAsie=cumsum(HabitantsAsie) +=4494.0500 + +----------------------------------------------------------------------------------------- +Europe : +SurfaceEurope=ans(151:193,2) +SurfaceEurope=cumsum(SurfaceEurope) +=23060.61 + +HabitantsEurope=ans(151:193,3) +HabitantsEurope=cumsum(HabitantsEurope) +=744.33000 + +----------------------------------------------------------------------------------------- +Océanie : +SurfaceOceanie=ans(194:207,2) +SurfaceOceanie=cumsum(SurfaceOceanie) +=8562.6300 + +HabitantsOceanie=ans(194:207,3) +HabitantsOceanie=cumsum(HabitantsOceanie) +=40.780000