Question: Use MATLAB 3. Use trapz command to integrate the function y=8x2+x+2ex in the interval x=0 to 3 . Compare your answer with the analytical answer.
Use MATLAB

3. Use trapz command to integrate the function y=8x2+x+2ex in the interval x=0 to 3 . Compare your answer with the analytical answer. If error is more than 0.25% edit your MATLAB command and get the same answer as analytical one' [ 3 marks]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
