フィルターのクリア

Solve these equations to get x and y in normal number

1 回表示 (過去 30 日間)
nathalie
nathalie 2023 年 10 月 29 日
編集済み: Walter Roberson 2023 年 10 月 29 日
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]);
xsol = sol.x
xsol = 
ysol = sol.y
ysol = 
  2 件のコメント
Walter Roberson
Walter Roberson 2023 年 10 月 29 日
編集済み: Walter Roberson 2023 年 10 月 29 日
In the history of Mathematics, the positive integers ("natural numbers") are the most normal numbers; ratios are probably the second most "normal" (the integers including 0 and the negative numbers came later.)
Decimal fractions came notably later than ratios; it is more difficult to call decimal fractions "normal".

サインインしてコメントする。

回答 (1 件)

John D'Errico
John D'Errico 2023 年 10 月 29 日
USE DOUBLE. You already saw that in the answer to your last question.
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]);
double(sol.x)
ans = 7.6492e+03

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by