diff --git a/Untitled b/Untitled new file mode 100644 index 0000000..964a748 --- /dev/null +++ b/Untitled @@ -0,0 +1,18 @@ + + + + + + + + + ███╗ ██╗███████╗ ██████╗ ██╗ ██╗██╗███╗ ███╗ + ████╗ ██║██╔════╝██╔═══██╗ ██║ ██║██║████╗ ████║ + ██╔██╗ ██║█████╗ ██║ ██║█████╗██║ ██║██║██╔████╔██║ + ██║╚██╗██║██╔══╝ ██║ ██║╚════╝╚██╗ ██╔╝██║██║╚██╔╝██║ + ██║ ╚████║███████╗╚██████╔╝ ╚████╔╝ ██║██║ ╚═╝ ██║ + ╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═══╝ ╚═╝╚═╝ ╚═╝ + + + + diff --git a/build/doctrees/Mathematics/Algebra/Logarithm.doctree b/build/doctrees/Mathematics/Algebra/Logarithm.doctree new file mode 100644 index 0000000..b5b9180 Binary files /dev/null and b/build/doctrees/Mathematics/Algebra/Logarithm.doctree differ diff --git a/build/doctrees/Mathematics/Algebra/index.doctree b/build/doctrees/Mathematics/Algebra/index.doctree index c4d18db..db2a350 100644 Binary files a/build/doctrees/Mathematics/Algebra/index.doctree and b/build/doctrees/Mathematics/Algebra/index.doctree differ diff --git a/build/doctrees/Physics/index.doctree b/build/doctrees/Physics/index.doctree new file mode 100644 index 0000000..916600c Binary files /dev/null and b/build/doctrees/Physics/index.doctree differ diff --git a/build/doctrees/Physics/normalisevector.doctree b/build/doctrees/Physics/normalisevector.doctree new file mode 100644 index 0000000..26b12a1 Binary files /dev/null and b/build/doctrees/Physics/normalisevector.doctree differ diff --git a/build/doctrees/Physics/normalizevector.doctree b/build/doctrees/Physics/normalizevector.doctree new file mode 100644 index 0000000..c185d42 Binary files /dev/null and b/build/doctrees/Physics/normalizevector.doctree differ diff --git a/build/doctrees/environment.pickle b/build/doctrees/environment.pickle index a0b1d73..52178c1 100644 Binary files a/build/doctrees/environment.pickle and b/build/doctrees/environment.pickle differ diff --git a/build/doctrees/index.doctree b/build/doctrees/index.doctree index 1bdd26e..67492c2 100644 Binary files a/build/doctrees/index.doctree and b/build/doctrees/index.doctree differ diff --git a/build/html/.buildinfo b/build/html/.buildinfo index a50d484..bf720d6 100644 --- a/build/html/.buildinfo +++ b/build/html/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 879b440751338eef43fcf3b98b1c9882 +config: f4023b2bc12bf6fe5deb01014ffcd904 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/build/html/Computer-Science/index.html b/build/html/Computer-Science/index.html index 3261715..d20375d 100644 --- a/build/html/Computer-Science/index.html +++ b/build/html/Computer-Science/index.html @@ -150,10 +150,17 @@ diff --git a/build/html/Mathematics/Algebra/Logarithm.html b/build/html/Mathematics/Algebra/Logarithm.html new file mode 100644 index 0000000..9d1ffe2 --- /dev/null +++ b/build/html/Mathematics/Algebra/Logarithm.html @@ -0,0 +1,435 @@ + + + + + + + + + + + Logarithm — Neo's Journal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + +
+
+
+
+
+ +
+ +
+ + + + + +
+
+ + + +
+ + + + + + + + + + + + + +
+ +
+ + + +
+ +
+
+ +
+
+ +
+ +
+ +
+ + +
+ +
+ +
+ + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+ + + +
+

Logarithm

+ +
+
+ +
+

Contents

+
+ +
+
+
+ + + + +
+ +
+

Logarithm#

+
+

Logarithm Rules#

+

Product Rule

+
+\[log_b(X \cdot Y) = log_b(X) + log_b(Y)\]
+
+
+ + +
+ + + + + + + + +
+ + + +
+ + +
+ + + +
+
+
+ + + + + + + + \ No newline at end of file diff --git a/build/html/Mathematics/Algebra/index.html b/build/html/Mathematics/Algebra/index.html index eacabe5..0614aef 100644 --- a/build/html/Mathematics/Algebra/index.html +++ b/build/html/Mathematics/Algebra/index.html @@ -8,7 +8,7 @@ - Hello — Neo's Journal + Algebra — Neo's Journal @@ -40,10 +40,11 @@ + - + @@ -150,10 +151,17 @@ @@ -290,7 +298,7 @@
-

Hello

+

Algebra

@@ -304,8 +312,16 @@

Hello

next

-

Linear Approximation

+

Logarithm

diff --git a/build/html/Mathematics/index.html b/build/html/Mathematics/index.html index 7251240..a714c91 100644 --- a/build/html/Mathematics/index.html +++ b/build/html/Mathematics/index.html @@ -44,7 +44,7 @@ - + @@ -151,10 +151,17 @@ @@ -309,7 +316,13 @@

Mathematics

Mathematics#

    -
  • Hello
  • +
  • Algebra +
  • Linear Approximation
    • Formula
    • Proof
    • @@ -344,7 +357,7 @@

      Mathematics

      next

      -

      Hello

      +

      Algebra

      diff --git a/build/html/Mathematics/linear_approximation.html b/build/html/Mathematics/linear_approximation.html index 8a15ad4..5d07bae 100644 --- a/build/html/Mathematics/linear_approximation.html +++ b/build/html/Mathematics/linear_approximation.html @@ -44,7 +44,8 @@ - + + @@ -150,10 +151,17 @@ @@ -353,13 +361,22 @@

      Proof#< diff --git a/build/html/Physics/index.html b/build/html/Physics/index.html new file mode 100644 index 0000000..a818b9f --- /dev/null +++ b/build/html/Physics/index.html @@ -0,0 +1,413 @@ + + + + + + + + + + + Physics — Neo's Journal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      +
      +
      +
      +
      + +
      + +
      + + + + + +
      +
      + + + +
      + + + + + + + + + + + + + +
      + +
      + + + +
      + +
      +
      + +
      +
      + +
      + +
      + +
      + + +
      + +
      + +
      + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + + + +
      +

      Physics

      + +
      +
      + +
      +
      +
      + + + + + + + + + + + + + +
      + + + + +
      +
      + + +
      + + +
      +
      +
      + + + + + +
      +
      + + \ No newline at end of file diff --git a/build/html/Physics/normalisevector.html b/build/html/Physics/normalisevector.html new file mode 100644 index 0000000..fd6e1b8 --- /dev/null +++ b/build/html/Physics/normalisevector.html @@ -0,0 +1,451 @@ + + + + + + + + + + + Normalising a vector — Neo's Journal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      +
      +
      +
      +
      + +
      + +
      + + + + + +
      +
      + + + +
      + + + + + + + + + + + + + +
      + +
      + + + +
      + +
      +
      + +
      +
      + +
      + +
      + +
      + + +
      + +
      + +
      + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + + + +
      +

      Normalising a vector

      + +
      +
      + +
      +

      Contents

      +
      + +
      +
      +
      + + + + +
      + +
      +

      Normalising a vector#

      +

      Normalising a vector is the process of making the length +of a vector equal to 1, while maintaining the direction. +This is called a unit vector.

      +
      +

      Formula#

      +
      +\[\overrightarrow{u} = { \overrightarrow{v} \over {\vert\vert\overrightarrow{v} \vert\vert} }\]
      +
      +
      +

      Intuition#

      +

      Building an understanding of this process. +Starting out with a 2D vector \(\lt2, 4\gt\).

      +../_images/normalisevectors1.png +

      We can compute the hypotenuse with Pythagoras.

      +

      \(\sqrt{2^2 + 4^2} = \sqrt{20}\)

      +

      So the question then becomes, “What can I do to \(\sqrt{20}\) +to make it equal to 1”. That’s an easy question to answer, just +divide it by itself. BUT the catch is preserving the angle.

      +

      Working out the angle we get \(\arcsin({4 \over \sqrt{20}}) \approx 63.43\)

      +

      Our unit vector will always be a length of 1. That means our vector point +will lie at 63.43 degrees on a unit circle.

      +../_images/normalisevectors2.png +

      To get our values we just plug in 63.43 into cosine and sine.

      +
      +\[ \begin{align}\begin{aligned}\sin{(63.43)} = 0.89\\\cos{(63.43)} = 0.45\end{aligned}\end{align} \]
      +

      Which is just our values of \({4 \over \sqrt{20}}\) and \({2 \over \sqrt{20}}\).

      +

      Putting it all together we can say

      +
      +\[{{\lt2,4\gt} \over \sqrt{20}} = \lt0.45, 0.89\gt\]
      +
      +
      + + +
      + + + + + + + + +
      + + + +
      + + +
      +
      + + +
      + + +
      +
      +
      + + + + + +
      +
      + + \ No newline at end of file diff --git a/build/html/Physics/normalizevector.html b/build/html/Physics/normalizevector.html new file mode 100644 index 0000000..8a6a762 --- /dev/null +++ b/build/html/Physics/normalizevector.html @@ -0,0 +1,384 @@ + + + + + + + + + + + Normalising a vector — Neo's Journal + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + + + + + + + + + +
      +
      +
      +
      +
      + +
      + +
      + + + + + +
      +
      + + + + + +
      + + + + + + + + + + + + + +
      + +
      + + + +
      + +
      +
      + +
      +
      + +
      + +
      + +
      + + +
      + +
      + +
      + + + + + + + + + + + + + + + + + + + +
      + +
      + +
      +
      + + + +
      +

      Normalising a vector

      + +
      +
      + +
      +
      +
      + + + + +
      + +
      +

      Normalising a vector#

      +

      Normalising a vector is the process of making the length +of a vector equal to 1, while maintaining the direction. +This is called a unit vector.

      +
      + + +
      + + + + + + +
      + +
      +
      +
      + +
      + + + + +
      +
      + + +
      + + +
      +
      +
      + + + + + +
      +
      + + \ No newline at end of file diff --git a/build/html/Programming/index.html b/build/html/Programming/index.html index b78d237..597e680 100644 --- a/build/html/Programming/index.html +++ b/build/html/Programming/index.html @@ -150,10 +150,17 @@ diff --git a/build/html/_images/normalisevectors1.png b/build/html/_images/normalisevectors1.png new file mode 100644 index 0000000..d0342f4 Binary files /dev/null and b/build/html/_images/normalisevectors1.png differ diff --git a/build/html/_images/normalisevectors2.png b/build/html/_images/normalisevectors2.png new file mode 100644 index 0000000..b23c585 Binary files /dev/null and b/build/html/_images/normalisevectors2.png differ diff --git a/build/html/_sources/Mathematics/Algebra/Logarithm.rst b/build/html/_sources/Mathematics/Algebra/Logarithm.rst new file mode 100644 index 0000000..cb8d2c0 --- /dev/null +++ b/build/html/_sources/Mathematics/Algebra/Logarithm.rst @@ -0,0 +1,10 @@ +Logarithm +========= + +Logarithm Rules +*************** + +Product Rule + +.. math:: + log_b(X \cdot Y) = log_b(X) + log_b(Y) diff --git a/build/html/_sources/Mathematics/Algebra/index.rst b/build/html/_sources/Mathematics/Algebra/index.rst index 637cb67..c4472c8 100644 --- a/build/html/_sources/Mathematics/Algebra/index.rst +++ b/build/html/_sources/Mathematics/Algebra/index.rst @@ -1,2 +1,7 @@ -Hello -====== +Algebra +******* + +.. toctree:: + :glob: + + Logarithm.rst diff --git a/build/html/_sources/Physics/index.rst b/build/html/_sources/Physics/index.rst new file mode 100644 index 0000000..e255ad0 --- /dev/null +++ b/build/html/_sources/Physics/index.rst @@ -0,0 +1,7 @@ +Physics +======= + +.. toctree:: + + Physics/index.rst + normalisevector.rst diff --git a/build/html/_sources/Physics/normalisevector.rst b/build/html/_sources/Physics/normalisevector.rst new file mode 100644 index 0000000..811171d --- /dev/null +++ b/build/html/_sources/Physics/normalisevector.rst @@ -0,0 +1,52 @@ +.. _normalisinvector: + +Normalising a vector +==================== + +Normalising a vector is the process of making the length +of a vector equal to 1, while maintaining the direction. +This is called a `unit vector`. + +Formula +******* + +.. math:: + \overrightarrow{u} = { \overrightarrow{v} \over {\vert\vert\overrightarrow{v} \vert\vert} } + + +Intuition +********* + +Building an understanding of this process. +Starting out with a 2D vector :math:`\lt2, 4\gt`. + +.. image:: /images/normalisevectors1.png + +We can compute the hypotenuse with Pythagoras. + +:math:`\sqrt{2^2 + 4^2} = \sqrt{20}` + +So the question then becomes, "What can I do to :math:`\sqrt{20}` +to make it equal to 1". That's an easy question to answer, just +divide it by itself. **BUT** the catch is preserving the angle. + +Working out the angle we get :math:`\arcsin({4 \over \sqrt{20}}) \approx 63.43` + +Our `unit vector` will always be a length of 1. That means our vector point +will lie at 63.43 degrees on a unit circle. + +.. image:: /images/normalisevectors2.png + +To get our values we just plug in 63.43 into cosine and sine. + +.. math:: + \sin{(63.43)} = 0.89 + + \cos{(63.43)} = 0.45 + +Which is just our values of :math:`{4 \over \sqrt{20}}` and :math:`{2 \over \sqrt{20}}`. + +Putting it all together we can say + +.. math:: + {{\lt2,4\gt} \over \sqrt{20}} = \lt0.45, 0.89\gt diff --git a/build/html/_sources/Physics/normalizevector.rst b/build/html/_sources/Physics/normalizevector.rst new file mode 100644 index 0000000..905da06 --- /dev/null +++ b/build/html/_sources/Physics/normalizevector.rst @@ -0,0 +1,6 @@ +Normalising a vector +==================== + +Normalising a vector is the process of making the length +of a vector equal to 1, while maintaining the direction. +This is called a `unit vector`. diff --git a/build/html/_sources/index.rst b/build/html/_sources/index.rst index 573fb2a..1cf2d9f 100644 --- a/build/html/_sources/index.rst +++ b/build/html/_sources/index.rst @@ -5,3 +5,4 @@ Neo's Journal :glob: Mathematics/index.rst + Physics/index.rst diff --git a/build/html/_static/normalisevectors1.png b/build/html/_static/normalisevectors1.png new file mode 100644 index 0000000..d0342f4 Binary files /dev/null and b/build/html/_static/normalisevectors1.png differ diff --git a/build/html/_static/normalisevectors1.svg b/build/html/_static/normalisevectors1.svg new file mode 100644 index 0000000..c0c354c --- /dev/null +++ b/build/html/_static/normalisevectors1.svg @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/build/html/_static/normalisevectors2.svg b/build/html/_static/normalisevectors2.svg new file mode 100644 index 0000000..7d462a5 --- /dev/null +++ b/build/html/_static/normalisevectors2.svg @@ -0,0 +1,53 @@ + + + + + + + + + + + diff --git a/build/html/genindex.html b/build/html/genindex.html index ffa6664..e4ae2b3 100644 --- a/build/html/genindex.html +++ b/build/html/genindex.html @@ -149,10 +149,17 @@ diff --git a/build/html/index.html b/build/html/index.html index 544359c..ccba204 100644 --- a/build/html/index.html +++ b/build/html/index.html @@ -152,10 +152,17 @@ @@ -311,7 +318,13 @@

      Neo’s Journal

diff --git a/build/html/objects.inv b/build/html/objects.inv index da4708e..9f0b95f 100644 Binary files a/build/html/objects.inv and b/build/html/objects.inv differ diff --git a/build/html/search.html b/build/html/search.html index d4a544d..d1cd6bf 100644 --- a/build/html/search.html +++ b/build/html/search.html @@ -151,10 +151,17 @@ diff --git a/build/html/searchindex.js b/build/html/searchindex.js index ec98232..37600c5 100644 --- a/build/html/searchindex.js +++ b/build/html/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Computer-Science": [[0, null]], "Formula": [[3, "formula"]], "Hello": [[1, null]], "Linear Approximation": [[3, null]], "Mathematics": [[2, null]], "Neo\u2019s Journal": [[5, null]], "Programming": [[4, null]], "Proof": [[3, "proof"]]}, "docnames": ["Computer-Science/index", "Mathematics/Algebra/index", "Mathematics/index", "Mathematics/linear_approximation", "Programming/index", "index"], "envversion": {"sphinx": 63, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["Computer-Science/index.rst", "Mathematics/Algebra/index.rst", "Mathematics/index.rst", "Mathematics/linear_approximation.rst", "Programming/index.rst", "index.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"2": [], "A": [], "The": [], "add": [], "approx": [], "approxim": [2, 5], "area": [], "circl": [], "comput": [], "content": [], "detail": [], "f": 3, "formula": [2, 5], "function": 3, "get": 3, "give": 3, "gradient": 3, "hello": [2, 5], "i": 3, "l": 3, "line": 3, "linear": [2, 5], "m": 3, "math": [], "mathemat": 5, "over": 3, "pi": [], "point": 3, "program": [], "proof": [2, 5], "r": [], "recal": 3, "restructuredtext": [], "scienc": [], "see": [], "sepif": 3, "simplifi": 3, "syntax": [], "term": 3, "u": 3, "us": [], "valu": 3, "we": 3, "write": 3, "x": 3, "x_0": [], "x_1": 3, "x_2": 3, "y_0": [], "y_1": 3, "y_2": 3, "your": []}, "titles": ["Computer-Science", "Hello", "Mathematics", "Linear Approximation", "Programming", "Neo\u2019s Journal"], "titleterms": {"": 5, "approxim": 3, "comput": 0, "content": [], "document": [], "formula": 3, "hello": 1, "journal": 5, "linear": 3, "math": [], "mathemat": 2, "neo": 5, "program": 4, "proof": 3, "scienc": 0}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Algebra": [[2, null]], "Computer-Science": [[0, null]], "Formula": [[4, "formula"], [6, "formula"]], "Intuition": [[6, "intuition"]], "Linear Approximation": [[4, null]], "Logarithm": [[1, null]], "Logarithm Rules": [[1, "logarithm-rules"]], "Mathematics": [[3, null]], "Neo\u2019s Journal": [[8, null]], "Normalising a vector": [[6, null]], "Physics": [[5, null]], "Programming": [[7, null]], "Proof": [[4, "proof"]]}, "docnames": ["Computer-Science/index", "Mathematics/Algebra/Logarithm", "Mathematics/Algebra/index", "Mathematics/index", "Mathematics/linear_approximation", "Physics/index", "Physics/normalisevector", "Programming/index", "index"], "envversion": {"sphinx": 63, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2}, "filenames": ["Computer-Science/index.rst", "Mathematics/Algebra/Logarithm.rst", "Mathematics/Algebra/index.rst", "Mathematics/index.rst", "Mathematics/linear_approximation.rst", "Physics/index.rst", "Physics/normalisevector.rst", "Programming/index.rst", "index.rst"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": 6, "0": 6, "1": 6, "2": 6, "20": 6, "2d": 6, "4": 6, "43": 6, "43deg": [], "45": 6, "63": 6, "89": 6, "A": [], "BUT": 6, "That": 6, "The": [], "To": 6, "add": [], "algebra": [3, 8], "all": 6, "alwai": 6, "an": 6, "angl": 6, "answer": 6, "approx": 6, "approxim": [3, 8], "aprox": [], "arcsin": 6, "area": [], "becom": 6, "build": 6, "call": 6, "can": 6, "catch": 6, "cdot": 1, "circl": 6, "co": 6, "comput": 6, "content": [], "cosin": 6, "deg": [], "degre": 6, "detail": [], "direct": 6, "divid": 6, "do": 6, "easi": 6, "equal": 6, "f": 4, "formula": [3, 5, 8], "function": 4, "get": [4, 6], "give": 4, "gradient": 4, "gt": 6, "hello": [], "hypotenus": 6, "i": [4, 6], "intuit": [5, 8], "itself": 6, "just": 6, "l": 4, "length": 6, "lie": 6, "line": 4, "linear": [3, 8], "log_b": 1, "logarithm": [2, 3, 8], "lt0": 6, "lt2": 6, "m": 4, "maintain": 6, "make": 6, "math": [], "mathemat": 8, "mean": 6, "normalis": [5, 8], "our": 6, "out": 6, "over": [4, 6], "overrightarrow": 6, "physic": 8, "pi": [], "plug": 6, "point": [4, 6], "preserv": 6, "process": 6, "product": 1, "program": [], "proof": [3, 8], "put": 6, "pythagora": 6, "question": 6, "r": [], "recal": 4, "restructuredtext": [], "rule": [2, 3, 8], "sai": 6, "scienc": [], "see": [], "sepif": 4, "simplifi": 4, "sin": 6, "sine": 6, "so": 6, "sqrt": 6, "start": 6, "syntax": [], "term": 4, "text": [], "textdegre": [], "thi": 6, "togeth": 6, "u": [4, 6], "understand": 6, "unit": 6, "us": [], "v": 6, "valu": [4, 6], "vector": [5, 8], "vert": 6, "we": [4, 6], "what": 6, "which": 6, "while": 6, "work": 6, "write": 4, "x": [1, 4], "x_0": [], "x_1": 4, "x_2": 4, "y": 1, "y_0": [], "y_1": 4, "y_2": 4, "your": []}, "titles": ["Computer-Science", "Logarithm", "Algebra", "Mathematics", "Linear Approximation", "Physics", "Normalising a vector", "Programming", "Neo\u2019s Journal"], "titleterms": {"": 8, "algebra": 2, "approxim": 4, "comput": 0, "content": [], "document": [], "formula": [4, 6], "hello": [], "intuit": 6, "journal": 8, "linear": 4, "logarithm": 1, "math": [], "mathemat": 3, "neo": 8, "normalis": 6, "physic": 5, "product": [], "program": 7, "proof": 4, "rule": 1, "scienc": 0, "vector": 6}}) \ No newline at end of file diff --git a/source/Mathematics/Algebra/Logarithm.rst b/source/Mathematics/Algebra/Logarithm.rst new file mode 100644 index 0000000..cb8d2c0 --- /dev/null +++ b/source/Mathematics/Algebra/Logarithm.rst @@ -0,0 +1,10 @@ +Logarithm +========= + +Logarithm Rules +*************** + +Product Rule + +.. math:: + log_b(X \cdot Y) = log_b(X) + log_b(Y) diff --git a/source/Mathematics/Algebra/index.rst b/source/Mathematics/Algebra/index.rst index 637cb67..c4472c8 100644 --- a/source/Mathematics/Algebra/index.rst +++ b/source/Mathematics/Algebra/index.rst @@ -1,2 +1,7 @@ -Hello -====== +Algebra +******* + +.. toctree:: + :glob: + + Logarithm.rst diff --git a/source/Physics/index.rst b/source/Physics/index.rst new file mode 100644 index 0000000..e255ad0 --- /dev/null +++ b/source/Physics/index.rst @@ -0,0 +1,7 @@ +Physics +======= + +.. toctree:: + + Physics/index.rst + normalisevector.rst diff --git a/source/Physics/normalisevector.rst b/source/Physics/normalisevector.rst new file mode 100644 index 0000000..811171d --- /dev/null +++ b/source/Physics/normalisevector.rst @@ -0,0 +1,52 @@ +.. _normalisinvector: + +Normalising a vector +==================== + +Normalising a vector is the process of making the length +of a vector equal to 1, while maintaining the direction. +This is called a `unit vector`. + +Formula +******* + +.. math:: + \overrightarrow{u} = { \overrightarrow{v} \over {\vert\vert\overrightarrow{v} \vert\vert} } + + +Intuition +********* + +Building an understanding of this process. +Starting out with a 2D vector :math:`\lt2, 4\gt`. + +.. image:: /images/normalisevectors1.png + +We can compute the hypotenuse with Pythagoras. + +:math:`\sqrt{2^2 + 4^2} = \sqrt{20}` + +So the question then becomes, "What can I do to :math:`\sqrt{20}` +to make it equal to 1". That's an easy question to answer, just +divide it by itself. **BUT** the catch is preserving the angle. + +Working out the angle we get :math:`\arcsin({4 \over \sqrt{20}}) \approx 63.43` + +Our `unit vector` will always be a length of 1. That means our vector point +will lie at 63.43 degrees on a unit circle. + +.. image:: /images/normalisevectors2.png + +To get our values we just plug in 63.43 into cosine and sine. + +.. math:: + \sin{(63.43)} = 0.89 + + \cos{(63.43)} = 0.45 + +Which is just our values of :math:`{4 \over \sqrt{20}}` and :math:`{2 \over \sqrt{20}}`. + +Putting it all together we can say + +.. math:: + {{\lt2,4\gt} \over \sqrt{20}} = \lt0.45, 0.89\gt diff --git a/source/images/normalisevectors1.png b/source/images/normalisevectors1.png new file mode 100644 index 0000000..d0342f4 Binary files /dev/null and b/source/images/normalisevectors1.png differ diff --git a/source/images/normalisevectors1.svg b/source/images/normalisevectors1.svg new file mode 100644 index 0000000..ae7fcb4 --- /dev/null +++ b/source/images/normalisevectors1.svg @@ -0,0 +1,167 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/source/images/normalisevectors2.png b/source/images/normalisevectors2.png new file mode 100644 index 0000000..b23c585 Binary files /dev/null and b/source/images/normalisevectors2.png differ diff --git a/source/index.rst b/source/index.rst index 573fb2a..1cf2d9f 100644 --- a/source/index.rst +++ b/source/index.rst @@ -5,3 +5,4 @@ Neo's Journal :glob: Mathematics/index.rst + Physics/index.rst