Aditya Tiwari Profile picture
๐Ÿ‘จโ€๐Ÿ’ป Learning Machine Learning | Posts about python & ML ๐Ÿคฉ 65k+ followers on Insta: https://t.co/kZaBcbHeWY

Nov 16, 2021, 8 tweets

Python's Math module has many powerful commands that allows you to perform many mathematical tasks easily.

#Python #AI #MachineLearning
#100DaysOfCode #DataScience
Let's have a look at some of them ๐Ÿงต โ†“

1. math.sqrt is used to return the square root of a number.

Example ๐Ÿ‘‡

2. math.fabs() is used to return the absolute value of a number.

Example ๐Ÿ‘‡

3. math.pow() is used to return base raised to exp power.

Example ๐Ÿ‘‡

4. There are some trigonometric functions too , math.sin() , math.cos() and math.tan() return the values of their arguments.

Example ๐Ÿ‘‡

5. Math.degrees is used to convert an angle from radians to degrees.

Example ๐Ÿ‘‡

6. math.radians is used to convert an angle from degrees to radians.

Example ๐Ÿ‘‡

Thankyou for reading the thread.

I hope you got something to learn from this thread. Make sure to give it a retweet for your audience to enjoy as well.

Also , follow me if you are interested in #Python #webdevelopment #javascript โค

@TheGeekyB0y

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling