Hey! I'm trying to solve an integration question but I keep on getting a long error.
from numpy import *
from sympy import *
from scipy.integrate import simps
a = 0 #bottom bound
b = pi/2 #upper bound
n = 200 #interval
dx = (b-a)/n #given in the activity
x_i=arange(0,pi/2+dx,dx)
y = sin(x_i)
y_i=(y+5)**(1/4)
S200=simps(y_i,x_i)
**This is the code, and the error that I get is below **
I tried solving the function that shouldve given me the solution using simpson's rule, but I got a long error.