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 (최근 30일)
>> 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

답변 (1개)

Prajit T R
Prajit T R 2018년 3월 22일
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

카테고리

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