summaryrefslogtreecommitdiff
path: root/FSF-2020/calculus
diff options
context:
space:
mode:
authorG Sri Harsha2020-07-10 18:50:30 +0530
committerGitHub2020-07-10 18:50:30 +0530
commit20b3bcd1479cc9a3cbbb5200f5df936d0666552a (patch)
treedc9c26b8dcd53d07bc0714ff21d1c64cf626012e /FSF-2020/calculus
parent16a74e95745c6073ae6dc09fce3b030a64102646 (diff)
downloadFSF-mathematics-python-code-archive-20b3bcd1479cc9a3cbbb5200f5df936d0666552a.tar.gz
FSF-mathematics-python-code-archive-20b3bcd1479cc9a3cbbb5200f5df936d0666552a.tar.bz2
FSF-mathematics-python-code-archive-20b3bcd1479cc9a3cbbb5200f5df936d0666552a.zip
Update video3_seriesVSTransform.py
Diffstat (limited to 'FSF-2020/calculus')
-rw-r--r--FSF-2020/calculus/series-and-transformations/Fourier Transform/video3_seriesVSTransform.py19
1 files changed, 1 insertions, 18 deletions
diff --git a/FSF-2020/calculus/series-and-transformations/Fourier Transform/video3_seriesVSTransform.py b/FSF-2020/calculus/series-and-transformations/Fourier Transform/video3_seriesVSTransform.py
index 07f884a..d35f8bf 100644
--- a/FSF-2020/calculus/series-and-transformations/Fourier Transform/video3_seriesVSTransform.py
+++ b/FSF-2020/calculus/series-and-transformations/Fourier Transform/video3_seriesVSTransform.py
@@ -125,22 +125,5 @@ class compare(GraphScene,MovingCameraScene):
self.play(ApplyMethod(left.shift,LEFT*x_each_unit*0.5),ApplyMethod(right.shift,RIGHT*x_each_unit*0.5),ReplacementTransform(result4,result5),ReplacementTransform(coeffResult[2],coeffResult[3]))
- # coeffResult=[
- # TextMobject("$\\frac { { 2 }^{ 2 } }{ 6 } +\sum _{ n=1 }^{ 1 }{ \\frac { 2{ (-1) }^{ n }{ 2 }^{ 2 }cos(\\frac { n\pi x }{ 2 } ) }{ { \pi }^{ 2 }{ n }^{ 2 } } }$").scale(0.3).shift(4.5*RIGHT+1.5*UP),
- # TextMobject("$\\frac { { 2 }^{ 2 } }{ 6 } +\sum _{ n=1 }^{ 4 }{ \\frac { 2{ (-1) }^{ n }{ 2 }^{ 2 }cos(\\frac { n\pi x }{ 2 } ) }{ { \pi }^{ 2 }{ n }^{ 2 } } } $").scale(0.3).shift(4.5*RIGHT+1.5*UP),
- # TextMobject("$\\frac { { 2 }^{ 2 } }{ 6 } +\sum _{ n=1 }^{ 10 }{ \\frac { 2{ (-1) }^{ n }{ 2 }^{ 2 }cos(\\frac { n\pi x }{ 2 } ) }{ { \pi }^{ 2 }{ n }^{ 2 } } } $").scale(0.3).shift(4.5*RIGHT+1.5*UP),
- # TextMobject("$\\frac { { 2 }^{ 2 } }{ 6 } +\sum _{ n=1 }^{ 20 }{ \\frac { 2{ (-1) }^{ n }{ 2 }^{ 2 }cos(\\frac { n\pi x }{ 2 } ) }{ { \pi }^{ 2 }{ n }^{ 2 } } } $").scale(0.3).shift(4.5*RIGHT+1.5*UP),
- # ]
- # result2a=self.returnPartResult(2,1)
- # result2b=self.returnPartResult(2,4)
- # result2c=self.returnPartResult(2,10)
- # result2d=self.returnPartResult(2,20)
- # self.play(ReplacementTransform(partFunction2,result2a),ReplacementTransform(coeffResult[0],coeffResult[1]))
- # self.play(ReplacementTransform(result2a,result2b),ReplacementTransform(coeffResult[0],coeffResult[1]))
- # self.play(ReplacementTransform(result2b,result2c),ReplacementTransform(coeffResult[0],coeffResult[1]))
- # self.play(ReplacementTransform(result2c,result2d),ReplacementTransform(coeffResult[0],coeffResult[1]))
- # self.wait(0.5)
-
-
- self.wait(2) \ No newline at end of file
+ self.wait(2)