How ca I solve this problem in Matlab 2018b?

1 回表示 (過去 30 日間)
Nélio Dias
Nélio Dias 2020 年 11 月 3 日
編集済み: Walter Roberson 2020 年 11 月 3 日
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 Center および File ExchangeNumber Theory についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by