Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
4a808516ca1ec3d0db02831387c2bd1e
mooc-rr
Commits
ba7d153c
Commit
ba7d153c
authored
May 25, 2020
by
4a808516ca1ec3d0db02831387c2bd1e
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
traitmt_donnée _exo2_mod_2
parent
cc267d8f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
558 additions
and
16 deletions
+558
-16
Untitled.ipynb
module2/exo2/Untitled.ipynb
+6
-0
exercice_fr.ipynb
module2/exo2/exercice_fr.ipynb
+552
-16
No files found.
module2/exo2/Untitled.ipynb
0 → 100644
View file @
ba7d153c
{
"cells": [],
"metadata": {},
"nbformat": 4,
"nbformat_minor": 4
}
module2/exo2/exercice_fr.ipynb
View file @
ba7d153c
{
{
"cells": [],
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# title: Exercice 2 du module 2"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# author: MalamMamane I. L."
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# date: Vendredi, le 22 Mai 2020"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Données à traiter"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"<ol class=list-inline>\n",
"\t<li>14</li>\n",
"\t<li>7.6</li>\n",
"\t<li>11.2</li>\n",
"\t<li>12.8</li>\n",
"\t<li>12.5</li>\n",
"\t<li>9.9</li>\n",
"\t<li>14.9</li>\n",
"\t<li>9.4</li>\n",
"\t<li>16.9</li>\n",
"\t<li>10.2</li>\n",
"\t<li>14.9</li>\n",
"\t<li>18.1</li>\n",
"\t<li>7.3</li>\n",
"\t<li>9.8</li>\n",
"\t<li>10.9</li>\n",
"\t<li>12.2</li>\n",
"\t<li>9.9</li>\n",
"\t<li>2.9</li>\n",
"\t<li>2.8</li>\n",
"\t<li>15.4</li>\n",
"\t<li>15.7</li>\n",
"\t<li>9.7</li>\n",
"\t<li>13.1</li>\n",
"\t<li>13.2</li>\n",
"\t<li>12.3</li>\n",
"\t<li>11.7</li>\n",
"\t<li>16</li>\n",
"\t<li>12.4</li>\n",
"\t<li>17.9</li>\n",
"\t<li>12.2</li>\n",
"\t<li>16.2</li>\n",
"\t<li>18.7</li>\n",
"\t<li>8.9</li>\n",
"\t<li>11.9</li>\n",
"\t<li>12.1</li>\n",
"\t<li>14.6</li>\n",
"\t<li>12.1</li>\n",
"\t<li>4.7</li>\n",
"\t<li>3.9</li>\n",
"\t<li>16.9</li>\n",
"\t<li>16.8</li>\n",
"\t<li>11.3</li>\n",
"\t<li>14.4</li>\n",
"\t<li>15.7</li>\n",
"\t<li>14</li>\n",
"\t<li>13.6</li>\n",
"\t<li>18</li>\n",
"\t<li>13.6</li>\n",
"\t<li>19.9</li>\n",
"\t<li>13.7</li>\n",
"\t<li>17</li>\n",
"\t<li>20.5</li>\n",
"\t<li>9.9</li>\n",
"\t<li>12.5</li>\n",
"\t<li>13.2</li>\n",
"\t<li>16.1</li>\n",
"\t<li>13.5</li>\n",
"\t<li>6.3</li>\n",
"\t<li>6.4</li>\n",
"\t<li>17.6</li>\n",
"\t<li>19.1</li>\n",
"\t<li>12.8</li>\n",
"\t<li>15.5</li>\n",
"\t<li>16.3</li>\n",
"\t<li>15.2</li>\n",
"\t<li>14.6</li>\n",
"\t<li>19.1</li>\n",
"\t<li>14.4</li>\n",
"\t<li>21.4</li>\n",
"\t<li>15.1</li>\n",
"\t<li>19.6</li>\n",
"\t<li>21.7</li>\n",
"\t<li>11.3</li>\n",
"\t<li>15</li>\n",
"\t<li>14.3</li>\n",
"\t<li>16.8</li>\n",
"\t<li>14</li>\n",
"\t<li>6.8</li>\n",
"\t<li>8.2</li>\n",
"\t<li>19.9</li>\n",
"\t<li>20.4</li>\n",
"\t<li>14.6</li>\n",
"\t<li>16.4</li>\n",
"\t<li>18.7</li>\n",
"\t<li>16.8</li>\n",
"\t<li>15.8</li>\n",
"\t<li>20.4</li>\n",
"\t<li>15.8</li>\n",
"\t<li>22.4</li>\n",
"\t<li>16.2</li>\n",
"\t<li>20.3</li>\n",
"\t<li>23.4</li>\n",
"\t<li>12.1</li>\n",
"\t<li>15.5</li>\n",
"\t<li>15.4</li>\n",
"\t<li>18.4</li>\n",
"\t<li>15.7</li>\n",
"\t<li>10.2</li>\n",
"\t<li>8.9</li>\n",
"\t<li>21</li>\n",
"</ol>\n"
],
"text/latex": [
"\\begin{enumerate*}\n",
"\\item 14\n",
"\\item 7.6\n",
"\\item 11.2\n",
"\\item 12.8\n",
"\\item 12.5\n",
"\\item 9.9\n",
"\\item 14.9\n",
"\\item 9.4\n",
"\\item 16.9\n",
"\\item 10.2\n",
"\\item 14.9\n",
"\\item 18.1\n",
"\\item 7.3\n",
"\\item 9.8\n",
"\\item 10.9\n",
"\\item 12.2\n",
"\\item 9.9\n",
"\\item 2.9\n",
"\\item 2.8\n",
"\\item 15.4\n",
"\\item 15.7\n",
"\\item 9.7\n",
"\\item 13.1\n",
"\\item 13.2\n",
"\\item 12.3\n",
"\\item 11.7\n",
"\\item 16\n",
"\\item 12.4\n",
"\\item 17.9\n",
"\\item 12.2\n",
"\\item 16.2\n",
"\\item 18.7\n",
"\\item 8.9\n",
"\\item 11.9\n",
"\\item 12.1\n",
"\\item 14.6\n",
"\\item 12.1\n",
"\\item 4.7\n",
"\\item 3.9\n",
"\\item 16.9\n",
"\\item 16.8\n",
"\\item 11.3\n",
"\\item 14.4\n",
"\\item 15.7\n",
"\\item 14\n",
"\\item 13.6\n",
"\\item 18\n",
"\\item 13.6\n",
"\\item 19.9\n",
"\\item 13.7\n",
"\\item 17\n",
"\\item 20.5\n",
"\\item 9.9\n",
"\\item 12.5\n",
"\\item 13.2\n",
"\\item 16.1\n",
"\\item 13.5\n",
"\\item 6.3\n",
"\\item 6.4\n",
"\\item 17.6\n",
"\\item 19.1\n",
"\\item 12.8\n",
"\\item 15.5\n",
"\\item 16.3\n",
"\\item 15.2\n",
"\\item 14.6\n",
"\\item 19.1\n",
"\\item 14.4\n",
"\\item 21.4\n",
"\\item 15.1\n",
"\\item 19.6\n",
"\\item 21.7\n",
"\\item 11.3\n",
"\\item 15\n",
"\\item 14.3\n",
"\\item 16.8\n",
"\\item 14\n",
"\\item 6.8\n",
"\\item 8.2\n",
"\\item 19.9\n",
"\\item 20.4\n",
"\\item 14.6\n",
"\\item 16.4\n",
"\\item 18.7\n",
"\\item 16.8\n",
"\\item 15.8\n",
"\\item 20.4\n",
"\\item 15.8\n",
"\\item 22.4\n",
"\\item 16.2\n",
"\\item 20.3\n",
"\\item 23.4\n",
"\\item 12.1\n",
"\\item 15.5\n",
"\\item 15.4\n",
"\\item 18.4\n",
"\\item 15.7\n",
"\\item 10.2\n",
"\\item 8.9\n",
"\\item 21\n",
"\\end{enumerate*}\n"
],
"text/markdown": [
"1. 14\n",
"2. 7.6\n",
"3. 11.2\n",
"4. 12.8\n",
"5. 12.5\n",
"6. 9.9\n",
"7. 14.9\n",
"8. 9.4\n",
"9. 16.9\n",
"10. 10.2\n",
"11. 14.9\n",
"12. 18.1\n",
"13. 7.3\n",
"14. 9.8\n",
"15. 10.9\n",
"16. 12.2\n",
"17. 9.9\n",
"18. 2.9\n",
"19. 2.8\n",
"20. 15.4\n",
"21. 15.7\n",
"22. 9.7\n",
"23. 13.1\n",
"24. 13.2\n",
"25. 12.3\n",
"26. 11.7\n",
"27. 16\n",
"28. 12.4\n",
"29. 17.9\n",
"30. 12.2\n",
"31. 16.2\n",
"32. 18.7\n",
"33. 8.9\n",
"34. 11.9\n",
"35. 12.1\n",
"36. 14.6\n",
"37. 12.1\n",
"38. 4.7\n",
"39. 3.9\n",
"40. 16.9\n",
"41. 16.8\n",
"42. 11.3\n",
"43. 14.4\n",
"44. 15.7\n",
"45. 14\n",
"46. 13.6\n",
"47. 18\n",
"48. 13.6\n",
"49. 19.9\n",
"50. 13.7\n",
"51. 17\n",
"52. 20.5\n",
"53. 9.9\n",
"54. 12.5\n",
"55. 13.2\n",
"56. 16.1\n",
"57. 13.5\n",
"58. 6.3\n",
"59. 6.4\n",
"60. 17.6\n",
"61. 19.1\n",
"62. 12.8\n",
"63. 15.5\n",
"64. 16.3\n",
"65. 15.2\n",
"66. 14.6\n",
"67. 19.1\n",
"68. 14.4\n",
"69. 21.4\n",
"70. 15.1\n",
"71. 19.6\n",
"72. 21.7\n",
"73. 11.3\n",
"74. 15\n",
"75. 14.3\n",
"76. 16.8\n",
"77. 14\n",
"78. 6.8\n",
"79. 8.2\n",
"80. 19.9\n",
"81. 20.4\n",
"82. 14.6\n",
"83. 16.4\n",
"84. 18.7\n",
"85. 16.8\n",
"86. 15.8\n",
"87. 20.4\n",
"88. 15.8\n",
"89. 22.4\n",
"90. 16.2\n",
"91. 20.3\n",
"92. 23.4\n",
"93. 12.1\n",
"94. 15.5\n",
"95. 15.4\n",
"96. 18.4\n",
"97. 15.7\n",
"98. 10.2\n",
"99. 8.9\n",
"100. 21\n",
"\n",
"\n"
],
"text/plain": [
" [1] 14.0 7.6 11.2 12.8 12.5 9.9 14.9 9.4 16.9 10.2 14.9 18.1 7.3 9.8 10.9\n",
" [16] 12.2 9.9 2.9 2.8 15.4 15.7 9.7 13.1 13.2 12.3 11.7 16.0 12.4 17.9 12.2\n",
" [31] 16.2 18.7 8.9 11.9 12.1 14.6 12.1 4.7 3.9 16.9 16.8 11.3 14.4 15.7 14.0\n",
" [46] 13.6 18.0 13.6 19.9 13.7 17.0 20.5 9.9 12.5 13.2 16.1 13.5 6.3 6.4 17.6\n",
" [61] 19.1 12.8 15.5 16.3 15.2 14.6 19.1 14.4 21.4 15.1 19.6 21.7 11.3 15.0 14.3\n",
" [76] 16.8 14.0 6.8 8.2 19.9 20.4 14.6 16.4 18.7 16.8 15.8 20.4 15.8 22.4 16.2\n",
" [91] 20.3 23.4 12.1 15.5 15.4 18.4 15.7 10.2 8.9 21.0"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"x<-c(14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7.3, 9.8, 10.9,12.2, 9.9, 2.9, 2.8, 15.4, 15.7, 9.7, 13.1, 13.2, 12.3, 11.7, 16.0, 12.4, 17.9, 12.2, 16.2, 18.7, 8.9, 11.9, 12.1, 14.6, 12.1, 4.7, 3.9, 16.9, 16.8, 11.3, 14.4, 15.7, 14.0, 13.6, 18.0, 13.6, 19.9, 13.7, 17.0, 20.5, 9.9, 12.5, 13.2, 16.1, 13.5, 6.3, 6.4, 17.6, 19.1, 12.8, 15.5, 16.3, 15.2, 14.6, 19.1, 14.4, 21.4, 15.1, 19.6, 21.7, 11.3, 15.0, 14.3, 16.8, 14.0, 6.8, 8.2, 19.9, 20.4, 14.6, 16.4, 18.7, 16.8, 15.8, 20.4, 15.8, 22.4, 16.2, 20.3, 23.4, 12.1, 15.5, 15.4, 18.4, 15.7, 10.2, 8.9, 21.0)\n",
"x"
]
},
{
"cell_type": "code",
"execution_count": 3,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"14.11"
],
"text/latex": [
"14.11"
],
"text/markdown": [
"14.11"
],
"text/plain": [
"[1] 14.11"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"mean<-round(mean(x),2)\n",
"mean"
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"14.11"
],
"text/latex": [
"14.11"
],
"text/markdown": [
"14.11"
],
"text/plain": [
"[1] 14.11"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
" mean<-round(mean(x),2)\n",
" mean"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"2.8"
],
"text/latex": [
"2.8"
],
"text/markdown": [
"2.8"
],
"text/plain": [
"[1] 2.8"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"minimum<-round(min(x),2)\n",
"minimum"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"23.4"
],
"text/latex": [
"23.4"
],
"text/markdown": [
"23.4"
],
"text/plain": [
"[1] 23.4"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"maximum<-round(max(x),2)\n",
"maximum"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"14.5"
],
"text/latex": [
"14.5"
],
"text/markdown": [
"14.5"
],
"text/plain": [
"[1] 14.5"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"mediane<-round(median(x),2)\n",
"mediane"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {},
"outputs": [
{
"data": {
"text/html": [
"4.33"
],
"text/latex": [
"4.33"
],
"text/markdown": [
"4.33"
],
"text/plain": [
"[1] 4.33"
]
},
"metadata": {},
"output_type": "display_data"
}
],
"source": [
"ecart_type<-round(sd(x),2)\n",
"ecart_type"
]
}
],
"metadata": {
"metadata": {
"kernelspec": {
"kernelspec": {
"display_name": "
Python 3
",
"display_name": "
R
",
"language": "
python
",
"language": "
R
",
"name": "
python3
"
"name": "
ir
"
},
},
"language_info": {
"language_info": {
"codemirror_mode": {
"codemirror_mode": "r",
"name": "ipython",
"file_extension": ".r",
"version": 3
"mimetype": "text/x-r-source",
},
"name": "R",
"file_extension": ".py",
"pygments_lexer": "r",
"mimetype": "text/x-python",
"version": "3.4.1"
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.3"
}
}
},
},
"nbformat": 4,
"nbformat": 4,
"nbformat_minor":
2
"nbformat_minor":
4
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment