I'm trying to solve numerically this equation:
K1= (Jp/J0) * ( (J0-B) / (Jp-B) )
K2= ( (1/Jp) - (1/J0) )
t= (1/(A*B^2)) * ln ( K1 - B * K2) <- this is the equation
Where t, J0, A and B are constants
and Jp is unknowned.
In my example:
When I try to solve numérically (bisection method and secant method),
log of a negative value doesn't exist and then there is an error.
I have transformed the equation into another one, taking exponential function left and right
and then the value of the exponential is a very big number
and the method fails too (note that A is a big number).
I have tried with Matlab.
I'm sure the solution exists because
I have had the A an B values using
a mathemathical software (MathCad).
Does anyone have a solution
or an idea to solve this problem ?
I will be very gratefull to you.
Thanks in advance.