Solve for exponent variable

1 回表示 (過去 30 日間)
Mohamed Mahmoud
Mohamed Mahmoud 2020 年 10 月 24 日
コメント済み: Mohamed Mahmoud 2020 年 10 月 24 日
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?

採用された回答

Ameer Hamza
Ameer Hamza 2020 年 10 月 24 日
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 件のコメント
Mohamed Mahmoud
Mohamed Mahmoud 2020 年 10 月 24 日
It worked for defined numbers but not the variables
assume(T,'positive')
S=T^2*T^a
(solve(S==(T^1),a))
Mohamed Mahmoud
Mohamed Mahmoud 2020 年 10 月 24 日
Solved TY

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by