| 4 | 1/1 | 返回列表 |
| 查看: 1028 | 回復: 3 | |||
[求助]
求助:改變變量的數(shù)值為什么結果就計算不出來了???
|
|
開始: >> x1=1; >> x2=0.1; >> syms y1 y2; >> t=1/2.*(1-sqrt(x1.*x2)/pi.*int(int(exp(-(y1-1)^2.*x1-(y2-1)^2.*x2).*log2(1+exp(-4.*y1.*x1-4.*y2.*x2)),y1,-inf,inf),y2,-inf,inf)); Warning: Explicit integral could not be found. Warning: Explicit integral could not be found. >> digits(3) >> vpa(t) ans = 0.376 將x2從0.1變成0.2就計算不出結果來了 >> x1=1; >> x2=0.2; >> syms y1 y2; >> t=1/2.*(1-sqrt(x1.*x2)/pi.*int(int(exp(-(y1-1)^2.*x1-(y2-1)^2.*x2).*log2(1+exp(-4.*y1.*x1-4.*y2.*x2)),y1,-inf,inf),y2,-inf,inf)); Warning: Explicit integral could not be found. Warning: Explicit integral could not be found. >> digits(3) >> vpa(t) ans = 0.5 - 0.0712*numeric::int(numeric::int(log(1/exp(4*y1 + (4*y2)/5) + 1)/(exp((y1 - 1)^2 + (y2 - 1)^2/5)*log(2)), y1 = -Inf..Inf), y2 = -Inf..Inf) 求高人指點這是什么情況??? 該怎么改程序才能讓x2為任意值時都能得到具體的結果??? 多謝了 |
榮譽版主 (著名寫手)
![]() |
專家經驗: +4 |

| 4 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 材料與化工328分調劑 +4 | 。,。,。,。i 2026-03-23 | 4/200 |
|
|---|---|---|---|---|
|
[考研] 一志愿北京化工大學 070300 學碩 336分 求調劑 +7 | vv迷 2026-03-22 | 7/350 |
|
|
[考研] 材料292調劑 +4 | 橘頌思美人 2026-03-23 | 4/200 |
|
|
[考研] 384求調劑 +3 | 子系博 2026-03-22 | 6/300 |
|
|
[考研] 328求調劑,英語六級551,有科研經歷 +7 | 生物工程調劑 2026-03-17 | 12/600 |
|
|
[考研] 280分求調劑 一志愿085802 +4 | PUMPT 2026-03-22 | 7/350 |
|
|
[考研] 求調劑 +7 | Auroracx 2026-03-22 | 7/350 |
|
|
[考研] 考研調劑 +4 | 來好運來來來 2026-03-21 | 4/200 |
|
|
[考研] 考研調劑 +3 | 呼呼?~+123456 2026-03-21 | 3/150 |
|
|
[考研] 求調劑 +3 | .m.. 2026-03-21 | 4/200 |
|
|
[考研] 083200學碩321分一志愿暨南大學求調劑 +3 | innocenceF 2026-03-17 | 3/150 |
|
|
[考研] 332求調劑 +4 | ydfyh 2026-03-17 | 4/200 |
|
|
[考研] 求調劑 +3 | Ma_xt 2026-03-17 | 3/150 |
|
|
[考研] 317求調劑 +5 | 申子申申 2026-03-19 | 9/450 |
|
|
[考研]
|
然11 2026-03-19 | 4/200 |
|
|
[考研] 329求調劑 +9 | 想上學吖吖 2026-03-19 | 9/450 |
|
|
[考研] 求調劑一志愿南京航空航天大學289分 +3 | @taotao 2026-03-19 | 3/150 |
|
|
[考研] 一志愿吉林大學材料學碩321求調劑 +11 | Ymlll 2026-03-18 | 15/750 |
|
|
[考研] 求調劑 +3 | eation27 2026-03-20 | 3/150 |
|
|
[考研] 本科鄭州大學物理學院,一志愿華科070200學碩,346求調劑 +4 | 我不是一根蔥 2026-03-18 | 4/200 |
|