Unable to find explicit solution

2 次查看(过去 30 天)
SAM
SAM 2022-11-9
评论: SAM 2022-11-9
syms x y
A=(1-sqrt(1-x))^.5*tan((1-sqrt(1-x))^.5*y)
B=(1+sqrt(1-x))^.5*tan((1+sqrt(1-x))^.5*y)
solx=solve(A==B,x)
Hello,
I have this problem here, but when I run the code, it will give me a warning Unable to find explicit solution. I tried also to use vpasolve to solve it numerically but it did not work. Are there any alternatives to solve the problem?

回答(1 个)

John D'Errico
John D'Errico 2022-11-9
编辑:John D'Errico 2022-11-9
Does a solution exist for EVERY possible function you can write down? (NO.) In fact, it is trivially easy to write down infinitely many sets of equations that have no solution.
syms x y
A=(1-sqrt(1-x))^.5*tan((1-sqrt(1-x))^.5*y);
B=(1+sqrt(1-x))^.5*tan((1+sqrt(1-x))^.5*y);
A - B
ans = 
I'm not sure why you would expect to see an algebraic solution to that problem.
fimplicit(A-B)
Each blue line in that solution is an entire family of solutions to the problem. So, given any value for y, there are infinitely many possible solutions for x, given y. But there will be no simple algebraic solution, nothing nice and simple you can write down.
In general (I said this just the other day too) when you have a variable both inside and outside a trig function, you will never find an analytical solution. (There will surely be some rare counter-examples to that statement, but it is true in general.)
  1 个评论
SAM
SAM 2022-11-9
actually, I am trying to find a solution as a counter but it did not work for me either way.
Here is how my original problem looks like, it is actually a geotechnical problem.
where
But my final solution should have this form
sorry I am a beginner in Matlab so that's I am not able to understand how to use it appropriately for my problem, but anyways thank you so much.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by