diff options
author | nishanpoojary | 2020-07-01 11:53:54 +0530 |
---|---|---|
committer | GitHub | 2020-07-01 11:53:54 +0530 |
commit | c6f985090f89ab7c4c6c8043f74cfd41198aa110 (patch) | |
tree | 06e11b2fc7f56560af5332ae6fa2d702b9b8b075 /FSF-2020/calculus-of-several-variables | |
parent | f05d7bd9325dfd0eaac20596abd5fe34b22f6dce (diff) | |
download | FSF-mathematics-python-code-archive-c6f985090f89ab7c4c6c8043f74cfd41198aa110.tar.gz FSF-mathematics-python-code-archive-c6f985090f89ab7c4c6c8043f74cfd41198aa110.tar.bz2 FSF-mathematics-python-code-archive-c6f985090f89ab7c4c6c8043f74cfd41198aa110.zip |
Delete file2_limit_approach_point.py
Diffstat (limited to 'FSF-2020/calculus-of-several-variables')
-rw-r--r-- | FSF-2020/calculus-of-several-variables/multivariable-functions-and-paritial-derivatives/limits-and-continuity-of-multivariable-functions/file2_limit_approach_point.py | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/FSF-2020/calculus-of-several-variables/multivariable-functions-and-paritial-derivatives/limits-and-continuity-of-multivariable-functions/file2_limit_approach_point.py b/FSF-2020/calculus-of-several-variables/multivariable-functions-and-paritial-derivatives/limits-and-continuity-of-multivariable-functions/file2_limit_approach_point.py deleted file mode 100644 index 57d1d45..0000000 --- a/FSF-2020/calculus-of-several-variables/multivariable-functions-and-paritial-derivatives/limits-and-continuity-of-multivariable-functions/file2_limit_approach_point.py +++ /dev/null @@ -1,66 +0,0 @@ -from manimlib.imports import *
-
-class Limit(GraphScene):
- CONFIG = {
- "x_min": 0,
- "x_max": 4,
- "y_min": 0,
- "y_max": 4,
- "graph_origin": ORIGIN + 3* DOWN+4*LEFT,
- "x_labeled_nums": list(range(0, 4)),
- "y_labeled_nums": list(range(0, 5)),
- }
- def construct(self):
- topic = TextMobject("Different paths of approach to limit point")
- topic.scale(1.5)
- topic.set_color_by_gradient(RED, ORANGE, YELLOW, GREEN, BLUE, PURPLE)
- self.play(Write(topic))
- self.wait(1)
- self.play(FadeOut(topic))
-
-
-
- XTD = self.x_axis_width/(self.x_max- self.x_min)
- YTD = self.y_axis_height/(self.y_max- self.y_min)
-
- self.setup_axes(animate = True)
-
- y_x = self.get_graph(lambda x : x, x_min = -1, x_max = 4)
- y_x_lab = self.get_graph_label(y_x, label = r"y = x")
-
- y_xsquare = self.get_graph(lambda x : x*x, x_min = -1, x_max = 4)
- y_xsquare_lab = self.get_graph_label(y_xsquare, label = r"y = x^2")
-
- y_1 = self.get_graph(lambda x : 1, x_min = -1, x_max = 4)
- y_1_lab = self.get_graph_label(y_1, label = r"y = 1")
-
- y_2minusx = self.get_graph(lambda x : 2 - x, x_min = -1, x_max = 4, color = RED)
- y_2minusx_lab = self.get_graph_label(y_2minusx, label = r"y = 2 - x")
-
- limit_point = Dot().shift(self.graph_origin+1*XTD*RIGHT+1*YTD*UP)
- limit_point_lab = TextMobject(r"(1,1)")
- limit_point_lab.next_to(limit_point, DOWN)
-
- self.play(ShowCreation(limit_point))
- self.play(Write(limit_point_lab))
- self.wait(1)
-
- self.play(ShowCreation(y_x))
- self.play(Write(y_x_lab))
- self.wait(1)
-
- self.play(ShowCreation(y_xsquare))
- self.play(Write(y_xsquare_lab))
- self.wait(1)
-
- self.play(ShowCreation(y_1))
- self.play(Write(y_1_lab))
- self.wait(1)
-
- self.play(ShowCreation(y_2minusx))
- self.play(Write(y_2minusx_lab))
- self.wait(1)
-
-
-
-
\ No newline at end of file |