随笔分类 -  数学

mathematica简单入门
摘要:考虑未来可能面临的游戏数值模型问题,轻轻接触 mathematica 7.0 数学软件。以下记录可能会用得到最简单的 mathematica 功能(shift + enter执行):简单求值(2^10 - 32) / 9自定义函数f[x_] := (Sin[x] + 3) * x^2 + 5x绘制曲线Plot[f[x], {x, -3, 3}]Plot[x^2 + sin(y), {x, -1, 1}, {y, -Pi, Pi}]绘制点集dataF = Table[f[x], {x, 1, 5, 0.5}]ListPlot[dataF]ListPlot[dataF, PlotJoined-&g 阅读全文
posted @ 2012-03-06 19:35 GM 320号 阅读(341) 评论(0) 推荐(0)