numerical integral in matlab

We have writen a numerical integral code for f(x)=cos(x) between 0 to 5 by using
midpoint integration rule. In the same sense, i ask you to write numerical integration
code by Trapezoidal Rule for f(x)=cos(x) between 0 to 5

Answers (0)

Categories

Find more on Programming in Help Center and File Exchange

Asked:

on 2 Jan 2021

Edited:

Rik
on 2 Jan 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!