# Unable to find explicit solution

1 view (last 30 days)
seema redhu on 4 Dec 2021
Commented: Walter Roberson on 10 Jan 2022
syms y b a x c d f
eqn = b+(a*log(y/x))==c+(d*log((1-y)/f));
soly = solve(eqn, y)
Warning: Unable to find explicit solution. For options, see help.
> In solve (line 317)
In Plotting (line 30)
soly =
Empty sym: 0-by-1
What is wron with my code
Walter Roberson on 10 Jan 2022

seema redhu on 6 Dec 2021
Hi Sir
My actual code with parameters are as below-
syms y a1 a2 a3 a4 a5 a6
a1=-2.9362;
a2=-133.2985;
a3=0.1864;
a4=0.1717;
a5=0.95;
a6=0.5;
p=a1+(a3*log(y/a5));
q=a2+(a4*log((1-y)/a6));
r=p==q;
h=solve(r,x);
Walter Roberson on 10 Jan 2022
Maple thinks that 3.33507942113645790766889887448*10^(-304) might be a solution.

G A on 6 Dec 2021
Edited: G A on 6 Dec 2021
Your equation with actual ratio a4/a3 does not have analytical solution. Try to solve it numerically with some tolerance.

R2019a

### Community Treasure Hunt

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

Start Hunting!