[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Funções trigonométricas
From: |
Julio C. Neves |
Subject: |
Re: [shell-script] Funções trigonométricas |
Date: |
Sat, 6 Jul 2013 10:01:50 -0300 |
O bc tem essas funções trigonométricas, qdo chamado com a opção -l. Veja
esse trecho do man bc:
MATH LIBRARY
If bc is invoked with the -l option, a math library is preloaded and
the default scale is set to 20. The math functions will calculate their
results to the scale set at the time of their call. The math library
defines the following functions:
s (x) The sine of x, x is in radians.
c (x) The cosine of x, x is in radians.
a (x) The arctangent of x, arctangent returns radians.
Abcs,
Julio
*@juliobash
*
Em 5 de julho de 2013 15:36, Osvaldo Filho
<address@hidden>escreveu:
> **
>
>
> Olá a tod@s!
>
> Gostaria de saber se alguém já utilizou funções trigonométricas (seno,
> cosseno, etc) em shell script. Procurei na net e não achei. Alguma luz?
>
> --
> Att,
>
> Osvaldo Filho.
>
> Sócio-fundador do i-TIC Digital Livre
> <https://www.facebook.com/iticdigital>- Informação Livre para todos!
> Twitter i-TIC Digital Livre: @iticdigital
> TUX-CE Member.
> Técnico em Conectividade com Extensão em Desenvolvimento de Software - IFCE
> (Cefet).
> Graduando em Telemática - IFCE (Cefet).
> Graduando em Redes de Computadores - Estácio/FIC
> Novell Datacenter Technical Specialist.
> Linux Professional Institute Certified Level 1.
> Novell Certified Linux Administrator (CLA).
>
> Visite: http://osvaldofilho.wordpress.com
>
> http://modestando.wordpress.com
>
> Facebook: Osvaldo Filho
> Twitter: @osvaldofilho
>
> [As partes desta mensagem que não continham texto foram removidas]
>
>
>
[As partes desta mensagem que não continham texto foram removidas]