Solving an equation with rational exponents

조회 수: 2 (최근 30일)
Aaron Acosta
Aaron Acosta 2015년 4월 21일
댓글: Nour Mohamed 2020년 11월 15일
Im on the last step of my program and cannot seem to solve the final equation using the matlab solver. Here's the part of the code:
AR = 8
lambda = .35
tc_bar = .128
K_w = 1.01
n = 3.75
sweep = 35
ws_to = 141
syms x
w_wc = (.00945 * AR^.8 * (1+lambda)^.25 * K_w * n^.5)/(tc_bar^.4 * cosd(sweep) * ws_to^.695)
w_w = w_wc*x^1.195
w_fus = 2235*(x)^.235
w_lg = .04*(x)
w_np = .0208*(x)
w_wts = 1.1967*w_w
w_pp = .1046*(x)
w_f = .4007*(x)
w_pl = 71125
w_fe = 38740 + .035*(x)
eqn = w_w + w_fus + w_lg + w_np + w_wts + w_pp + w_f + w_pl + w_fe - x
w_to = solve(eqn,x,'Real', true)
  댓글 수: 2
Aaron Acosta
Aaron Acosta 2015년 4월 21일
This is the result of the code:
Warning: The solutions are parameterized by the symbols: z2. To include
parameters and conditions in the solution, specify the 'ReturnConditions'
option.
> In solve>warnIfParams at 511
In solve at 361
In testrun at 25
Warning: The solutions are valid under the following conditions:
3220974453495378739200000*z2^47 + 29672146199767698649*z2^239 +
158332151379539053772800000 == 574875485234589073408*z2^200 & 0 <= z2. To
include parameters and conditions in the solution, specify the
'ReturnConditions' option.
> In solve>warnIfParams at 518
In solve at 361
In testrun at 25
w_to =
z2^200
Nour Mohamed
Nour Mohamed 2020년 11월 15일
i have the same problem

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by