How ca I solve this problem in Matlab 2018b?

1 Ansicht (letzte 30 Tage)
Nélio Dias
Nélio Dias am 3 Nov. 2020
Bearbeitet: Walter Roberson am 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))

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Nov. 2020
Bearbeitet: Walter Roberson am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Produkte


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by