PowerTip: Find Tangent of 45-Degree Angle with PowerShell

Doctor Scripto

Summary: Find the tangent of a 45-degree angle with Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to obtain the tangent of a 45-degree angle?

Hey, Scripting Guy! Answer Use the Tan static method from the [math] class, for example:

[math]::tan(45)