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!