From 1d2fe5494681dc9f68ce7c3b8b8e545b09ff0e13 Mon Sep 17 00:00:00 2001 From: Thegad1411 Date: Sat, 12 Nov 2022 08:21:45 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=963=20=D0=B2=D0=B0=D1=80=D0=B8=D0=BD=D0=B0?= =?UTF-8?q?=D1=82=20=E2=84=961?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- python/python.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 python/python.py diff --git a/python/python.py b/python/python.py new file mode 100644 index 0000000..7a5ee7a --- /dev/null +++ b/python/python.py @@ -0,0 +1,27 @@ +#Сделал на python потому что не знаю как сделать на go +#Задание1 +print('Numder 1') +b=2.5 +x=1.28 +xk=3.28 +xd=0.4 +import math +while x<=xk: + y=(1+math.sin(b**3+x**3))//((b**3+x**3)**(1//3)) + x=x+xd + print(x) + +#Задание 2 +print('Numder 2') +b2=2.5 +x1=1.1 +x2=2.4 +x3=3.6 +x4=5.21 +x5=4.16 +y1=(1+math.sin(b2**3+x1**3))//((b2**3+x1**3)**(1//3)) +y2=(1+math.sin(b2**3+x2**3))//((b2**3+x2**3)**(1//3)) +y3=(1+math.sin(b2**3+x3**3))//((b2**3+x3**3)**(1//3)) +y4=(1+math.sin(b2**3+x4**3))//((b2**3+x4**3)**(1//3)) +y5=(1+math.sin(b2**3+x5**3))//((b2**3+x5**3)**(1//3)) +print(y1, y2, y3, y4, y5) \ No newline at end of file