Unable to find explicit solution
显示 更早的评论
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
4 个评论
G A
2021-12-4
you have equation of type
y/(1-y)^A=B
which does not have an explicit solution for any A, but you can try with integer A
seema redhu
2021-12-5
is it OK as follows?
syms y a b c d f x A B
n=2;
d = n*a
A = d/a
y = solve(y/(1-y)^A==B,y)
B = (x/f^A)*exp((c - b)/a);
回答(2 个)
seema redhu
2021-12-6
1 个评论
Walter Roberson
2022-1-10
Maple thinks that 3.33507942113645790766889887448*10^(-304) might be a solution.
Your equation with actual ratio a4/a3 does not have analytical solution. Try to solve it numerically with some tolerance.
类别
在 帮助中心 和 File Exchange 中查找有关 Number Theory 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
