Filter löschen
Filter löschen

I want to solve these 2 simultaneous equations to get x and y

2 Ansichten (letzte 30 Tage)
nathalie
nathalie am 29 Okt. 2023
Kommentiert: Torsten am 29 Okt. 2023
>> syms x y equ1 = 73*sind(0)+92*sind(200)+87*sind(x)+65*sind(y) == 0; equ2 = 73*cosd(0)+92*cosd(200)+87*cosd(x)+65*cosd(y) == 0; sol = solve([equ1,equ2]),[x,y]; xsol = sol.x

Akzeptierte Antwort

Torsten
Torsten am 29 Okt. 2023
syms x y
equ1 = 73*sind(0)+92*sind(200)+87*sind(x)+65*sind(y) == 0;
equ2 = 73*cosd(0)+92*cosd(200)+87*cosd(x)+65*cosd(y) == 0;
sol = solve([equ1,equ2],[x,y]);
xsol = double(sol.x)
xsol = 2×1
107.5410 26.1654
ysol = double(sol.y)
ysol = 2×1
-52.3855 -173.9081
  4 Kommentare
nathalie
nathalie am 29 Okt. 2023
Could you please help me in this too
Torsten
Torsten am 29 Okt. 2023
You got the results. Why do you think you need help here ?
syms x y
equ1 = 2760*sind(200)+x*sind(107.5)+y*sind(307.615) == 0;
equ2 = 2760*cosd(200)+x*cosd(107.5)+y*cosd(307.615) == 0;
sol = solve([equ1,equ2],[x,y]);
solx = double(sol.x)
solx = 7.6492e+03
soly = double(sol.y)
soly = 8.0178e+03

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by