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