# P-Assignment 7:Math module

Hi,

Please, do the following programs.

1. Write a python script to find the GCD of two numbers

2. Write a python script to find the sum of square root of two numbers.

3. write a python script to find the tan(x) + tan (y) of the given numbers.

4. Write a python script to find the hypotenuse using math module.

5. Write a python script to find the sum of the elements in a list of numbers.

6. Write a python script to find the minimum element in a list of numbers.

7. Write a python script to find the maximum element in a list of numbers.

8. Write a python script to read a random number between 1 to 100 and check this number is even number or not.

9. Write a python script to read a random number as a password between 60000 to 70000.

10. Write a python script to read a random even number as a password between 60000 to 70000.

11. Write a python script to read a random odd number as a password between 60000 to 70000.

12. The value of a variable v is 123.434564, observe the output for the following.

a. trunc(v)

b. power(v,2)

c. round(v,3)

d. round(v,1)

e. ceil (v)

f. floor(v)

g. modf(v)

h. log10(v)

i. log(v)

j. fabs(-v)

k. abs(-v)

l. int(v), float(v), complex(v), complex(v,2)