Visualizzazione dei risultati da 1 a 3 su 3

Discussione: Funzioni seno e coseno

  1. #1
    Utente di HTML.it
    Registrato dal
    May 2005
    Messaggi
    166

    Funzioni seno e coseno

    Salve. volevo chiedere se con l'action script è possibile implementare le funzioni di seno e coseno e fare dei calcolatori usando quelle funzioni!

  2. #2
    dalla guida online (F1) di Flash:

    acos (Math.acos method)

    Computes and returns the arc cosine of the number specified in the parameter x, in radians.

    Availability: ActionScript 1.0; Flash Player 5

    Parameters
    x:Number - A number from -1.0 to 1.0.

    Returns
    Number - A number; the arc cosine of the parameter x.

    Example
    The following example displays the arc cosine for several values.

    trace(Math.acos(-1)); // output: 3.14159265358979
    trace(Math.acos(0)); // output: 1.5707963267949
    trace(Math.acos(1)); // output: 0

    ....
    per il seno..
    asin (Math.asin method)

  3. #3
    Utente di HTML.it L'avatar di gobbo89
    Registrato dal
    Jun 2006
    Messaggi
    816
    Math.sin(Number)
    Math.cos(Number)
    Math.tan(Number)


Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.