Filter löschen
Filter löschen

how to write the code for the following condition

1 Ansicht (letzte 30 Tage)
Prashanth Chandrasekar
Prashanth Chandrasekar am 14 Feb. 2014
I want to find the value of theta0 and theta1,which when substituted in the equation i have to get beta=0.5
the eqn is 2*(sin(theta0)+sin(theta1))=1;
i have initial value for
theta0 = (1-beta)/2;
theta1 = (1-beta)/2;
i have to iterate the values of theta0 and theta1 to get beta as from the above eqn.

Antworten (1)

Roger Stafford
Roger Stafford am 14 Feb. 2014
If I understand you correctly, you have only one equation to satisfy and two variables that can be adjusted. If so, that means there will be an infinite continuum of possible solutions in general. You need to have another equation which the thetas also satisfy to be able to obtain a unique solution.
  3 Kommentare
Prashanth Chandrasekar
Prashanth Chandrasekar am 14 Feb. 2014
can you correct ths.i hope you understand
Prashanth Chandrasekar
Prashanth Chandrasekar am 14 Feb. 2014
U r rite, i have another eqn too which is as follows
2*(cos(theta1)-cos(theta0))/M =0;

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by