Why does z appear in my solution? How to get the value of x? My friend using Matlab 2017 and he can get the answer but i cannot by using matlab 2018

2 visualizzazioni (ultimi 30 giorni)
>> syms x >> eqns=1250/(1-0.2405-1.51*x^(-0.1))-x==0; >> [solx,param,cond]=solve(eqns,x,'ReturnConditions',true)
solx =
1/z2^10
param =
z2
cond =
-pi/10 < angle(1/z2) & angle(1/z2) <= pi/10 & z2^10 + (151*z2)/125000 - 1519/2500000 == 0

Risposte (1)

Prajit T R
Prajit T R il 22 Mar 2018
Hi Razin
The output that you have obtained is indeed the solution of the equation 'eqns' that you have provided.
The solution is expressed in terms of a variable z2. In your case, this means that the equation will be satisfied for all values of x=1/z2^10 where z2 is subjected to the condition 'cond'.
Since there are multiple solutions, the output 'solx' is expressed in terms of z2. To get the set of solutions in numeric form, substitute values of z2 which satisfy its necessary condition. Hope this helps.
Cheers

Community Treasure Hunt

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

Start Hunting!

Translated by