LibreOffice 7.1 Help
κ°λμ νμ νΈ κ°μ κ²°μ ν©λλ€. κ°λλ λΌλμ λ¨μλ‘ μ§μ ν©λλ€.
Tan ν¨μλ μ§κ° μΌκ°νμμ κ°λ Alphaμ μΈμ ν λ³μ κΈΈμ΄μ λν΄ κ°λ Alphaμ λ§μ£Όλ³΄λ λ³μ κΈΈμ΄ λΉμ¨μ κ³μ°ν©λλ€.
Tan(Alpha) = side opposite the angle/side adjacent to angle
Tan (Number)
Double
Number: λΌλμμΌλ‘ μ§μ ν νμ νΈλ₯Ό κ³μ°ν μμμ μ«μ μμ λλ€.
λλ₯Ό λΌλμμΌλ‘ λ³ννλ €λ©΄ λμ Pi/180μ κ³±ν©λλ€. λΌλμμ λλ‘ λ³ννλ €λ©΄ λΌλμμ 180/Piλ₯Ό κ³±ν©λλ€.
λ=(λΌλμ*180)/Pi
λΌλμ=(λ*Pi)/180
Piλ μ½ 3.141593μ λλ€.
REM In this example, the following entry is possible for a right-angled triangle:
REM The side opposite the angle and the angle (in degrees) to calculate the length of the side adjacent to the angle:
Sub ExampleTangens
REM Pi = 3.1415926 is a pre-defined variable
Dim d1 As Double
Dim dAlpha As Double
d1 = InputBox("Enter the length of the side opposite the angle: ","opposite")
dAlpha = InputBox("Enter the Alpha angle (in degrees): ","Alpha")
Print "the length of the side adjacent the angle is"; (d1 / tan (dAlpha * Pi / 180))
End Sub