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일

0 개 추천

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

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개)

카테고리

제품

태그

질문:

2020년 10월 24일

댓글:

2020년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by