Finding Common area under some polynomial curve

1 次查看(过去 30 天)
Hello Guys, I am new to Matlab and got stuck with this problem.Actually, I need to find the shaded area as shown in the picture.I have a polynomial curve of 8 order with coefficients 76.4083184414468 -6371.86069367096 238457.663626450 -5313777.50319281 77602092.9842676 -754371232.479583 4656620413.14696 -16084108155.9535 23191234884.0141.For simplicity, the smaller value can be assumed and I have a line y= (some const.) that cuts this curve at 2 points and now I want to find the area of the rectangle that fits exactly inside this curve. And later on, I want to calculate the area of the rectangle for different values of constants. Any help would be thankful

回答(1 个)

Soumya Saxena
Soumya Saxena 2018-1-30
Please consider using "trapz" function :

类别

Help CenterFile Exchange 中查找有关 Interpolation 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by