[問題] Dsolve出了問題不太理解
f = 0.005
g[t_] := 2 UnitStep[t] - 4 UnitStep[t - f] + 4 UnitStep[t - 2 f] -
4 UnitStep[t - 3 f] + 4 UnitStep[t - 4 f] - 4 UnitStep[t - 5 f] +
4 UnitStep[t - 6 f]
sol = DSolve[{v'[t] + v[t]/(50*10^-9*7000) == (g[t])/(50*10^-9*7000),
v[0] == 0}, v, t]
可是當我跑完上面那一行時,他就會出現Reduce::ratnz: Reduce was unable to solve the system with inexact
coefficients. The answer was obtained by solving a corresponding exact system
and numericizing the result. >>
我要做的事情大概就是個RC電路用方波時的圖形,可是當我打出v[0]=0的時候他就會跑出
上面那一行,請問我應該怎麼辦?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.113.66.77
推
10/23 22:36, , 1F
10/23 22:36, 1F
→
10/23 22:36, , 2F
10/23 22:36, 2F
→
10/23 22:37, , 3F
10/23 22:37, 3F
→
10/23 22:38, , 4F
10/23 22:38, 4F
→
10/25 00:32, , 5F
10/25 00:32, 5F
Mathematica 近期熱門文章
PTT數位生活區 即時熱門文章