• Share this text:
Report Abuse
Untitled - posted by guest on 18th October 2020 05:48:22 PM

from sympy import symbols, nroots

a=1

b=-8

c=10

d=-4

x1 = input("Numero:")

x = int(x)

y1 = a*x**3 + b*x**2 + c*x + d x = 7

y = int(y1)

print(y, "reais")

Report Abuse

Login or Register to edit or copy and save this text. It's free.