【急】如何用mathematica求方程 cotx=1/x-x/2 最接近于0的兩個正根?
【急】如何用mathematica求方程 cotx=1/x-x/2 最接近于0的兩個正根?
用FindRoot[Cot[x]-1/x+x/2==0,{x,0}]求會報錯,而且還要求兩個
\(Power::"infy" \(\(:\)\(\ \)\)
"Infinite expression \(1\/0.`\) encountered."\)
\[Infinity]::"indet":"Indeterminate expression \(\(\(0.` \[InvisibleSpace]\
\)\) + \*InterpretationBox[\"ComplexInfinity\",DirectedInfinity[]] + \
\*InterpretationBox[\"ComplexInfinity\",DirectedInfinity[]]\) encountered."
FindRoot::"frnum":"Function \({Indeterminate}\) is not a length \(1\) \
list of numbers at \({x}\) = \({0.`}\)."
用FindRoot[Cot[x]-1/x+x/2==0,{x,0}]求會報錯,而且還要求兩個
\(Power::"infy" \(\(:\)\(\ \)\)
"Infinite expression \(1\/0.`\) encountered."\)
\[Infinity]::"indet":"Indeterminate expression \(\(\(0.` \[InvisibleSpace]\
\)\) + \*InterpretationBox[\"ComplexInfinity\",DirectedInfinity[]] + \
\*InterpretationBox[\"ComplexInfinity\",DirectedInfinity[]]\) encountered."
FindRoot::"frnum":"Function \({Indeterminate}\) is not a length \(1\) \
list of numbers at \({x}\) = \({0.`}\)."
數(shù)學(xué)人氣:831 ℃時間:2020-02-03 23:00:39
優(yōu)質(zhì)解答
Cot[x] - 1/x + x/2在0處是奇點,所以FindRoot[Cot[x]-1/x+x/2==0,{x,0}]當(dāng)然不行.你應(yīng)該FindRoot[Cot[x]-1/x+x/2==0,{x,0.1}]或FindRoot[Cot[x]-1/x+x/2==0,{x,-0.1}]不過注意到該函數(shù)唯一的“根”:0被摳掉了,所以...
我來回答
類似推薦
- mathematica數(shù)值計算,方程根反帶入方程不對
- 怎么用Mathematica求方程20sinx = lnx在x = 65 處的根
- 用Mathematica如何求解(35/36)^x=1/2方程的.
- 如何用Mathematica作空間曲面方程:(x-b)^2+y^2=b^2
- 如何用mathematica解一條方程?
- 函數(shù)f(x)=sinx-cosx^2的最小值是?
- 英語翻譯
- I took my grandpa to the hospital this morning,_____ I missed the first class.
- So crazy
- 方差是各個數(shù)據(jù)與平均數(shù)之差的平方的平均數(shù)
- 函數(shù)y=f(x)與它反函數(shù)y=f^-1(x)怎么讀?
- These are photos of my families.Look at them 改錯
猜你喜歡
- 1平面與平面重合,是否屬于平行一類?那重合的兩直線,也屬于平行一類的嗎?
- 2非洲每年因饑餓死亡的人數(shù)及現(xiàn)在饑餓人口數(shù)量拜托各位了 3Q
- 3decide to do sth.還=什么
- 4(7/8)o you think of london?B:5.____london is one of the liveliest cities
- 5啤酒可以托運嗎
- 6邊長為2√6的等邊三角形的中心到一邊的距離為?
- 7please give your hand to help me
- 8已知2的X次方等于3的Y次方等于6的Z次方不等等于1,證明X分之一加Y分之一等于Z分之一.
- 9幫我做做?
- 10機械分析天平TG628A的使用說明書
- 11in winter ,we wear warm coats to protect our bodies_.
- 12( )was most importance to her ,she told me,was her family it this what as