How ca I solve this problem in Matlab 2018b?

1 vue (au cours des 30 derniers jours)
Nélio Dias
Nélio Dias le 3 Nov 2020
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))

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Nov 2020
Modifié(e) : Walter Roberson le 3 Nov 2020
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.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by