Hi gurus,
I'm trying to solve a small system with a best guess of an integral interval, but having some problems.
I define a funcion called "outer" (I parametrized all coefficientes in the main program):
function y=outer(x)
global alfa e2 delta x1 x4 v4 c1 c2
h=c1*sinh(x/sqrt(e2))+c2*cosh(x/sqrt(e2))+1;
v=c1*sqrt(e2)*cosh(x/sqrt(e2))+c2*sqrt(e2)*sinh(x/sqrt(e2));
y=v.*h;
then I have to integrate "outer" in the limit x3 < x < x4 where I know x4 but no idea about x3. however, I know that the integral x3>x4 = Qw (which I also parametrize in the initial).
It means that quad(@outer,x3,x4)  Qw = 0 (or less then a tolerance value).
I was thinking to use fzero to find the solution, but of course it will not work. I made a loop to find the best guess of x3, but also it was too slow.
is there any better approach to find this ?
Thanks in advance
