# 1
x = float(input("x: "))
y = 1 / (2*x**2 - 1)
print(y)
# 2
a_x = float(input("a_x: "))
a_y = float(input("a_y: "))
b_x = float(input("b_x: "))
b_y = float(input("b_y: "))
if a_x**2 + a_y**2 == b_x**2 + b_y**2:
print("належать")
else:
print("не належать")
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
# 1
x = float(input("x: "))
y = 1 / (2*x**2 - 1)
print(y)
# 2
a_x = float(input("a_x: "))
a_y = float(input("a_y: "))
b_x = float(input("b_x: "))
b_y = float(input("b_y: "))
if a_x**2 + a_y**2 == b_x**2 + b_y**2:
print("належать")
else:
print("не належать")