Question: Task 7 Part 1 The diagram below shows how the trapezius rule is used to divide a plot into ' n ' trapezoids which are
Task
Part
The diagram below shows how the trapezius rule is used to divide a plot into trapezoids which are then added together to obtain an estimate of the area under the graph ie the integral of the function
trapezium.jpg
Write a code that uses the trapezoidal method to calculate the area under the a plot of between and The code should be written from scratch, rather than using a preexisting function like trapz. Choose a suitable value for and justify your choice.
Show a plot of the function and comment on whether your result is reasonable.
:
trapezium.jpg
jpg
ous
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
