LibreOffice 7.1 Help
κ°λμ μ½μ¬μΈμ κ³μ°ν©λλ€. κ°λλ λΌλμμΌλ‘ μ§μ λ©λλ€. κ²°κ³Όλ -1μμ 1 μ¬μ΄μ λλ€.
Cos ν¨μλ κ°λ Alphaμ μΈμ ν λ°λ³μ κΈΈμ΄λ₯Ό μ§κ° μΌκ°νμ λΉλ³ κΈΈμ΄λ‘ λλ λΉμ¨μ κ³μ°ν©λλ€.
Cos(Alpha) = Adjacent/Hypotenuse
Cos (Number)
Double
Number: μ½μ¬μΈμ κ³μ°ν κ°λλ₯Ό λΌλμμΌλ‘ μ§μ νλ μ«μ μμ λλ€.
λλ₯Ό λΌλμμΌλ‘ λ³ννλ €λ©΄ λμ pi/180μ κ³±ν©λλ€. λΌλμμ λλ‘ λ³ννλ €λ©΄ λΌλμμ 180/piλ₯Ό κ³±ν©λλ€.
degree=(radian*180)/pi
radian=(degree*pi)/180
μ¬κΈ°μμ Piλ 3.14159... λ₯Ό λ°μ¬λ¦Όν κ°μ κ°λ κ³ μ μμ£Όμ¨μ λλ€.
REM The following example allows for a right-angled triangle the input of
REM μμ»¨νΈ λ° κ°λ(λ λ¨μ)λ λΉλ³μ κΈΈμ΄λ₯Ό κ³μ°ν©λλ€.
Sub ExampleCosinus
REM rounded Pi = 3.14159
Dim d1 As Double, dAngle As Double
d1 = InputBox$ (""Enter the length of the adjacent side: ","Adjacent")
dAngle = InputBox("Enter the angle Alpha (in degrees): ","Alpha")
Print "The length of the hypothenuse is"; (d1 / cos (dAngle * Pi / 180))
End Sub