PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • How do you find an angle using its tangent?
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the arc tangent of a numeric value (integer or real).
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Retrieve the arc tangent of 12
ResTang = ArcTan(12)
// Returns 85.2363583093
Syntax
<Result> = ArcTang(<Numeric value>)
<Result>: Real
Arc tangent (angle in degrees of the tangent) of the specified numerical value, within the interval [-90, 90] limits excluded.
<Numeric value>: Integer or real
Numeric value (tangent) to use.
Remarks

How do you find an angle using its tangent?

In a right triangle, the tangent of an angle is equal to the ratio of the opposite side to the adjacent side. How do I find the angle? Simply use ArcTan.
Example: The following code:
Trace("ArcTan(1) = " + ArcTan(1))
Trace("ArcTan(3/4) = " + ArcTan(3/4))
displayed in the trace window:
ArcTan(1) = 45
ArcTan(3/4) = 36.86989764584
Component: wd260mat.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment