find x given y
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jarrod
am 10 Okt. 2023
Beantwortet: Walter Roberson
am 10 Okt. 2023
%W=3t^2+6t
%W=3t(t+2)
%(-(b)+sqrt(b^2-(4*a*c))/2*a)
%(-(b)-sqrt(b^2-(4*a*c))/2*a)
syms x
W=3*x.^2+6*x;
t1a=solve(3*x.^2+6*x == 3);
t2a=solve(3*x.^2+6*x == 9);
t3a=solve(3*x.^2+6*x == 45);
this is what i have right now but i only want the possitive x value
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 10 Okt. 2023
syms x positive
W=3*x.^2+6*x;
t1a=solve(W == 3)
t2a=solve(W == 9)
t3a=solve(W == 45)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Numbers and Precision finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!