Відповідь:
Пояснення:
import math
x = float(input('x='))
y = float()
if x <= -1:
y = 7
else:
if x <1:
y =math.sin(x+2)
y = 2*x +3/x
print ('%+10f'% y)
Відповідь:
Пояснення:
import math
x = float(input('x='))
y = float()
if x <= -1:
y = 7
else:
if x <1:
y =math.sin(x+2)
else:
y = 2*x +3/x
print ('%+10f'% y)