solve a system of equations

1 view (last 30 days)
Cristiana Abilheira
Cristiana Abilheira on 3 May 2019
Answered: Alex Sha on 6 May 2019
Hello, I have the follow equation. Then I want to find out the value of x,y and r
(x-1)^2+(y-1)^2=r ^(x-0)^2+(y-2)^2=r ^ (x-1)^2+(y-2)^2=r
how can I solve it on Matlab?
Thanks
  1 Comment
Bjorn Gustavsson
Bjorn Gustavsson on 3 May 2019
Interesting equations! What have you tried to do to solve them?

Sign in to comment.

Answers (1)

Alex Sha
Alex Sha on 6 May 2019
There are multi-solutions:
1:
x: -4.93419751895286
y: -16.1073500969731
r: 327.876127534353
2:
x: -3.55619697118012
y: -8.87946542009547
r: 118.362767827053
3:
x: -3.85130217536713
y: -10.2675663983609
r: 150.493185338195
4:
x: 1.00026181053261
y: 1.99999996572762
r: 1

Community Treasure Hunt

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

Start Hunting!