フィルターのクリア

How can I solve this problem ? 'Area between curves'

3 ビュー (過去 30 日間)
Abdulrahman Al Ali
Abdulrahman Al Ali 2019 年 3 月 6 日
編集済み: darova 2019 年 3 月 18 日
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)

採用された回答

darova
darova 2019 年 3 月 18 日
編集済み: darova 2019 年 3 月 18 日
fplot(f,[-2 5])
hold on
fplot(g,[-2 5],'r')
hold off

その他の回答 (1 件)

Munish Raj
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.

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by