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
0 个评论
回答(1 个)
  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
0 个评论
另请参阅
类别
				在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

