How to solve integration of squared root function

i want to solve
∫(x/(x-(dp/dr)))dr where p is function of r

3 Comments

That does not appear to be a squared root function ?
Is x a function of r?
When you say that you want to "solve" it, do you mean that you have a known output result (such as 7.319) and x is known, and you need to find a function p(r) that gives that particular result when the integral is taken over a given range?
Do you mean that the function p(r) is known, and the range is as well, and also x, and you need to find the value of the symbolic form of the integral? The numeric form of the integral?
There is not a lot you can do unless p(r) is known.
Hi, thank you for your response.
P(r) is a value between 0 & 1 . In other words, p(r) ∈ [0,1] & it depends on the value of r
x is a constant value. Its not a function of r.
Is p( r) a known function?
Is there a reason to not use
integral(@(r) x./(x-p(r)), LowerBound, UpperBound)

Sign in to comment.

Answers (0)

Asked:

on 6 Sep 2020

Commented:

on 6 Sep 2020

Community Treasure Hunt

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

Start Hunting!