from math import exp
def g():
    x=-3
    y=3*exp(-1)
    z=3*exp(-1)
    while y<=z:
        x=x+0.1
        y=2*x*exp(-1)+9*exp(-1)
        z=-x*exp(x+2)
    return(x)

print(g())

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: