How do I calculate this definite integral in matlab
35 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
hello. I want to calculate this integral. But it does not answer.
please check it. thanks

clc
clear
syms x
f = (124-x)^3/((12.152-2*x)^2*(1.24-x));
F = int(f, x, 0, 4.23)
1 comentario
amrita jha
el 29 de Mzo. de 2022
Use "integral" in MATLAB to compute (help integral in MATLAB)
100
-100
f(r)dr
Respuestas (2)
Steven Lord
el 28 de Feb. de 2021
When I encounter a problem integrating, one of my first thoughts is to look at the function I'm trying to integrate over the interval of integration.
syms x
f = (124-x)^3/((12.152-2*x)^2*(1.24-x));
fplot(f, [0, 4.23])
That section around x = 1.24 could prove problematic.
2 comentarios
amrita jha
el 29 de Mzo. de 2022
Anyone of you please answer this question..Use "integral" in MATLAB to compute (help integral in MATLAB)
100
-100
f(r)dr
Ver también
Categorías
Más información sobre Numerical Integration and Differentiation en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!