Use of brackets while multiplying expression

조회 수: 10 (최근 30일)
BALPARTAP SINGH
BALPARTAP SINGH 2021년 2월 11일
댓글: Stephen23 2021년 2월 11일
E_d=2.6*(((1-alpha)/Ku)^ 1/3)*(Pe^(-2/3));
While using this expression answers comes out be -0.0065 but if 1/3 is taken in bracket the answer changes and result is shown in complex form. Please explain the backend calculation by MATLAB.
  댓글 수: 2
Alan Stevens
Alan Stevens 2021년 2월 11일
What are the values of the constants in the expression?
BALPARTAP SINGH
BALPARTAP SINGH 2021년 2월 11일
alpha = 0.1198
Ku = -0.173016419
Pe = 17808.22486

댓글을 달려면 로그인하십시오.

답변 (1개)

Alan Stevens
Alan Stevens 2021년 2월 11일
You have
E_d = 2.6*((1-alpha)/Ku)^1/3*Pe^(-2/3)
which only raises the bracketed term to the power 1, then divides the result by 3.
If you had
E_d = 2.6*((1-alpha)/Ku)^(1/3)*Pe^(-2/3)
you would be raising the bracketed term to the power 1/3, which would result in a complex number (because of the negative value of Ku).

카테고리

Help CenterFile Exchange에서 Language Fundamentals에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by