The value of integral is known, how to solve out the lower/upper bound of the integral?

9 vues (au cours des 30 derniers jours)
As in the picture, all the variables are known except the lower/upper bound, how can I solve out the lower/upper bound? Thank you!

Réponses (1)

Steven Lord
Steven Lord le 18 Oct 2016
In a case like the one given in the picture, where both the upper and lower bounds are functions of one variable, this is possible. Use fzero to compute a root of this function of x:
f = @(x) (integral(yourIntegrand, -x, x)-knownValue)
where you write your integrand and the known value of the integral in the obvious places.

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by