How ca I solve this problem in Matlab 2018b?

1 次查看(过去 30 天)
I'm trying to solve this question:
and arrive in
How can I do it? I tried this commands but didn't work. There is a way to solve this in matlab?
syms x y
solve(tan(atan(y/(x+1))-2*atan(y/x)==0))
solve(atan(y/(x+1))-2*atan(y/x)==0))

采纳的回答

Walter Roberson
Walter Roberson 2020-11-3
编辑:Walter Roberson 2020-11-3
syms x y X
sol = solve(atan(y/(x+1))-2*atan(y/x)==pi, 'returnconditions', true)
eqn = (X == sol.x(2)).^2
lhs(eqn)-rhs(eqn)
However this is missing the multiplication by y that you are expecting.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by