1. Evaluate the following integral by developing a computer code (one for each method) to perform the method. Present yo
-
- Site Admin
- Posts: 899559
- Joined: Mon Aug 02, 2021 8:13 am
1. Evaluate the following integral by developing a computer code (one for each method) to perform the method. Present yo
1. Evaluate the following integral by developing a computer code (one for each method) to perform the method. Present your solution to 4 decimal places. (16 marks) 10.5x2 - 0.5x3 – 4x2 dx using a. Trapezoidal method with 100 panels; b.Simpson's method with 100 panels; 2. Compare the results using a relative error, from the two ods with the exact integral and comment on their accuracies. This can be done in the same Excel sheet you develop your code on its own tab. (4 marks)
. You need to upload the macro-enabled excel workbook (with VBA code) only. If the inputs are entered by myself or the tutors via an input box then these values should be put in comments next to the input box line of code.