Problem
Write a Python function that implements trapezoidal rule for numerical integration: Trapezoid(y,x,mode)
y: is the list for function values mode: is either "equal" or "unequal"
X: if mode=="equal" → is a scalar representing deltax value if mode=="unequal" is a list of x values
Use the Python starter file, implement the function and complete the code to run the cases that were provided there. You will find two cases: 1) unequal option 2) equal option.