Lennar interview question

Calculate the area under the polynomial graph in python.