I am trying to find the roots of my equation but I am getting an error that :
"numpy.ndarray" object is not callable
my code:
import numpy as np
from scipy.optimize import fsolve
q = (3 * np.sin(t / np.sqrt(2))) - (np.sin(t))
root = fsolve(q, 4)
print(root)