Spaces:
Sleeping
Sleeping
Update tools/parabola_plotter_tool.py
Browse files
tools/parabola_plotter_tool.py
CHANGED
|
@@ -20,7 +20,7 @@ def plot_parabola_graph(a: float, b: float, c: float) -> str:
|
|
| 20 |
|
| 21 |
try:
|
| 22 |
# Cria uma gama de valores para x
|
| 23 |
-
x = np.
|
| 24 |
|
| 25 |
# Calcula y usando a fórmula da função quadrática
|
| 26 |
y = a * x**2 + b * x + c
|
|
|
|
| 20 |
|
| 21 |
try:
|
| 22 |
# Cria uma gama de valores para x
|
| 23 |
+
x = np.arange(-10, 11, 2)
|
| 24 |
|
| 25 |
# Calcula y usando a fórmula da função quadrática
|
| 26 |
y = a * x**2 + b * x + c
|