uni-atlas (zh)

MAPLE

f := x->;
fsolve(D(f)(x) = 0, x, range);
(D@@2)(f)(代入);

f := ;
s := fsolve(f = 0, z, complex);
s0 := map(abs, s);
max(s0);

with(plots);
plot(f, x= -1..1);
//记得要算两边端点

r := ;
polarplot(r, t = 0..2*Pi);

f := ;
g := ;
implicitplot({f,g}, x = -1..2, y = -1..2);
Pi, I, infinity, exp();
a := 1; //命名一个变量

f := x ^ 2 + y;
subs(x = 3, f); // 显示 9 + y;
subs(x = 3, y =1, f); //显示10;

evalf(Pi, 100); //精确到100位有效数字

simplify(f);
expand(f);
factor(f);

f := x-> x ^ 2;
f(5);
g :=(x, y)-> x * sin(y);
g(Pi, 1);

limit(f, x = 0);
limit(f, x = 0, left);
limit(f, x = -infinity);

//对表达式求导
diff(f, x);
diff(f, x$2);
implicitdiff(sin(x*y)=1, y, x);

//对函数求导
D(f);
D(f)(5);//代入5

int(f, x); //不定积分
int(f, x = 0..1); //定积分

set := {1,2,3};
list := [1,2,3];
sort(list); //只有list能排序

sum(i, i = 1..100); // 1 + 2 + ... + 100;
product(i, i = 1..100) // 1 * 2 * 3 * ... * 100;

eqn1 := x + y + z = 1;
eqn2 := 2 * x + y + z = 4;
eqn3 := 3 * x + y + z = 7;
solve({eqn1, eqn2, eqn3}, {x, y, z});
fslove({eqn1, eqn2, eqn3}, {x, y, z});

fsolve(x^5 - x - 1 = 0, x); // 寻找一个实数根
fsolve(x^2 + 1 = 0, x, complex); // 寻找复数根: -I, I
fslove(x^ 2  = 0, x, -1..10); // 限制解的范围

z := 3 + 4 * I;
Re(z);
Im(z);
abs(z);
argument(z);
conjugate(z);

with(plots);
plot(sin(x), x = -Pi..Pi);
plot(tan(x), x = -Pi..Pi, y = -10..10); // 限制绘图范围

//两图联立
f := x;
g := 2 * x;
plot({f,g},x = -100..100);

//参数方程(用[ ]把方程和变量括在一起)
plot([cos(t), sin(t), t = -Pi..Pi]);

ploarplot(1 + cos(t), t = 0..2 * Pi); // t 是角度,1 + cos(t)是距离

implicitplot({f,g} x = -1..1, y = -1..1);

References