Is there a method for solving DIFFICULT inequalities using Mupad?
이전 댓글 표시
I want to solve the following inequality:
solve(E^((-PI*(0.975/sqrt(15.2(1+k))))/sqrt(1-0.975^2/(15.2(1+k)))) < 10 , k, Real)
Mupads solution is just
R
답변 (2개)
Walter Roberson
2016년 5월 7일
Provided that E^ means exp(), in R2016a,
syms k
eqn = exp(-3705*pi/((95+95*k)^(1/2)*(2310400-144495/(1+k))^(1/2)))
solve(eqn<10,k)
gives me the empty set, and solve(eqn==10,k) gives me a number slightly larger than 1, which is a false root. There are no real solutions to eqn==10
A different package tells me the solution is (-22799/24320,infinity] where that lower bound is excluded. That lower bound is the point at which eqn would equal 0, except that right at that bound you have a division by 0. All values more negative than that lead to complex values. The equation is true from that point onwards because the value of the equation never exceeds 1, and 1 < 10
I have not yet found a way to get the symbolic toolbox to return a non-empty solution
John D'Errico
2016년 5월 7일
편집: John D'Errico
2016년 5월 7일
0 개 추천
Inequalities generally don't have a "solution". Usually, they have an entire locus of solutions. In one variable, thus a problem like this, those sets will be intervals. They may possibly be infinite intervals, open intervals, or closed intervals.
You can identify the points bracketing the intervals of interest by solving the problem as an equality. But first, you might consider plotting the relationship. In fact, if I assume that E is exp(1), then it appears that the expression as you have written it is always less than 10, for all k. That may be why Mupad suggests the solution set is R, thus -inf < k < inf.
댓글 수: 1
Walter Roberson
2016년 5월 7일
For k more negative than the value I posted, the expression is complex valued. Complex values are not orderable against real so they cannot be said to be less than 10 so the interval should not be all of R.
To return R, you need to have asked the wrong question, namely set of k such that eqn1 at k is not 10 or greater. Complex values are not greater than 10 so all of R is in that set.
I just realized that I did not try running from within a MuPad notebook; running from the MATLAB prompt gets me the empty set and a warning in r2016a
카테고리
도움말 센터 및 File Exchange에서 Code Performance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!