-
-
Notifications
You must be signed in to change notification settings - Fork 4
atan_
villares edited this page May 24, 2020
·
4 revisions
float a = PI/3;
float t = tan(a);
float at = atan(t);
// Imprime "1.0471976 : 1.7320509 : 1.0471976"
println(a + " : " + t + " : " + at);
float a = PI + PI/3.0;
float t = tan(a);
float at = atan(t);
// Imprime "4.1887903 : 1.7320513 : 1.0471977"
println(a + " : " + t + " : " + at);
A oposta a tan(); retorna o arco tangente de um valor. This function expects the valors in the range of -Infinity to Infinity (exclusive) and valors are returned in the range -PI/2 to **PI/2 **.
atan(valor)
Parâmetros valor float: -Infinito a +Infinito (exclusivo)
float
Web & Applicações
A referência de Processing está sob a licença Creative Commons BY-NC conforme indicado aqui. Esta Wiki-tradução é baseada na tradução e adaptação para o Português do Brasil do professor Luiz Ernesto Merkle