# python 3+
import numpy as np
x, y, c = int(input("input x: ")), int(input("input y: ")), int(input("input c: "))
a = np.sqrt(abs(x-1)) + np.sqrt(abs(y))
b = ((1+np.sqrt(y+2))/(x**4+abs(y)))+2*x
y = (b**2 - 4*a*c)/2
print(a, b, y)
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
# python 3+
import numpy as np
x, y, c = int(input("input x: ")), int(input("input y: ")), int(input("input c: "))
a = np.sqrt(abs(x-1)) + np.sqrt(abs(y))
b = ((1+np.sqrt(y+2))/(x**4+abs(y)))+2*x
y = (b**2 - 4*a*c)/2
print(a, b, y)