from manim import *
import numpy as np
from numpy import array, pi, cos, sin
run_time = 1
data = [[1, 2], [3, 4]]
def dot(pos, **kwargs):
    return Dot(pos, **kwargs)
class Z0058(Scene):
    def construct(self):
        sc = self
        t1 = MathTex('(a+b)^2').shift(UP)
        t2 = MathTex('a^2 + 2ab + b^2')
        self.play(*[FadeIn(_o) for _o in [t1]], run_time=1.0)
        self.wait(0.5)
        self.play(ReplacementTransform(t1, t2))
        self.wait(0.5)
        self.wait(2.60)