How can I solve this problem ? 'Area between curves'
1 次查看(过去 30 天)
显示 更早的评论
clear all
clc
syms x;
f=@(x) x^3-3*x^2;
g=@(x) 4*x;
IP=solve(f(x)-g(x))
A1=int(-g(x)+f(x),-1,0);
A2=int(-f(x)+g(x),0,4);
A=A1+A2
Aalt=int(abs(f(x)-g(x)),-1,4)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207095/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/207096/image.png)
0 个评论
更多回答(1 个)
Munish Raj
2019-3-18
Hello Abdulrahman,
This answer will help you solve this problem.
It demostrates how you can calculate the area between two curves.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!