Math cos [AS 2] 
Klasa: Math
Kompatybilność: ActionScript 1.0, Flash 5+
cos(x:Number) : Number
Oblicza oraz zwraca cosinus określonego kąta w radianach.
Listing
trace (Math.cos(0)); // zwróci: 1
trace (Math.cos(Math.PI/2)); // 90 stopni kąt, zwróci: 6.12303176911189e-17
trace (Math.cos(Math.PI)); // 180 stopni kąt, zwróci: -1
trace (Math.cos(Math.PI*2)); // 360 stopni kąt, zwróci: 1
        	trace (Math.cos(Math.PI/2)); // 90 stopni kąt, zwróci: 6.12303176911189e-17
trace (Math.cos(Math.PI)); // 180 stopni kąt, zwróci: -1
trace (Math.cos(Math.PI*2)); // 360 stopni kąt, zwróci: 1
Dodano przez: divix  
Ranga: Administrator serwisu Punktów: 0
Ranga: Administrator serwisu Punktów: 0
Komentarze użytkowników
:: Losowe artykuły 

:: Wymiana linków 
    
	Modowe inspiracje |
        Android Gry i Aplikacje |
        ZaplanujTransport.pl: Przeprowadzki, transport, aukcje |
        Logo dla firmy |
        Change Tires - Car Weather Forecast Reminder |
        Laminas: MVC Framework for PHP |
        IT Books Reviews and Programming: JS, JAVA, PHP, ANDROID, CSS | 
        Katalog roślin |
        Programming articles: JAVA, PHP, C++, Python, JavaScript |
        Kancelaria Adwokacka Łukasz Huszno
        
    

 
  
				

 
                             
 


 
                        
 
		 
	