Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from manim import *
- config.pixel_height = 1920
- config.pixel_width = 1080
- config.frame_height = 16
- config.frame_width = 9
- config.frame_rate = 60
- class saida(Scene):
- def construct(self):
- # Sistema original com x, y e z
- sistema_original = MathTex(
- r"\left\{ \begin{aligned} "
- r"&x + y + z = 4 \\ "
- r"&x^2 + y^2 + z^2 = 14 \\ "
- r"&x^3 + y^3 + z^3 = 34 "
- r"\end{aligned} \right."
- )
- sistema_original.to_edge(UP)
- # Sistema simplificado com x e y
- sistema_simplificado = MathTex(
- r"\left\{ \begin{aligned} "
- r"&x + y = (\text{uma}\, \text{constante}) \\ "
- r"&x^2 + y^2 = (\text{outra}\, \text{constante})"
- r"\end{aligned} \right."
- )
- ehisso = Text("¯\\_(ツ)_/¯", font="Arial", font_size=68)
- sistema_simplificado.next_to(sistema_original, DOWN, buff=2)
- ehisso.next_to(sistema_simplificado, DOWN, buff=2)
- # Criando uma seta para baixo entre os sistemas
- arrow = Arrow(start=sistema_original.get_bottom(),
- end=sistema_simplificado.get_top(),
- buff=0.5,
- color=YELLOW)
- # Exibir sistema original
- self.play(Write(sistema_original))
- self.wait(1)
- # Adicionando a seta animada
- self.play(Write(arrow))
- self.wait(1)
- # Exibir sistema simplificado
- self.play(Write(sistema_simplificado))
- self.wait(2)
- self.play(Write(ehisso))
- self.wait(2)
- leftover = VGroup()
- for obj in self.mobjects:
- if issubclass(obj.__class__, VMobject):
- leftover += obj
- self.play(Unwrite(leftover))
- self.wait(0.5)
- class fecho(Scene):
- def construct(self):
- solucao1 = MathTex(r"-\frac{b}{a}", "=", r"4")
- solucao2 = MathTex(r"\frac{c}{a}", "=", r"1")
- solucao3 = MathTex(r"-\frac{d}{a}", "=", r"-6")
- solucao_group = VGroup(solucao1, solucao2, solucao3)
- solucao_group.arrange(DOWN, aligned_edge=LEFT, buff=0.5)
- solucao_group.to_corner(UL)
- self.play(Write(solucao_group))
- self.wait(1)
- # Novas versões das equações
- nova_solucao1 = MathTex(r"-\frac{b}{1}", "=", r"4")
- nova_solucao2 = MathTex(r"\frac{c}{1}", "=", r"1")
- nova_solucao3 = MathTex(r"-\frac{d}{1}", "=", r"-6")
- coefB = MathTex(r"\quad \Rightarrow \quad", "b", "=", "-4").next_to(solucao1, RIGHT, buff=0.5)
- coefC = MathTex(r"\quad \Rightarrow \quad", "c", "=", "1").next_to(solucao2, RIGHT, buff=0.5)
- coefD = MathTex(r"\quad \Rightarrow \quad", "d", "=", "6").next_to(solucao3, RIGHT, buff=0.5)
- coeficientes = VGroup(coefB, coefC, coefD)
- #coeficientes.arrange(DOWN, aligned_edge=LEFT, buff=0.5)
- #coeficientes.next_to(solucao_group, RIGHT, buff=0.5)
- equacao3 = MathTex(r"ax^3 + bx^2 + cx + d = 0")
- equacao3.next_to(solucao_group, DOWN, buff=1)
- equacao3.to_edge(LEFT)
- nova_equacao3 = MathTex(r"x^3 - 4x^2 + x - 6 = 0")
- nova_equacao3.next_to(equacao3, DOWN, buff=0.5)
- nova_equacao3.to_edge(LEFT)
- teorema = MathTex(
- r"\text{Se } f(x) = a_n x^n + a_{n-1} x^{n-1} + \dots + a_1 x + a_0,",
- r"\text{ com } a_n \neq 0, \text{ então as raízes racionais possíveis são: }",
- r"\frac{p}{q},",
- r"\text{onde } p \text{ é um divisor de } a_0 \text{ e } q \text{ é um divisor de } a_n."
- ).arrange(DOWN, buff=0.5).scale(0.7)
- traducao = Tex(
- "Tradução: Se a equação tem alguma raíz racional,\\\\" "ela será um dos divisores \\\\ "
- "da divisão entre o termo independente e\\\\""o coeficiente do termo de maior grau"
- ).scale(0.7)
- coreq1 = FadeToColor(equacao3[0][0:1], RED, run_time=0.15)
- coreq2 = FadeToColor(equacao3[0][4:5], BLUE, run_time=0.15)
- coreq3 = FadeToColor(equacao3[0][8:9], GREEN, run_time=0.15)
- coreq4 = FadeToColor(equacao3[0][11:12], PURPLE, run_time=0.15)
- nova_solucao1.move_to(solucao1)
- nova_solucao2.move_to(solucao2)
- nova_solucao3.move_to(solucao3)
- # Transformando uma equação por vez
- self.play(TransformMatchingTex(solucao1, nova_solucao1))
- self.wait(0.1)
- self.play(TransformMatchingTex(solucao2, nova_solucao2))
- self.wait(0.1)
- self.play(TransformMatchingTex(solucao3, nova_solucao3))
- self.wait(0.1)
- cor1 = FadeToColor(nova_solucao1[0][3:4], RED , run_time = 0.15)
- cor2 = FadeToColor(nova_solucao2[0][2:3], RED , run_time = 0.15)
- cor3 = FadeToColor(nova_solucao3[0][3:4], RED , run_time = 0.15)
- self.play(cor1, cor2, cor3)
- self.wait(1)
- self.play(Write(equacao3))
- self.wait(0.1)
- self.play(coreq1, coreq2, coreq3, coreq4)
- self.wait(1)
- self.play(Write(coeficientes))
- self.wait(1)
- cordoB = FadeToColor(coefB[1:4], BLUE, run_time=0.5)
- cordoC = FadeToColor(coefC[1:4], GREEN , run_time=0.5)
- cordoD = FadeToColor(coefD[1:4], PURPLE , run_time=0.5)
- self.play(cordoB, cordoC, cordoD)
- self.wait(1)
- corcoef = FadeToColor(nova_equacao3[0][3:6], BLUE, run_time=0.5)
- corcoef3 = FadeToColor(nova_equacao3[0][9:10], PURPLE, run_time=0.5)
- corcoef2 = FadeToColor(nova_equacao3[0][7:8], GREEN, run_time=0.5)
- self.play(Write(nova_equacao3))
- self.wait(0.5)
- self.play(corcoef, corcoef2, corcoef3)
- self.wait(1)
- self.play(Unwrite(VGroup(solucao_group, coeficientes, equacao3, nova_solucao1, nova_solucao2, nova_solucao3)))
- self.play(nova_equacao3.animate.to_edge(UP))
- self.wait(1)
- # Definir a equação geral e as soluções
- eq_x1 = MathTex(
- r"x_1 = -\frac{b}{3a} + \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_x2 = MathTex(
- r"x_2 = -\frac{b}{3a} + \left( \frac{-1}{2} + \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \left( \frac{-1}{2} - \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_x3 = MathTex(
- r"x_3 = -\frac{b}{3a} + \left( \frac{-1}{2} - \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \left( \frac{-1}{2} + \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_p = MathTex(
- r"p = \frac{c}{a} - \frac{b^2}{3a^2}"
- )
- eq_q = MathTex(
- r"q = \frac{d}{a} - \frac{bc}{3a^2} + \frac{2b^3}{27a^3}"
- )
- # Organizar o layout das equações na tela
- eq_x1.next_to(nova_equacao3, DOWN, buff=1)
- eq_x2.next_to(eq_x1, DOWN, buff=0.5)
- eq_x3.next_to(eq_x2, DOWN, buff=0.5)
- eq_p.next_to(eq_x3, DOWN, buff=0.75)
- eq_q.next_to(eq_p, DOWN, buff=1)
- # Ajustar o tamanho das equações para se ajustar à largura da tela
- eq_x1.scale_to_fit_width(config.frame_width * 0.7)
- eq_x2.scale_to_fit_width(config.frame_width * 0.9)
- eq_x3.scale_to_fit_width(config.frame_width * 0.9)
- eq_p.scale_to_fit_width(config.frame_width * 0.5)
- eq_q.scale_to_fit_width(config.frame_width * 0.5)
- tartano = VGroup(eq_x1, eq_x2, eq_x3, eq_p, eq_q)
- tartano.set_x(0)
- # Criar as animações
- self.play(Write(tartano), run_time=3.5)
- # Espera no final
- self.wait(1)
- self.play(Unwrite(tartano), run_time=2.5)
- self.wait(1)
- # Apresentar a fórmula do teorema
- teorema.next_to(nova_equacao3, DOWN, buff=1)
- teorema.set_x(0)
- traducao.next_to(teorema, DOWN, buff=0.5)
- self.play(Write(teorema[0]))
- self.wait(1)
- self.play(Write(teorema[1]))
- self.wait(1)
- self.play(Write(teorema[2]))
- self.wait(1)
- self.play(Write(teorema[3]))
- self.wait(2)
- self.play(Write(traducao), run_time=3)
- self.wait(2)
- self.play(Unwrite(VGroup(teorema, traducao)))
- self.wait(1)
- # Cria a equação
- possiveis = MathTex(r"\text{Possíveis raízes racionais: } \pm \left(\frac{1, 2, 3, 6}{1}\right)")
- possiveis_esticado = MathTex(r"\pm 1, \pm 2, \pm 3, \pm 6")
- possiveis.next_to(nova_equacao3, DOWN, buff=1)
- possiveis.set_x(0)
- possiveis_esticado.next_to(possiveis, DOWN, buff=0.5)
- self.play(Write(possiveis))
- self.wait(1)
- self.play(Write(possiveis_esticado))
- self.wait(1)
- nova_equacao4 = MathTex(r"x^3 - 4x^2 + x - 6 = 0")
- nova_sol1 = MathTex(r"1^3 - 4 \cdot 1^2 + 1 - 6 = -8").next_to(possiveis_esticado, DOWN, buff = 2)
- nova_solmenos1 = MathTex(r"-1^3 - 4 \cdot -1^2 + -1 - 6 = 0").next_to(nova_sol1, DOWN, buff = 1)
- nova_sol2 = MathTex(r"2^3 - 4 \cdot 2^2 + 2 - 6 = 0")
- nova_sol3 = MathTex(r"3^3 - 4 \cdot 3^2 + 3 - 6 = 0")
- rais = Tex("-1 é uma raíz").next_to(nova_solmenos1, DOWN, buff = 1)
- self.play(Write(nova_sol1))
- self.wait(1)
- self.play(Write(nova_solmenos1))
- self.wait(1)
- self.play(nova_solmenos1.animate.set_color_by_gradient(RED, YELLOW, GREEN, BLUE, PURPLE), run_time=3)
- self.wait(1)
- self.play(Write(rais))
- self.wait(1)
- self.play(Unwrite(VGroup(nova_sol1, nova_solmenos1, rais, possiveis, possiveis_esticado, nova_equacao3)))
- tabela = MathTable(
- [["1", "-4", "1", "-6"], # Coeficientes
- ["1", "-1", "5", "-4"], # Produtos intermediários
- ["-1", "-5", "6", "0"]], # Resultados finais
- include_outer_lines=True
- ).scale(0.8).to_edge(UP)
- divisor_label = MathTex(r"c = -1").to_edge(LEFT).shift(UP * 0.5)
- legenda = Text("Divisão usando Briot-Ruffini").scale(0.6).next_to(tabela, DOWN)
- # Mostrar divisor
- self.play(Write(divisor_label))
- self.wait()
- # Mostrar tabela inicial
- self.play(Create(tabela.get_horizontal_lines()), Create(tabela.get_vertical_lines()))
- self.play(Write(tabela.get_entries()))
- self.wait()
- # Animação passo a passo
- # Destacar o coeficiente inicial
- self.play(tabela.get_entries((1, 1)).animate.set_color(YELLOW))
- self.wait()
- # Adicionar o primeiro produto (c * 1 = -1)
- self.play(Indicate(tabela.get_entries((1, 1))), run_time=1)
- self.play(tabela.get_entries((2, 2)).animate.set_color(RED))
- self.wait()
- # Calcular a soma: -4 + (-1) = -5
- self.play(Indicate(tabela.get_entries((2, 2))))
- self.play(tabela.get_entries((3, 2)).animate.set_color(GREEN))
- self.wait()
- # Repetir para os próximos passos
- for i in range(2, 4):
- # Calcular produto intermediário
- self.play(Indicate(tabela.get_entries((3, i))))
- self.play(tabela.get_entries((2, i + 1)).animate.set_color(RED))
- self.wait()
- # Calcular o valor na linha de resultados
- self.play(Indicate(tabela.get_entries((2, i + 1))))
- self.play(tabela.get_entries((3, i + 1)).animate.set_color(GREEN))
- self.wait()
- # Mostrar o resultado final
- resultado = MathTex(r"Quociente: x^2 - 5x + 6, \text{ Resto: } 0").scale(0.8)
- resultado.next_to(tabela, DOWN)
- self.play(Write(resultado))
- self.wait(2)
- self.play(Unwrite(VGroup(tabela, divisor_label, legenda, resultado)))
- # Espera
- self.wait(1)
- class indice(Scene):
- def construct (self):
- equation = MathTex(r"x^3 - 4x^2 + x - 6 = 0")
- self.add(equation)
- self.add(index_labels(equation[0], color=RED))
- class tresgrau(Scene):
- def construct(self):
- # Definir a equação geral e as soluções
- eq_x1 = MathTex(
- r"x_1 = -\frac{b}{3a} + \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_x2 = MathTex(
- r"x_2 = -\frac{b}{3a} + \left( \frac{-1}{2} + \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \left( \frac{-1}{2} - \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_x3 = MathTex(
- r"x_3 = -\frac{b}{3a} + \left( \frac{-1}{2} - \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} + \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}} + \left( \frac{-1}{2} + \frac{i\sqrt{3}}{2} \right) \sqrt[3]{-\frac{q}{2} - \sqrt{\frac{q^2}{4} + \frac{p^3}{27}}}"
- )
- eq_p = MathTex(
- r"p = \frac{c}{a} - \frac{b^2}{3a^2}"
- )
- eq_q = MathTex(
- r"q = \frac{d}{a} - \frac{bc}{3a^2} + \frac{2b^3}{27a^3}"
- )
- # Organizar o layout das equações na tela
- eq_x1.to_edge(UP)
- eq_x2.next_to(eq_x1, DOWN, buff=0.5)
- eq_x3.next_to(eq_x2, DOWN, buff=0.5)
- eq_p.next_to(eq_x3, DOWN, buff=0.75)
- eq_q.next_to(eq_p, DOWN, buff=1)
- # Ajustar o tamanho das equações para se ajustar à largura da tela
- eq_x1.scale_to_fit_width(config.frame_width * 0.7)
- eq_x2.scale_to_fit_width(config.frame_width * 0.9)
- eq_x3.scale_to_fit_width(config.frame_width * 0.9)
- eq_p.scale_to_fit_width(config.frame_width * 0.5)
- eq_q.scale_to_fit_width(config.frame_width * 0.5)
- # Criar as animações
- self.play(Write(eq_x1))
- self.wait(1)
- self.play(Write(eq_x2))
- self.wait(1)
- self.play(Write(eq_x3))
- self.wait(1)
- self.play(Write(eq_p))
- self.wait(1)
- self.play(Write(eq_q))
- # Espera no final
- self.wait(2)
- class div(Scene):
- def construct(self):
- # Título da cena
- titulo = Text("Divisão de Polinômios com Briot-Ruffini").to_edge(UP)
- # Polinômio inicial
- polinomio = MathTex(r"x^3 - 4x^2 + x - 6").next_to(titulo, DOWN)
- # Configuração inicial da tabela
- tabela = MathTable(
- [["1", "-4", "1", "-6"], # Coeficientes
- ["1", "-1", "5", "-4"], # Produtos intermediários
- ["-1", "-5", "6", "0"]], # Resultados finais
- include_outer_lines=True
- ).scale(0.8).next_to(polinomio, DOWN)
- # Adicionar labels de linha e coluna
- divisor_label = MathTex(r"c = -1").to_edge(LEFT).shift(UP * 0.5)
- legenda = Text("Divisão usando Briot-Ruffini").scale(0.6).next_to(tabela, DOWN)
- # Animações iniciais
- self.play(Write(titulo))
- self.play(Write(polinomio))
- self.wait()
- # Mostrar divisor
- self.play(Write(divisor_label))
- self.wait()
- # Mostrar tabela inicial
- self.play(Create(tabela.get_horizontal_lines()), Create(tabela.get_vertical_lines()))
- self.play(Write(tabela.get_entries()))
- self.wait()
- # Animação passo a passo
- # Destacar o coeficiente inicial
- self.play(tabela.get_entries((1, 1)).animate.set_color(YELLOW))
- self.wait()
- # Adicionar o primeiro produto (c * 1 = -1)
- self.play(Indicate(tabela.get_entries((1, 1))), run_time=1)
- self.play(tabela.get_entries((2, 2)).animate.set_color(RED))
- self.wait()
- # Calcular a soma: -4 + (-1) = -5
- self.play(Indicate(tabela.get_entries((2, 2))))
- self.play(tabela.get_entries((3, 2)).animate.set_color(GREEN))
- self.wait()
- # Repetir para os próximos passos
- for i in range(2, 4):
- # Calcular produto intermediário
- self.play(Indicate(tabela.get_entries((3, i))))
- self.play(tabela.get_entries((2, i + 1)).animate.set_color(RED))
- self.wait()
- # Calcular o valor na linha de resultados
- self.play(Indicate(tabela.get_entries((2, i + 1))))
- self.play(tabela.get_entries((3, i + 1)).animate.set_color(GREEN))
- self.wait()
- # Mostrar o resultado final
- resultado = MathTex(r"Quociente: x^2 - 5x + 6, \text{ Resto: } 0").scale(0.8)
- resultado.next_to(tabela, DOWN)
- self.play(Write(resultado))
- self.wait(3)
- class quad(Scene):
- def construct(self):
- # Cria a equação
- nova_quad = MathTex(r"x^2 - 5x + 6 = 0").to_edge(UP)
- nova_equacao4 = MathTex(r"x^3 - 4x^2 + x + 6 = 0")
- nova_sol2 = MathTex(r"2^3 - 4 \cdot 2^2 + 2 + 6 = 0")
- nova_sol3 = MathTex(r"3^3 - 4 \cdot 3^2 + 3 + 6 = 0")
- # Escrevendo a fórmula de Bhaskara
- bhaskara_formula = MathTex(
- r"x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}"
- ).next_to(nova_quad, DOWN, buff = 1)
- bhaskara_com_coef = MathTex(r"x = \frac{-(-5) \pm \sqrt{(-5)^2 - 4(1)(6)}}{2(1)}").next_to(bhaskara_formula, DOWN, buff = 1)
- bhaskara_meio = MathTex(r"x = \frac{5 \pm \sqrt{25 - 24}}{2}").next_to(bhaskara_com_coef, DOWN, buff = 1)
- bhaskara_quase = MathTex(r"x = \frac{5 \pm \sqrt{1}}{2}").next_to(bhaskara_meio, DOWN, buff = 1)
- raises = MathTex(r"x_1 = 2, \, x_2 = 3").next_to(bhaskara_quase, DOWN, buff = 1)
- ultima = MathTex(r"x_1 = -1").next_to(raises, DOWN, buff = 0.5)
- possiveis_esticado = MathTex(r"\pm 1, \pm 2, \pm 3, \pm 6")
- respostas = VGroup(raises, ultima)
- ouro = FadeToColor(respostas, GOLD, run_time=1)
- prata = FadeToColor(respostas, GRAY_B, run_time=1)
- bronze = FadeToColor(respostas, LIGHT_BROWN, run_time=1)
- seta = Arrow(start=bhaskara_formula.get_bottom(), end=bhaskara_com_coef.get_top(), buff=0.1)
- # Cria o plano cartesiano
- npl = NumberPlane(
- x_range=[-config.frame_width / 2, config.frame_width / 2],
- y_range=[-config.frame_height / 2, config.frame_height / 2],
- axis_config={"stroke_color": WHITE},
- background_line_style={
- "stroke_opacity": 0, # Torna as linhas de fundo invisíveis
- }
- )
- npl.add_coordinates()
- funcquad = lambda x: x**2 - 5*x + 6
- funcube = lambda x: x**3 - 4*x**2 + x + 6
- self.play(Write(nova_quad))
- self.wait(1)
- self.play(Write(bhaskara_formula))
- self.wait(1)
- self.play(Write(seta)) # Animação da seta
- self.play(Write(bhaskara_com_coef)) # Fórmula de Bhaskara com coeficientes
- self.wait(2)
- self.play(Write(bhaskara_meio))
- self.wait(1)
- self.play(Write(bhaskara_quase))
- self.wait(1)
- self.play(Write(raises))
- self.wait(1)
- self.play(Write(ultima))
- self.wait(1)
- for i in range(2):
- self.play(ouro)
- self.play(prata)
- self.play(bronze)
- self.play(Unwrite(VGroup(nova_quad, bhaskara_formula, bhaskara_com_coef, bhaskara_meio, bhaskara_quase, seta)),ouro)
- self.play(Write(possiveis_esticado), prata)
- self.wait(1)
- self.play(Unwrite(possiveis_esticado), bronze)
- self.wait(1)
- self.play(Unwrite(respostas))
- self.play(Write(npl), run_time=1)
- graph_quad = npl.plot(funcquad, color=BLUE)
- graph_cube = npl.plot(funcube, color=MAROON)
- self.play(Create(graph_quad), run_time = 1) # Plota as funções
- self.play(Create(graph_cube), run_time = 1)
- sol1 = Dot(npl.c2p(-1, 0), color=YELLOW).scale(1.5)
- sol2 = Dot(npl.c2p(2, 0), color=YELLOW).scale(1.5)
- sol3 = Dot(npl.c2p(3, 0), color=YELLOW).scale(1.5)
- sols = VGroup(sol1, sol2, sol3)
- self.play(Create(sols), run_time = 1)
- self.wait(1)
- self.play(Indicate(sols), run_time = 1)
- self.wait(1)
- leftover = VGroup()
- for obj in self.mobjects:
- if issubclass(obj.__class__, VMobject):
- leftover += obj
- self.play(Unwrite(leftover))
- self.wait(0.5)
- class subs(Scene):
- def construct(self):
- sistema = MathTex(r"\left\{ \begin{aligned} &x + y + z = 4 \\ &x^2 + y^2 + z^2 = 14 \\ &x^3 + y^3 + z^3 = 34 \end{aligned} \right.")
- sis = MathTex(r"\left\{ \begin{aligned} &x + y + z = 4 \\ &x^2 + y^2 + z^2 = 14 \\ &x^3 + y^3 + z^3 = 34 \end{aligned} \right.")
- sis3 = MathTex(r"\left\{ \begin{aligned} &x + y + z = 4 \\ &x^2 + y^2 + z^2 = 14 \\ &x^3 + y^3 + z^3 = 34 \end{aligned} \right.")
- sis4 = MathTex(r"\left\{ \begin{aligned} &x + y + z = 4 \\ &x^2 + y^2 + z^2 = 14 \\ &x^3 + y^3 + z^3 = 34 \end{aligned} \right.")
- primeiraEq = MathTex(r"x + y + z = 4")
- segundaEq = MathTex(r"x^2 + y^2 + z^2 = 14")
- terceiraEq = MathTex(r"x^3 + y^3 + z^3 = 34")
Add Comment
Please, Sign In to add comment