I want to solve these 2 simultaneous equations to get x and y
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
0 Kommentare
Akzeptierte Antwort
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)
ysol = double(sol.y)
4 Kommentare
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)
soly = double(sol.y)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!