diff --git a/python/src/main.py b/python/src/main.py index e37a77c..e702191 100644 --- a/python/src/main.py +++ b/python/src/main.py @@ -1,7 +1,14 @@ -def summ(a: int, b: int) -> int: - return a + b + +import math +x_start = 1.25 +x_end = 3.25 +x_step = 0.4 + +while x_start <= x_end: + y = abs(x_start ** 2 - 2.5) ** (1/4) + (math.log10(x_start*x_start)) ** (1/3) + x_start += x_step + print(y) + + -if __name__ == "__main__": - print("Hello world") - print(summ(3, 4)) diff --git "a/python/src/\321\204\321\203\320\275\320\272\321\206\320\270\320\270.py" "b/python/src/\321\204\321\203\320\275\320\272\321\206\320\270\320\270.py" new file mode 100644 index 0000000..e702191 --- /dev/null +++ "b/python/src/\321\204\321\203\320\275\320\272\321\206\320\270\320\270.py" @@ -0,0 +1,14 @@ + +import math +x_start = 1.25 +x_end = 3.25 +x_step = 0.4 + +while x_start <= x_end: + y = abs(x_start ** 2 - 2.5) ** (1/4) + (math.log10(x_start*x_start)) ** (1/3) + x_start += x_step + print(y) + + + +