Step 2* - Download formulas-wf

Go to the formulas-wf repository and copy the FORMULAS folder to the main Manim folder. Then, in the subfolder FORMULAS/TXT save a txt file with all the formulas, in the order you defined in the sketch of Step 1. In this example, since we are doing the animation of the quadratic equation, we will save the file as quadratic, that is, this file will be in FORMULAS/TXT/quadratic.txt.

This step will only have to be done once, since all the groups of formulas you want can be saved in FORMULAS/TXT/, that is, if you want to create an animation where an equation is deduced, you can save it in FORMULAS/TXT/formula_deduction.txt, where formula_deduction.txt contains all the formulas in order.

In this example, the quadratic file is this:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
ax^2+bx+c=0
ax^2+bx=-c
x^2+{b\over a}x=-{c\over a}
x^2+{b\over a}x+\left({b\over 2a}\right)^2=-{c\over a}+\left({b\over 2a}\right)^2
\left(x+{b\over 2a}\right)^2=-{c\over a}+\left({b\over 2a}\right)^2
\left(x+{b\over 2a}\right)^2=-{c\over a}+{b^2\over 4a^2}
\left(x+{b\over 2a}\right)^2={b^2\over 4a^2}-{c\over a}
\left(x+{b\over 2a}\right)^2={b^2\over 4a^2}-{4c\over 4a}
\left(x+{b\over 2a}\right)^2={b^2\over 4a^2}-{4ac\over 4a^2}
\left(x+{b\over 2a}\right)^2a={b^2-4ac\over 4a^2}
\sqrt{\left(x+{b\over 2a}\right)^2}=\pm\sqrt{{b^2-4ac\over 4a^2}}
x+{b\over 2a}=\pm\sqrt{{b^2-4ac\over 4a^2}}
x=-{b\over 2a}\pm\sqrt{{b^2-4ac\over 4a^2}}
x=-{b\over 2a}\pm{\sqrt{b^2-4ac}\over 2a}
x={-b\pm\sqrt{b^2-4ac}\over 2a}
../_images/img1.png