I have given a set of X, Y coordinate and I need to find the AUC using trapezoidal formula, without using any numpy or sklearn library. (x0,y0) is always (0,0) (xn,yn) is always (1,1) Below diagram Without using any sklearn library, I understand I need to find below hi = ? wi= ? AUC = sum (hi * wi) Now I am not sure how to find hi, wi. I don't think I have all the necessary data to do the high school math. Am I missing something? Continue reading...