필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
nathalie
nathalie 2023년 10월 29일
댓글: 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 = 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
nathalie
nathalie 2023년 10월 29일
Could you please help me in this too
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