From 61a8d7365f8c30197d6ce9d154c12057c75f8f25 Mon Sep 17 00:00:00 2001 From: PokhilAA Date: Tue, 7 Oct 2025 21:16:05 +0300 Subject: [PATCH] 1 --- TEMA4/report.md | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/TEMA4/report.md b/TEMA4/report.md index 04b4216..d005454 100644 --- a/TEMA4/report.md +++ b/TEMA4/report.md @@ -279,7 +279,7 @@ Text(0, 0.5, 'сигнал') pylab.show() ``` -![Graf1](Ris1.PNG) +![Graf1](C:\Users\Настя\Desktop\python-labs\TEMA4\Ris1.PNG) ```py X1=[12,6,8,10,7] @@ -290,7 +290,7 @@ pylab.plot(X2) [] pylab.show() ``` -![Graf2](Ris2.PNG) +![Graf2](C:\Users\Настя\Desktop\python-labs\TEMA4\Ris2.PNG) ```py region=['Центр','Урал','Сибирь','Юг'] naselen=[65,12,23,17] @@ -298,7 +298,27 @@ pylab.pie(naselen,labels=region) ([, , , ], [Text(-0.191013134139045, 1.0832885038559115, 'Центр'), Text(-0.861328292412156, -0.6841882582231001, 'Урал'), Text(0.04429273995539947, -1.0991078896938387, 'Сибирь'), Text(0.9873750693480946, -0.48486129194837324, 'Юг')]) pylab.show() ``` -![Graf3](Ris3.PNG) +![Graf3](C:\Users\Настя\Desktop\python-labs\TEMA4\Ris3.PNG) + +```py +rost = [170, 165, 180, 175, 160, 185, 172, 168, 178, 162] +pylab.hist(rost) +(array([2., 0., 1., 1., 2., 0., 1., 1., 1., 1.]), array([160. , 162.5, 165. , 167.5, 170. , 172.5, 175. , 177.5, 180. , + 182.5, 185. ]), ) +pylab.show() +``` +![Graf4](C:\Users\Настя\Desktop\python-labs\TEMA4\Ris4.PNG) + +```py +predmety = ['Математика', 'Физика', 'Химия'] +otm = [5, 4, 3] +pylab.bar(predmety, otm) + +pylab.title('Оценки по предметам') +Text(0.5, 1.0, 'Оценки по предметам') +pylab.show() +``` +![Graf5](C:\Users\Настя\Desktop\python-labs\TEMA4\Ris5.PNG) ### 8. Cтатистический модуль statistics. ```py