看板 Mathematica 關於我們 聯絡資訊
小弟剛接觸Mathematica不久 近日想解下列不等式: |x-1|<=5 且 e^x<=3 Input: Reduce[{Abs[x-1]<=5,E^x<=3},x] 執行時卻異常花很多時間,且跑不出結果,出現 Reduce::nsmet: This system cannot be solved with the methods available to Reduce. 但用WolframAlpha卻可以快速解出-4<=x<=log(3) 請問是哪邊出問題?應該如何修正? 謝謝大家! -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.244.46 ※ 文章網址: http://www.ptt.cc/bbs/Mathematica/M.1408199207.A.A8A.html
chungyuandye: Reduce[{Abs[x-1]<=5,E^x<=3,Element[x,Reals]},x] 08/16 22:43
chungyuandye: Element[x,Reals]定義x為實數,否則時間都花在複數 08/16 22:45
pedestrianA: 感謝chungyuandye大解惑 08/16 22:49