You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
villares edited this page May 24, 2020
·
4 revisions
Nome
tan()
Exemplos
float a =0.0;
float inc =TWO_PI/50.0;
for(inti=0; i<100; i=i+2) {
line(i, 50, i, 50+tan(a)*2.0);
a = a + inc;
}
Descrição
Calcula a razão entre o seno e o coseno de
um ângulo. Esta função espera que os valores do
parâmetro angulo correspondam a valores em radianos (valores entre 0 e PI/2). Valores são retornados no intervalo entre -infinito e +infinito. ¡
Calculates the ratio of the sine and cosine of an angle. This function expects the values of the angle parameter to be provided in radians (values from 0 to PI*2). Values are returned in the range infinity to -infinity.