To find conditions in integration

3 ビュー (過去 30 日間)
pooja sudha
pooja sudha 2021 年 4 月 15 日
回答済み: Swetha Polemoni 2021 年 4 月 20 日
Hey Is there any way, I can find the conditions for that the particular integral(assume one) is equal to zero or nonzero. Please help Thanks

回答 (1 件)

Swetha Polemoni
Swetha Polemoni 2021 年 4 月 20 日
Hi
It is my understanding that you want the conditions where your integral value is some constant. Following code snippet might help you.
syms x a b
y=x+2; % expression to be integrated
f=int(y,a,1);% integral limits are 1 and a
sol=solve(f==4,a)
sol will give solution to the integral equation. int is used to integrate an expression and solve is used to solve equations
%If you are looking for inequation
syms x a b
y=x+2; % expression to be integrated
f=int(y,a,1);% integral limits are 1 and a
sol=solve(f<4,a,'ReturnConditions',true)
sol.conditions will give the range of values which satisfies the inequation.

カテゴリ

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