Information

This site will undergo a brief period of maintenance on Friday, 5 December at 12:30 AM Central/12:00 PM IST. During a 30 minute window, site availability may be intermittent.

Information
To view the latest 11.3.x version, see PATROL Agent 11.3.02.

atan()


Return the arctangent of the argument.

Syntax

atan(tangent)

 

Parameter

Parameter

Definition

tangent

tangent argument*Valid Values* 
- ∞ ≤ tangent ≤ ∞

Description

The atan() function returns the arctangent of tangent, that is, the length in radians of the arc whose tangent is tangent. The output range for the atan() function is -p/2 ≤ atan() ≤ p/2.

Example

The following example uses atan() to verify the trigonometric identity:

print("Arcsine(Arctangent) Identity Verification\n\n");
print(" tan() Expected Returned\n");
print("--------- --------- ---------\n")
tangent = -1.5;
while (tangent <= 1.5){
expect = tangent / sqrt(1 + pow(tangent,2))
printf("%+8.6f %+8.6f %+8.6f&#92;n",tangent,expect,sin(atan(tangent)))
tangent = tangent + 0.1;
}

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC PATROL Agent 11.3