Solve integral equation using MATLAB

107 Views Asked by At

I would like to solve an equation below using MATLAB:

enter image description here

All the parameters except $p$ are known, so I only need to solve for $p$. However since I need to consider the sign of the integrand and there is an absolute value sign in it I don't know how to solve it. Could anyone please help?

1

There are 1 best solutions below

0
On

Since $ p $ is a scalar you can try use MATLAB's fzero().

Try approximating the integral using a sum.
Write this as function of $ p $ and set it as a function handler.
Now just htrow it into fzero() (The integral minus 1).

As a starting point I'd also graph the function for various values of $ p $ just to see its behavior.