Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

how to solve this system of equation? (not sure what it's called/)

조회 수: 4 (최근 30일)
Waritwong Sukprasongdee
Waritwong Sukprasongdee 2020년 9월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
syms f0 fa n t
>> eqn1 = fo*cosd(t)+fa*sind(15)==0;
>> eqn2 = fo*sind(t)+n-fa*cosd(15)==0;
>> eqn3 = n*1.2-fa*sind(15)*2.4*sind(30)-fa*cosd(15)*2.4*cosd(30)==0;
>> eqn4= -n*(2.4+2.4*cosd(30))-fo*sind(t)*2.4*sind(30)+fo*cosd(t)*2.4*cosd(30)==0;

답변 (1개)

Dana
Dana 2020년 9월 10일
syms fo fa n t % note you had f0 instead of fo here in your original post
eqn1 = fo*cosd(t)+fa*sind(15)==0;
eqn2 = fo*sind(t)+n-fa*cosd(15)==0;
eqn3 = n*1.2-fa*sind(15)*2.4*sind(30)-fa*cosd(15)*2.4*cosd(30)==0;
eqn4= -n*(2.4+2.4*cosd(30))-fo*sind(t)*2.4*sind(30)+fo*cosd(t)*2.4*cosd(30)==0;
S = solve(eqn1,eqn2,eqn3,eqn4,fo,fa,n,t);
Though it appears the solutions are pretty trivial: everything is zero except for t, which can be either 0 or 180 (in both of these cases, sind(t)=0).
  댓글 수: 2
Waritwong Sukprasongdee
Waritwong Sukprasongdee 2020년 9월 10일
so if in general case how to find it using matlab
Dana
Dana 2020년 9월 10일
What general case?

이 질문은 마감되었습니다.

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by