integral2 with parameters

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)

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

Asked:

on 20 May 2022

Edited:

on 20 May 2022

Community Treasure Hunt

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

Start Hunting!