[問題] Solve 怎麼讓它只留實數解?
請問:
Solve[x^3+x^2-2==0,x]
它會把實數解跟複數解全部算出來:
{{x -> -1 - i}, {x -> -1 + i}, {x -> 1}}
要怎麼讓它只留實數解?? 像這樣:
{{x -> 1}}
謝謝
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 218.35.230.11
※ 文章網址: http://www.ptt.cc/bbs/Mathematica/M.1398776863.A.8C3.html
推
04/29 21:17, , 1F
04/29 21:17, 1F
推
04/29 21:19, , 2F
04/29 21:19, 2F
→
04/29 21:19, , 3F
04/29 21:19, 3F
→
04/29 21:20, , 4F
04/29 21:20, 4F
→
04/29 21:21, , 5F
04/29 21:21, 5F
→
05/01 07:33, , 6F
05/01 07:33, 6F
→
05/01 07:34, , 7F
05/01 07:34, 7F
Mathematica 近期熱門文章
PTT數位生活區 即時熱門文章