AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Funciones estándar / Funciones de valores numéricos / Funciones matemáticas
  • 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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns the arc tangent of a numeric value (integer or real).
Example
// Retrieve the arc tangent of 12
ResTang = ArcTan(12)
// Returns 85.2363583093
Syntax
<Result> = ArcTan(<Numeric value>)
<Result>: Real
Arc tangent (angle in degrees of the tangent) of the specified numeric value, included in the [-90, 90] interval (excluding bounds).
<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))
displays the following elements in the trace window:
ArcTan(1) = 45
ArcTan(3/4) = 36.86989764584
Component: wd290mat.dll
Versión mínima requerida
  • Versión 9
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 03/07/2023

Señalar un error o enviar una sugerencia | Ayuda local