bconsolvo commited on
Commit
f160428
·
verified ·
1 Parent(s): 6c629d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -13,10 +13,11 @@ from Gradio_UI import GradioUI
13
  def quadratic_roots(a:int, b:int, c:int)-> str:
14
  """A tool to calculate the roots of a quadratic equation, like a*(x^2)+b*(x)+c = 0
15
  Args:
16
- arg1: constant in front of x^2
17
- arg2: constant in front of x
18
- arg3: stand-alone constant
19
- solution:
 
20
  x = -b +- sqrt(b^2 - 4ac) / 2a
21
  """
22
  if a == 0:
 
13
  def quadratic_roots(a:int, b:int, c:int)-> str:
14
  """A tool to calculate the roots of a quadratic equation, like a*(x^2)+b*(x)+c = 0
15
  Args:
16
+ a: constant in front of x^2
17
+ b: constant in front of x
18
+ c: stand-alone constant
19
+
20
+ Solution:
21
  x = -b +- sqrt(b^2 - 4ac) / 2a
22
  """
23
  if a == 0: