Math functions in ‘math’ module -II

Basic mathematical functions in math module are explained in part1 post. https://www.blogger.com/blog/post/edit/5251857942821229/5740320177801086000 . Remaining mathematical functions are explained in this blog post. Trigonometry functions in ‘math’ module: Trigonometry is a field of mathematics which deals with angles. To measure angles, radian and degree are used. In ‘math’ module, there are two functions to convert radian to degree and degree to radian. #import the math module import math #get the input of degree value and store as integer in ‘de’ de = int(input("Enter the degree value")) #print the converted radian value print(math.radians(de)) #get the input value as float and store it as float in ‘ra’ ra = float(input("Enter the radian value")) #print the degree value print(math.degrees(ra)) Output: Some of the other functions ar...