I would like to make an equation to solve t when T_max is equal to 450
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
OC=[3/5;3/5*sqrt(3);0]
BC=[9/40*sqrt(3);27/40;9/20]
OB=OC+BC
R=OB
syms t
F=[0;0;t]
MO=cross(R,F)
OA=[0;1.2;0.9]
OAe=OA/norm(OA)
Max=dot(OAe,MO)*OAe
T_max=norm(Max)
0 Kommentare
Antworten (2)
Roger Stafford
am 13 Apr. 2016
Bearbeitet: Roger Stafford
am 13 Apr. 2016
It is simple division:
t = 450/dot(OAe,cross(R,[0;0;1])); (<-- Corrected)
0 Kommentare
sam0037
am 13 Apr. 2016
Hi,
Appending these three commands to your code will do the magic:
eqn = T_max == 450;
res = solve(eqn,t);
val = double(res); %this is the desired value of t
Here are the documentation links for the same:
0 Kommentare
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!