gl gl gl it gl ca ru gl en en gl en gl en gl en gl en en en gl gl ca gl gl hy es es gl en en en gl
Calcula o coseno dun ángulo. O ángulo especifícase en radiáns. O resultado está entre -1 e 1.
Using the angle Alpha, the Cos function calculates the ratio of the length of the side that is adjacent to the angle, divided by the length of the hypotenuse in a right-angled triangle.
Cos (Number As Double) As Double
Number: Numeric expression that specifies an angle in radians that you want to calculate the cosine for.
Pi is here the fixed circle constant with the rounded value 3.14159...
5 Chamada de procedemento incorrecta
REM O seguinte exemplo permite, para un triángulo rectángulo, a entrada de REM a secante e o ángulo (en graos) e calcula a lonxitude da hipotenusa: Sub ExampleCosinus REM Pi arredondado = 3.14159 Dim d1 As Double, dAngle As Double d1 = InputBox$ (""Introduza a lonxitude do lado adxacente: ","Adxacente") dAngle = InputBox("Introduza o ángulo Alfa (en graos): ","Alfa") Print "A lonxitude da hipotenusa é"; (d1 / cos (dAngle * Pi / 180)) End Sub
Precisamos da súa axuda!
Impressum (Legal Info) | Privacy Policy | Statutes (non-binding English translation) - Satzung (binding German version) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Mozilla Public License v2.0. “LibreOffice” and “The Document Foundation” are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy. LibreOffice was based on OpenOffice.org.
Help content debug info:
This page is: /text/sbasic/shared/03080102.xhp