1 Star 6 Fork 1

zhouxs1023/mU

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
mU.ini 663 Bytes
一键复制 编辑 原始数据 按行查看 历史
Begin["System`"]
$Package=Path["Package/"]
Do[Install[StringJoin[$Package,i,".dll"]],{i,
{"Differential","Function","Graphics","NumberTheory","Polynomial","Stream","Matrix"}}]
Do[Get[StringJoin[$Package,i,".u"]],{i,
{"Integration/Integrate","Summation/Sum","TeX/TeX"}}]
{\[Infinity],\[Pi],\[ExponentialE],\[ImaginaryI]} = {Infinity,Pi,E,I}
End[]
(*
simpson[f_, a_, b_, n_] :=
Module[{h = N[(b - a)/n], u, v, r},
u = Table[N[f[a + i h]], {i, 0, n}];
v = Table[u[[i]] + u[[i + 1]], {i, n}];
r = u[[1]] + u[[n + 1]] + 2 v[[1]];
Do[r += 2 u[[i]] + 2 v[[i]], {i, 2, n}]; (h/6) r];
f[x_] := 1/(x^2 + 1);
simpson[f, 0, 1, 200]
*)
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zhouxs1023/mU.git
git@gitee.com:zhouxs1023/mU.git
zhouxs1023
mU
mU
master

搜索帮助