Solving an equation with rational exponents

2 views (last 30 days)
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 Comments
Aaron Acosta
Aaron Acosta on 21 Apr 2015
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!