@@ -0,0 +1,10 @@
+from math import sin
+
+x = float(input("Введите x: "))
+if x > 0:
+ y = sin(x**2)
+else:
+ y = 1 + 2 * sin(x)**2
+print("y =", y)