Jul-18-2022, 07:00 PM
Hi
I have equation that i want to execute, but i cannot get it to run.
I have equation that i want to execute, but i cannot get it to run.
import numpy as np x = (np.abs((np.sign)*(90)-0.5)-0.5) * (np.abs((np.sign)*(270)+0.5)-0.5)It returns
Error:circle.py", line 3, in <module>
x = (np.abs((np.sign)*(90)-0.5)-0.5) * (np.abs((np.sign)*(270)+0.5)-0.5)
TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'
How should i proceed?