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

2 次查看(过去 30 天)
>> 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

采纳的回答

Torsten
Torsten 2023-10-29
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 个评论
Torsten
Torsten 2023-10-29
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

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Linear Algebra 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by