Solve for exponent variable
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohamed Mahmoud
am 24 Okt. 2020
Kommentiert: Mohamed Mahmoud
am 24 Okt. 2020
syms x y z a b c Q N P S
Q= x^a
S = solve(Q==(x^4),a)
S-4
% why the answer is not zero and how to make it?
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 24 Okt. 2020
You need to specify the assumption that .
syms x y z a b c Q N P S
assume(x, 'positive')
Q = x^a
S = simplify(solve(Q==(x^4),a))
S-4
2 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Function Creation 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!