summaryrefslogtreecommitdiff
path: root/FSF-2020/linear-algebra
diff options
context:
space:
mode:
authorArchit Sangal2020-07-05 12:53:03 +0530
committerArchit Sangal2020-07-05 12:53:03 +0530
commit747f68c91279c9915382f0013ddc80fa67bd6d09 (patch)
tree0df35f12176422531e51361e21ceb35983b61c43 /FSF-2020/linear-algebra
parentad41877105cce82da726387083f4c63deb4f4f7c (diff)
downloadFSF-mathematics-python-code-archive-747f68c91279c9915382f0013ddc80fa67bd6d09.tar.gz
FSF-mathematics-python-code-archive-747f68c91279c9915382f0013ddc80fa67bd6d09.tar.bz2
FSF-mathematics-python-code-archive-747f68c91279c9915382f0013ddc80fa67bd6d09.zip
Video 2 on projections added
Diffstat (limited to 'FSF-2020/linear-algebra')
-rwxr-xr-xFSF-2020/linear-algebra/linear-transformations/Gram Schmidt Orthonormalization Process/file1_projections.py16
1 files changed, 5 insertions, 11 deletions
diff --git a/FSF-2020/linear-algebra/linear-transformations/Gram Schmidt Orthonormalization Process/file1_projections.py b/FSF-2020/linear-algebra/linear-transformations/Gram Schmidt Orthonormalization Process/file1_projections.py
index 814fa57..dd4b8d4 100755
--- a/FSF-2020/linear-algebra/linear-transformations/Gram Schmidt Orthonormalization Process/file1_projections.py
+++ b/FSF-2020/linear-algebra/linear-transformations/Gram Schmidt Orthonormalization Process/file1_projections.py
@@ -23,10 +23,10 @@ class Projections(GraphScene):
arrow_b.set_color(DARK_BLUE)
self.play(ShowCreation(arrow_a), ShowCreation(arrow_b))
- text = TextMobject(r"Let there be 2 vectors $a$ and $b$")
+ text = TextMobject(r"Consider 2 linearly independent vectors $a$ and $b$")
text.set_color(DARK_BLUE)
- text.scale(0.75)
- text.move_to(2*YTD*DOWN+4*XTD*LEFT)
+ text.scale(0.6)
+ text.move_to(3*YTD*UP+5*XTD*LEFT)
text_a = TextMobject("a")
text_a.move_to(0.4*YTD*DOWN+3*XTD*RIGHT)
text_a.set_color(DARK_BLUE)
@@ -51,7 +51,7 @@ class Projections(GraphScene):
self.play(FadeOut(text), Transform(arrow_b_copy,arrow_p), FadeOut(text_a), FadeOut(text_b))
text = TextMobject(r"$p$ is the projection of $b$ on $a$")
text.set_color(GOLD_E)
- text.move_to(2*DOWN+3*LEFT)
+ text.move_to(3*UP+4*LEFT)
text.scale(0.8)
self.play(Write(text),Write(text_p))
self.wait()
@@ -76,10 +76,4 @@ class Projections(GraphScene):
self.play(Write(text))
self.wait(2)
- self.play(FadeOut(self.axes), FadeOut(arrow_a), FadeOut(arrow_b), FadeOut(arrow_b_copy), FadeOut(arrow_o), FadeOut(text_a), FadeOut(text_b), FadeOut(text_o), FadeOut(text_p), FadeOut(text))
-
- text = TextMobject(r"Therefore, unit vectors of $b-p$ and $a$ are orthonormal to each other")
- text.scale(0.75)
- self.play(Write(text))
- self.wait(2)
- self.play(FadeOut(text)) \ No newline at end of file
+ self.play(FadeOut(self.axes), FadeOut(arrow_a), FadeOut(arrow_b), FadeOut(arrow_b_copy), FadeOut(arrow_o), FadeOut(text_a), FadeOut(text_b), FadeOut(text_o), FadeOut(text_p), FadeOut(text)) \ No newline at end of file