Skip to content

Instantly share code, notes, and snippets.

@Adelgrin
Adelgrin / bhaskaraV2.py
Created May 17, 2021 14:19
program to cauculate and show the graph of a 2 degree equation
import math
import matplotlib.pyplot as plt
import numpy as np
import tkinter as tk
def gerar_grafico(a, b, c):
delta = b ** 2 - 4 * a * c
if delta < 0:
print("esta equação não possui raízes reais")