|
@ -1,6 +1,6 @@ |
|
|
import math |
|
|
|
|
|
|
|
|
from src.main.py.logarithmic_and_expo_and_root_calculations import sqrt |
|
|
|
|
|
|
|
|
def multiplyRoots(first_number, second_number): |
|
|
def multiplyRoots(first_number, second_number): |
|
|
if first_number < 0 or second_number < 0: |
|
|
if first_number < 0 or second_number < 0: |
|
|
return -1 |
|
|
return -1 |
|
|
return math.sqrt(first_number * second_number) |
|
|
|
|
|
|
|
|
return sqrt(first_number * second_number) |