import math
def ctg(number):
return math.cos(number) / math.sin(number)
x = int(input("X:"))
in_ctg = 15 * (x ** 3)
in_sqrt = (28 * x) - 4
in_cos = 37 * (x ** 2)
in_tan = 21 * x
in_fabs = math.cos(in_cos) + math.tan(in_tan)
numerator = ctg(in_ctg) + math.sqrt(in_sqrt)
denominator = math.fabs(in_fabs)
y = numerator / denominator
print(f"y = {y}")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
import math
def ctg(number):
return math.cos(number) / math.sin(number)
x = int(input("X:"))
in_ctg = 15 * (x ** 3)
in_sqrt = (28 * x) - 4
in_cos = 37 * (x ** 2)
in_tan = 21 * x
in_fabs = math.cos(in_cos) + math.tan(in_tan)
numerator = ctg(in_ctg) + math.sqrt(in_sqrt)
denominator = math.fabs(in_fabs)
y = numerator / denominator
print(f"y = {y}")