8 -2.4 0.0 40 0 0.0 13.5 17.5 50 0 5.0 -3.0 3.0 50 2 1.0 0.0 1.0 1.3 3.0 40 2 1.0 0.0 1.0 -1.0 7.0 8 2 3.0 1.0 2.5 -1.0 7.0 100 2 3.0 1.0 2.5 -1.5 5.0 40 4 23.7 -4.0 0.0 2.1 0.1 -1.5 5.0 400 4 23.7 -4.0 0.0 2.1 0.1 Correct output: --------------- Estimated area under y = 0.0x^0 between x = -2.4 and x = 0.0 using 40 rectangles is 0.0 Estimated area under y = 5.0x^0 between x = 13.5 and x = 17.5 using 50 rectangles is 19.999999999999993 Estimated area under y = 1.0x^0+ 0.0x^1+ 1.0x^2 between x = -3.0 and x = 3.0 using 50 rectangles is 24.014400000000006 Estimated area under y = 1.0x^0+ 0.0x^1+ 1.0x^2 between x = 1.3 and x = 3.0 using 40 rectangles is 9.812840937499994 Estimated area under y = 3.0x^0+ 1.0x^1+ 2.5x^2 between x = -1.0 and x = 7.0 using 8 rectangles is 274.0 Estimated area under y = 3.0x^0+ 1.0x^1+ 2.5x^2 between x = -1.0 and x = 7.0 using 100 rectangles is 329.5680000000003 Estimated area under y = 23.7x^0+ -4.0x^1+ 0.0x^2+ 2.1x^3+ 0.1x^4 between x = -1.5 and x = 5.0 using 40 rectangles is 472.26895722277857 Estimated area under y = 23.7x^0+ -4.0x^1+ 0.0x^2+ 2.1x^3+ 0.1x^4 between x = -1.5 and x = 5.0 using 400 rectangles is 494.1904987061717