| 查看: 1743 | 回復(fù): 13 | ||||
[求助]
求助,幫忙求解下面方程組,謝謝! 已有1人參與
|
||||
|
解了好久都解不出來: I1=[a+b*cos(x-c)]*[a+b*cos(y+c)] I2=[a+b*cos(x+c)]*[a+b*cos(y+c)] I3=[a+b*cos(x-c)]*[a+b*cos(y-c)] I4=[a+b*cos(x+c)]*[a+b*cos(y-c)] 其中x,y,a,b為未知數(shù),其他為已知數(shù) 求解x,y的解析表達(dá)式。 |
木蟲 (正式寫手)
榮譽(yù)版主 (文壇精英)
![]() |
專家經(jīng)驗(yàn): +518 |
金蟲 (小有名氣)
|
matlab求解過程: r='I1=[a+b*cos(x-c)]*[a+b*cos(y+c)]'; p=' I2=[a+b*cos(x+c)]*[a+b*cos(y+c)]'; q=' I3=[a+b*cos(x-c)]*[a+b*cos(y-c)]'; s=' I4=[a+b*cos(x+c)]*[a+b*cos(y-c)]'; [x,y,a,b]=solve(r,s,q,p) Warning: Explicit solution could not be found. > In solve at 169 x = [ empty sym ] y = [] a = [] b = [] |

榮譽(yù)版主 (文壇精英)
![]() |
專家經(jīng)驗(yàn): +518 |
|
解有點(diǎn)勉強(qiáng): ------------------------------------------------------- 1stop代碼 Constant c=2.1, I1=1, I2=2, I3=3, I4=4; Parameters a, b, x, y1; MinFunction Abs((a+b*cos(x))*(a+b*cos(y1+2*c))-I1); (a+b*cos(x+2*c))*(a+b*cos(y1+2*c))=I2; (a+b*cos(x))*(a+b*cos(y1))=I3; (a+b*cos(x+2*c))*(a+b*cos(y1))=I4; -------------------------------------------------------------- 優(yōu)化算法: 粒子群算法PSO 1 函數(shù)表達(dá)式: abs((a+b*cos(x))*(a+b*cos(y1+2*2.1))-1) 目標(biāo)函數(shù)值(最小): 0.500000000088818 a: -1.77348548704645 b: -0.71856333391312 x: 3.84732949459894 y1: -6.64368661079771 約束函數(shù) 1: (a+b*cos(x+2*2.1))*(a+b*cos(y1+2*2.1))-(2) = 0 2: (a+b*cos(x))*(a+b*cos(y1))-(3) = 8.881784197E-16 3: (a+b*cos(x+2*2.1))*(a+b*cos(y1))-(4) = 0 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 344求調(diào)劑 +5 | knight344 2026-03-16 | 5/250 |
|
|---|---|---|---|---|
|
[考博] 環(huán)境領(lǐng)域全國重點(diǎn)實(shí)驗(yàn)室招收博士1-2名 +3 | QGZDSYS 2026-03-13 | 5/250 |
|
|
[考研] 265求調(diào)劑 +3 | 梁梁校校 2026-03-17 | 3/150 |
|
|
[考研] 085601材料工程專碩求調(diào)劑 +5 | 慕寒mio 2026-03-16 | 5/250 |
|
|
[考研] 材料專碩326求調(diào)劑 +6 | 墨煜姒莘 2026-03-15 | 7/350 |
|
|
[考研] 材料工程專碩274一志愿211求調(diào)劑 +6 | 薛云鵬 2026-03-15 | 6/300 |
|
|
[考研] 東南大學(xué)364求調(diào)劑 +5 | JasonYuiui 2026-03-15 | 5/250 |
|
|
[考研] 304求調(diào)劑 +3 | 曼殊2266 2026-03-14 | 3/150 |
|
|
[考研] 321求調(diào)劑 +5 | 大米飯! 2026-03-15 | 5/250 |
|
|
[考研] 277材料科學(xué)與工程080500求調(diào)劑 +3 | 自由煎餅果子 2026-03-16 | 3/150 |
|
|
[考研] 326求調(diào)劑 +3 | mlpqaz03 2026-03-15 | 3/150 |
|
|
[考博] 東華理工大學(xué)化材專業(yè)26屆碩士博士申請 +6 | zlingli 2026-03-13 | 6/300 |
|
|
[基金申請] 現(xiàn)在如何回避去年的某一個(gè)專家,不知道名字 +3 | zk200107 2026-03-12 | 6/300 |
|
|
[考研] 328求調(diào)劑 +3 | 5201314Lsy! 2026-03-13 | 6/300 |
|
|
[考研] 26調(diào)劑/材料/英一數(shù)二/總分289/已過A區(qū)線 +6 | 步川酷紫123 2026-03-13 | 6/300 |
|
|
[考研] 281求調(diào)劑 +9 | Koxui 2026-03-12 | 11/550 |
|
|
[考研] 求b區(qū)學(xué)校調(diào)劑 +3 | 周56 2026-03-11 | 3/150 |
|
|
[考研] 工科278分求調(diào)劑 +5 | 周慢熱啊 2026-03-12 | 7/350 |
|
|
[考研] 290求調(diào)劑 +3 | ADT 2026-03-13 | 3/150 |
|
|
[考研] 081200-11408-276學(xué)碩求調(diào)劑 +3 | 崔wj 2026-03-12 | 4/200 |
|