integral2 with parameters
显示 更早的评论
i am trying to solve this king of integral using matlab how do i do it?1 个评论
The integral does not exist.
In the limits from a to b (0<=a<b<R), it equals
log(sqrt((R^2-a^2)/(R^2-b^2)))
回答(1 个)
Charles Barthelmebs
2022-5-20
If you search the analytical solution you can try this:
syms r;
f = r/(R^2-r^2)
int(f,x,0,R)
but for numerical, you can use
integral(function,Xmin,Xmax)
类别
在 帮助中心 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!