diff options
Diffstat (limited to 'FSF-2020/calculus/series-and-transformations/Power Series')
5 files changed, 7 insertions, 31 deletions
diff --git a/FSF-2020/calculus/series-and-transformations/Power Series/README.md b/FSF-2020/calculus/series-and-transformations/Power Series/README.md index 6885837..2fd400d 100644 --- a/FSF-2020/calculus/series-and-transformations/Power Series/README.md +++ b/FSF-2020/calculus/series-and-transformations/Power Series/README.md @@ -11,4 +11,4 @@ ![GIF3](gifs/file3_radius_and_intervalOfConvergence.gif) #### Uniform Convergence -![GIF4](gifs/file4_UniformConvergence.gif) +![GIF4](gifs/file4a_UniformConvergence.gif) diff --git a/FSF-2020/calculus/series-and-transformations/Power Series/gifs/file4a_UniformConvergence.gif b/FSF-2020/calculus/series-and-transformations/Power Series/gifs/file4a_UniformConvergence.gif Binary files differnew file mode 100644 index 0000000..e284b83 --- /dev/null +++ b/FSF-2020/calculus/series-and-transformations/Power Series/gifs/file4a_UniformConvergence.gif diff --git a/FSF-2020/calculus/series-and-transformations/Power Series/video2_convergence_of_a_function.py b/FSF-2020/calculus/series-and-transformations/Power Series/video2_convergence_of_a_function.py index 19b8b8b..8680792 100644 --- a/FSF-2020/calculus/series-and-transformations/Power Series/video2_convergence_of_a_function.py +++ b/FSF-2020/calculus/series-and-transformations/Power Series/video2_convergence_of_a_function.py @@ -69,10 +69,7 @@ class graphScene(GraphScene): eqText[i].scale(0.6) eqText[i].set_color(BLUE) eqText[i].shift(ORIGIN+UP*2*y_each_unit+RIGHT*3.3*x_each_unit) - # eqTextTerm=TextMobject("And so on..!") - # eqTextTerm.set_color(BLUE) - # eqTextTerm.scale(0.6) - # eqTextTerm.shift(ORIGIN+UP*2*y_each_unit+3*RIGHT*x_each_unit) + equation1 = self.get_graph(lambda x : 1,color = RED,x_min = -8,x_max=8) equation2 = self.get_graph(lambda x : 1-math.pow(x,2),color = RED,x_min = -1.7,x_max=1.7) equation3 = self.get_graph(lambda x : 1-math.pow(x,2)+math.pow(x,4),color = RED,x_min = -1.6,x_max=1.6) diff --git a/FSF-2020/calculus/series-and-transformations/Power Series/video3_radius_and_intervalOfConvergence.py b/FSF-2020/calculus/series-and-transformations/Power Series/video3_radius_and_intervalOfConvergence.py index f35fea8..af4bdea 100644 --- a/FSF-2020/calculus/series-and-transformations/Power Series/video3_radius_and_intervalOfConvergence.py +++ b/FSF-2020/calculus/series-and-transformations/Power Series/video3_radius_and_intervalOfConvergence.py @@ -105,9 +105,4 @@ class graphScene(GraphScene,MovingCameraScene): self.wait(1) self.play(self.camera_frame.set_width,14) self.wait(1.3) - # self.camera_frame.save_state() - # self.camera_frame.set_width(5.5) - # self.play(self.camera_frame.move_to, ORIGIN) - # self.wait(1) - # self.camera_frame.set_width(14) - # self.wait(1.5) + diff --git a/FSF-2020/calculus/series-and-transformations/Power Series/video4_UniformConvergence.py b/FSF-2020/calculus/series-and-transformations/Power Series/video4_UniformConvergence.py index 1f3e26c..b75da59 100644 --- a/FSF-2020/calculus/series-and-transformations/Power Series/video4_UniformConvergence.py +++ b/FSF-2020/calculus/series-and-transformations/Power Series/video4_UniformConvergence.py @@ -3,19 +3,15 @@ import math class uniformlyConvergent(Scene): def construct(self): - #introText1=TextMobject("Again consider the","above","example") introText2=TextMobject("Let","$g(x)=\\frac { 1 }{ 1+{ x }^{ 2 } }$","and","x=0.5 $\in$(-1,1)") introText3=TextMobject("Lets analyse..","!") - #introText1.scale(0.8) + introText2.scale(0.7) introText3.scale(0.9) introText3.shift(DOWN) - #introText1.set_color_by_tex_to_color_map({"above":YELLOW}) + introText2.set_color_by_tex_to_color_map({"$g(x)=\\frac { 1 }{ 1+{ x }^{ 2 } }$":BLUE,"x=0.5 $\in$(-1,1)":YELLOW}) introText3.set_color_by_tex_to_color_map({"!":GREEN}) - #self.play(Write(introText1)) - #self.wait(0.5) - #self.play(FadeOut(introText1)) self.play(Write(introText2)) self.play(FadeIn(introText3)) self.wait(2) @@ -65,7 +61,7 @@ class graphScene(GraphScene,ZoomedScene): def setup(self): GraphScene.setup(self) - #MovingCameraScene.setup(self) + ZoomedScene.setup(self) @@ -110,19 +106,7 @@ class graphScene(GraphScene,ZoomedScene): self.activate_zooming(animate=True) for p in range(0,5): self.play(Write(lines[p])) - # self.wait(0.5) - # self.camera_frame.save_state() - # self.camera_frame.set_width(0.6) - # self.play(self.camera_frame.move_to, points[0]) - # self.wait(0.4) - # self.play(self.camera_frame.move_to, points[1]) - # self.wait(0.4) - # self.play(self.camera_frame.move_to, points[2]) - # self.wait(0.3) - # self.play(self.camera_frame.move_to, points[3]) - # self.wait(1) - # self.play(self.camera_frame.move_to,ORIGIN) - # self.camera_frame.set_width(14) + self.wait(1) self.get_zoomed_display_pop_out_animation() |