高数常用等价无穷小和泰勒公式动态图像

文章目录

下面的代码都是Maple,没有找到Maple就选择了Matlab代码

sinx~x

matlab 复制代码
f := x;
g := sin(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = ["x", "sinx"], frames = 50);

arcsinx~x

matlab 复制代码
f := x;
g := arcsin(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = ["x", arcsinx], frames = 50);

tanx~x

matlab 复制代码
f := x;
g := tan(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = ["x", tanx], frames = 50);

e^x-1~x

matlab 复制代码
f := x;
g := exp(x) - 1;
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = ["x", exp(x) - 1], frames = 50);

ln(x+1)~x

matlab 复制代码
f := x;
g := ln(x + 1);
plots[animatecurve]([f, g], x = -0.5 .. 0.5, color = [red, blue], legend = ["x", ln(x + 1)], frames = 50);

1-cosx~1/2*x^2

matlab 复制代码
f := 1 - cos(x);
g := 1/2*x^2;
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [1 - cosx, 1/2*x^2], frames = 50);

sinx泰勒展开

matlab 复制代码
f := x - 1/6*x^3;
g := sin(x);
plots[animatecurve]([f, g], x = -1.5 .. 1.5, color = [red, blue], legend = [x - 1/6*x^3, "sinx"], frames = 50);

arcsinx泰勒展开

matlab 复制代码
f := x + 1/6*x^3;
g := arcsin(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [x - 1/6*x^3, "arcsinx"], frames = 50);

tanx泰勒展开

matlab 复制代码
f := x + 1/3*x^3;
g := tan(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [x - 1/6*x^3, "tanx"], frames = 50);

arctanx泰勒展开

matlab 复制代码
f := x - 1/3*x^3;
g := arctan(x);
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [x - 1/3*x^3, "arctanx"], frames = 50);

cosx泰勒展开

matlab 复制代码
f := cos(x);
g := 1 - 1/2*x^2 + 1/24*x^4;
plots[animatecurve]([f, g], x = -2 .. 2, color = [red, blue], legend = [cosx, 1 - 1/2*x^2 + 1/24*x^4], frames = 50);

ln(x+1)泰勒展开

matlab 复制代码
f := ln(1 + x);
g := x - 1/2*x^2 + 1/3*x^3 - 1/4*x^4;
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [ln(1 + x), x - 1/2*x^2 + 1/3*x^3 - 1/4*x^4], frames = 50);

e^x泰勒展开

matlab 复制代码
f := exp(x);
g := 1 + x + x^2/2! + x^3/3!;
plots[animatecurve]([f, g], x = -1 .. 1, color = [red, blue], legend = [exp(x), 1 + x + x^2/2! + x^3/3!], frames = 50);

1/(1-x)泰勒展开

matlab 复制代码
f := 1/(1 - x);
g := x^3 + x^2 + x + 1;
plots[animatecurve]([f, g], x = -0.5 .. 0.5, color = [red, blue], legend = [1/(1 - x), x^3 + x^2 + x + 1], frames = 50);
相关推荐
(Charon)1 小时前
【C++面试】手写智能指针(二):从shared_ptr理解引用计数与共享所有权
c++·算法
一条大祥脚2 小时前
26 ICPC上海 交互|二分|重心|构造|二分图|贪心|SOSDP|三进制枚举|线性基|字典序贪心|DFS|分块|单侧递归线段树
算法·深度优先·交互·分块·icpc上海站·单侧递归线段树
吹什么轩2 小时前
数据结构复习:二叉搜索树
数据结构·算法
H.莓飛2 小时前
【数据结构】堆
linux·数据结构·算法
纪念 2292 小时前
C++算法(二)
开发语言·c++·算法
lie..2 小时前
30天从零开始学AI应用开发(Day 16):Embedding 是什么?用人话讲明白“向量检索”
人工智能·算法·embedding
朝朝辞暮i13 小时前
C++ 第 21 课:struct —— 把一组相关数据打包在一起
开发语言·c++·算法
青梅橘子皮13 小时前
Blue---二分算法(二分查找与二分答案)
算法
长河13 小时前
Java的GC(垃圾回收)中,标记无用对象的核心方法是可达性分析算法
java·jvm·算法