How to calculate the area of specific path under the curve?

2 views (last 30 days)
Area wanted to calculate
this is the area i want to calculate
the code i used
>> i=[0:0.5:3.5];
>> l=18*sqrt(i);
>> plot (i,l)
>> grid on
>>

Answers (2)

KSSV
KSSV on 22 Jan 2022
Read about trapz.

Louis Alexander
Louis Alexander on 22 Jan 2022
if your curve can be expressed as a function, you can choose
integralintegral2 or integral3

Community Treasure Hunt

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

Start Hunting!