Insert the missing parts to print the square root of the equation:

from scipy.optimize import root
from math import cos
def eqn(x):
return x + cos(x)
myroot = @(4)(eqn, 0)
print(@(8))

from scipy.optimize import root
from math import cos
def eqn(x):
return x + cos(x)
myroot = root(eqn, 0)
print(myroot.x)