From 2dd75f59333182ea552180bf20a4ad8de9da90de Mon Sep 17 00:00:00 2001 From: Lyanis Souidi Date: Thu, 18 May 2023 19:13:24 +0200 Subject: [PATCH] [Ex1 - Q4] Ajout Co-authored-by: Dimitrijevic --- README.md | 20 +++++++++++++++++++- resources/img/ex1-4-1.png | Bin 0 -> 9138 bytes resources/img/ex1-4-2.png | Bin 0 -> 8847 bytes resources/scripts/ex1-4.sce | 31 +++++++++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 resources/img/ex1-4-1.png create mode 100644 resources/img/ex1-4-2.png create mode 100644 resources/scripts/ex1-4.sce diff --git a/README.md b/README.md index 95fc44c..70f4c4e 100644 --- a/README.md +++ b/README.md @@ -89,4 +89,22 @@ bar([densiteAfrique, densiteAmeriqueDuNord, densiteAmeriqueDuSud, densiteAsie, d ``` **Résultat :** -![Densité de population par continent](resources/img/ex1-3.png) \ No newline at end of file +![Densité de population par continent](resources/img/ex1-3.png) + +## Question 4 + +> Représenter la répartition de la surface terrestre puis du nombre d'habitants par continent sous la forme de diagramme en camembert à l'aide de l'instruction `pie`. + +**[Script Scilab](resources/scripts/ex1-4.sce) :** + +```scilab +pie([surfaceAfrique, surfaceAmeriqueDuNord, surfaceAmeriqueDuSud, surfaceAsie, surfaceEurope, surfaceOceanie]); + +pie([populationAfrique, populationAmeriqueDuNord, populationAmeriqueDuSud, populationAsie, populationEurope, populationOceanie]); +``` + +**Résultat :** + +![Répartition de la surface terrestre](resources/img/ex1-4-1.png) + +![Répartition de la population](resources/img/ex1-4-2.png) diff --git a/resources/img/ex1-4-1.png b/resources/img/ex1-4-1.png new file mode 100644 index 0000000000000000000000000000000000000000..4e89e52fecf57e30ab83a1639dcf1eb5b8a7b239 GIT binary patch literal 9138 zcmcIqc_5T+yQf8n8i{CQlqE|HA!#f_v{+g#AP*s z#!S5$2;JVHXb>lm`uUB?fqLuw7yO?!2^yS+GLe-UL!32+lJP+`+S?bu<}mBWS<^o) z-0pZq%8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@e?vK=3^;)O$OLD3>PBB zg`wRAo23{~Z6a*?*%w5Y6F&G@Y!@x<4v3q zXvg(@l2?3$gOtsU;rzQl}x?4*Q4d@}aLSY1?);$lYwG7I^O{luX}2keId z#mfdYVj#lW90mD^0hQ)>L?eU-!YUfKf?JPp9q(UIGC^%rPeG(P$ikE+hvu9%cfNg`xeA0HCD_`OFI!j{XfS zupS?P^~DH;PSxgqAk}OLqx`K>FB;PK4^7O#jE(={zclfk1~?NSF(~8mHjb%&b#-+T z;GCKTnyXqZg`nNJzTPrlcCEa~X`~!rEDZnFO;j)IJ- zP+RuuG(6vBqATmxXFi`>O1KYnI0R6R!4m7_=y=pV&$1~=i!I^+CYmTP^7AKjzlV}> z9t``odvn+!d1uiM(Az+-F3sxqeEnL}+|dz-)f?X!6-rYUjjfa&GWHnD>-qFTrE`6m z`-@w6mR(Qzr!QYXfr(RoVnS1ENtz?_hPx%fpk&&wb-a_P;^pOa_tgBAXW;%(?miP> z%Eb%-b!9eSg$*YQp&)G0P;({-+6n@}b4G-~Cd&5y%kF$MK+qhB$E{D zC_QFE(9=G{okQqBH~h-uaD!)o;$Y3Kl6BZ9I)LAc{k$RrLhQz1HC27kQ2?tn-hRe9 zCqerO`;9jU0fw{0NF4ZKFHj6_i99ok`yKP60S*4LOCW28k+&$XJ+j&$Hu2;Gbyt_MA|KUr@(6EEpr*L9-vos(|UraHL9 zg8){A#o&Zr|BLUQ_%VVpO-nnX*fBib3+R*UE7Y*zRGswm+J78*wm_p;vY$mnL`Z;J zC|XV64t^M{zVjLr&`s+IDFd|fkG==@ZorZ|BBIRxFiY%0XR-1a{|GVxbif?n!>zTB`h?TL+l8UCLxK|d9^ z^Z(&#k9)9O#=m*aG|3&CugMkTwQ)uXf9&g#ayg9k7m|1ViO0J)q QrvtBZXS7r^P&Xg^7tS~_EdT%j literal 0 HcmV?d00001 diff --git a/resources/img/ex1-4-2.png b/resources/img/ex1-4-2.png new file mode 100644 index 0000000000000000000000000000000000000000..72044f5df2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ZHxgIhfhcZZ2p(r=R#v*D2qMONaK-CyZ z6;6cjbQ|D+E*!FbEDA7&k_D6noeA-(fHjaMt?;3@_HX(PffpnJY&%>I_|8?B#`mWp zPQaN65|CkmBW;RE5OD%dO_10WunDgQJhTZg1X>YDx9^l7UBj?o%En7*3Mf@N@hIoR91S&bcqOL;Mxi3ddHVP2#yAjk;3X$RY`(+;;Q?##4Td>0A+3L($>HJq zV)}=qL?E7=|H%_KYJ*`+JN$os3G}k@lEVUSgTGx(97#8s2W)Q6hqQ4Ot^tVvhCr$U zYe4ed@4=cSb4I-gYTq2SDbwaCv#VR=fjB(wQqI@ftpxzHe~)a+{T=v@2t>l;6&TZ- z^qo}ScD`NYzXnjw%3zU=f3T)UGl2`3)LPHYGxle|N{iV<{x9L<_k!y|XSg2P*-J`E z8G&7`;jO~ASGl*=KRlAK-T+*cSA9z_qI}5T zw67*K;6UKyY3Lm2SLe6&F#;(xDmaYvWiuIZdrVXR=mfDWYE|fPFCsBj)p6(2^x!x` z8hAr8-wW2iO%Y?upnJMUL<~B+Bp}d+9{6c$9a`=k5EiUzb^oTENi5XSfzCn=!k2KM zZ3h6YMb2^1q3;6clRcsDw9QrQtM=#Hma8~h?g7o~L-K#|t6hBehfCtw?b;T-y}h}; zw*w1B0EB1U(sVH>EiYF<_6BSWwYo(=b7>YwQ0Igbtva0KNs#a*Bf_fmUwBdX zYwGi}MwQxTx9uWdd7V&#(DFTjT;Tt|-_KU{!0f9?MO;9S>x literal 0 HcmV?d00001 diff --git a/resources/scripts/ex1-4.sce b/resources/scripts/ex1-4.sce new file mode 100644 index 0000000..70d0035 --- /dev/null +++ b/resources/scripts/ex1-4.sce @@ -0,0 +1,31 @@ +data = csvRead("resources/data/data.csv"); + +surfaceAfrique = sum(data(1:57, 2)* 1000); +populationAfrique = sum(data(1:57, 3)* 1000000); + +surfaceAmeriqueDuNord = sum(data(58:86, 2)* 1000); +populationAmeriqueDuNord = sum(data(58:86, 3)* 1000000); + +surfaceAmeriqueDuSud = sum(data(87:99, 2)* 1000); +populationAmeriqueDuSud = sum(data(87:99, 3)* 1000000); + +surfaceAsie = sum(data(100:150, 2)* 1000); +populationAsie = sum(data(100:150, 3)* 1000000); + +surfaceEurope = sum(data(151:193, 2)* 1000); +populationEurope = sum(data(151:193, 3)* 1000000); + +surfaceOceanie = sum(data(194:207, 2)* 1000); +populationOceanie = sum(data(194:207, 3)* 1000000); + +pie([surfaceAfrique, surfaceAmeriqueDuNord, surfaceAmeriqueDuSud, surfaceAsie, surfaceEurope, surfaceOceanie]); +title("Répartition de la surface terrestre"); +legend(["Afrique", "Amérique du Nord", "Amérique du Sud", "Asie", "Europe", "Océanie"], 'out_upper_right'); +xs2png(0,"resources/img/ex1-4-1.png"); + +clf(); + +pie([populationAfrique, populationAmeriqueDuNord, populationAmeriqueDuSud, populationAsie, populationEurope, populationOceanie]); +title("Répartition de la population mondiale"); +legend(["Afrique", "Amérique du Nord", "Amérique du Sud", "Asie", "Europe", "Océanie"], 'out_upper_right'); +xs2png(0,"resources/img/ex1-4-2.png");