【转载请注明出处】http://www.cnblogs.com/mashiqi
2017/11/08
1、查询函数:?int
任何函数,都可以通过在前面加问号?,好查询此函数的使用方法
2、定义函数:$f:=(x,y) ightarrow x^2+y^2$
指数函数要用exp(),不能直接用e^...,这和Matlab不一样
类似mathematica的manipulate功能:plots[animate](plot,[f(x,y),x=0..1],y=1..2);
3、函数画图:plot(f(x), x = -2 .. 2);
4、定义矩阵:$A := Matrix([[0, 1, 1], [1, 1, 0], [a, a*c, d^2]])$
5、求Laplacian:$with(Student[VectorCalculus]): Laplacian(x^3+y^3+z^3)$