integral2 with parameters

8 views (last 30 days)
Stanislav Kogan
Stanislav Kogan on 20 May 2022
Edited: Torsten on 20 May 2022
i am trying to solve this king of integral using matlab how do i do it?
  1 Comment
Torsten
Torsten on 20 May 2022
Edited: Torsten on 20 May 2022
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)))

Sign in to comment.

Answers (1)

Charles Barthelmebs
Charles Barthelmebs on 20 May 2022
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)

Tags

Community Treasure Hunt

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

Start Hunting!