在数学里面,基本初等函数包以下五类:
幂函数的反函数也是幂函数,因此归为一类。指数函数和对数函数互为反函数,三角函数和反三角函数互为反函数。
plot(x, x = -2 .. 2);
plot(1/x, x = -1 .. 1);
plot((1/2)^x, x = -2 .. 2);
plot(2^x, x = -2 .. 2)
plot(exp(x));
plot(log[2](x), x = 0 .. 10);
plot(log[1/2](x), x = 0 .. 10);
plot(ln(x), x = 0 .. 10);
三角函数包含sin(x),cos(x), tan(x), cot(x), sec(x), csc(x)。
plot(sin(x), x = -2*Pi .. 2*Pi);
plot(cos(x), x = -2*Pi .. 2*Pi);
plot(tan(x), x = -2*Pi .. 2*Pi);
plot(cot(x), x = -2*Pi .. 2*Pi);
plot(sec(x), x = -2*Pi .. 2*Pi);
plot(csc(x), x = -2*Pi .. 2*Pi);
三角函数包含arcsin(x),arccos(x), arctan(x), arccot(x), arcsec(x), arccsc(x)。
plot(arcsin(x), x = -1 .. 1);
plot(arccos(x), x = -1 .. 1);
plot(arctan(x), x = -50 .. 50);
plot(arccot(x), x = -50 .. 50);
plot(arcsec(x));
plot(arccsc(x));