Azzera filtri
Azzera filtri

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

2 visualizzazioni (ultimi 30 giorni)
>> 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

Risposta accettata

Torsten
Torsten il 29 Ott 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 Commenti
Torsten
Torsten il 29 Ott 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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by