def add_constant_to_antiderivative(self):
    antideriv_diff = self.antideriv_diff
    plus_fives = VGroup(*[TexMobject('+5') for i in range(2)])
    plus_fives.set_color(YELLOW)
    for (five, part) in zip(plus_fives, antideriv_diff[1::2]):
        five.next_to(part, DOWN)
    group = VGroup(plus_fives[0], antideriv_diff[2].copy(), plus_fives[1])
    self.play(Write(plus_fives, run_time=2))
    self.wait(2)
    self.play(group.arrange, group.next_to, antideriv_diff, DOWN, MED_LARGE_BUFF)
    self.wait()
    self.play(FadeOut(group, run_time=2))
    self.wait()
def add_constant_to_antiderivative(self):
    antideriv_diff = self.antideriv_diff
    plus_fives = VGroup(*[TexMobject('+5') for i in range(2)])
    plus_fives.set_color(YELLOW)
    for (five, part) in zip(plus_fives, antideriv_diff[1::2]):
        five.next_to(part, DOWN)
    group = VGroup(plus_fives[0], antideriv_diff[2].copy(), plus_fives[1])
    self.play(Write(plus_fives, run_time=2))
    self.wait(2)
    self.play(group.arrange, group.next_to, antideriv_diff, DOWN, MED_LARGE_BUFF)
    self.wait()
    self.play(FadeOut(group, run_time=2))
    self.wait()