A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.w3schools.com/python/ref_math_atan.asp below:

Website Navigation


Python math.atan() Method

Python math.atan() Method

❮ Math Methods

Example

Return the arc tangent of different numbers:

#Import math Library

import math

#fReturn the arc tangent of different numbers

print (math.atan(0.39))

print (math.atan(67))

print (math.atan(-21))

Try it Yourself » Definition and Usage

The math.atan() method returns the arc tangent of a number (x) as a numeric value between -PI/2 and PI/2 radians.

Arc tangent is also defined as an inverse tangent function of x, where x is the value of the arc tangent is to be calculated.

Syntax Parameter Values Parameter Description x Required. A positive or negative number. If x is not a number, it returns error a TypeError Technical Details Return Value: A float value, from -PI/2 to PI/2, representing the arc tangent of a number Python Version: 1.6.1

❮ Math Methods

Track your progress - it's free!


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4