|
From: | Julio C. Neves |
Subject: | Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro |
Date: | Sat, 20 Aug 2016 23:58:21 -0300 |
Senhores, lanço um desafio bem simples:
Um arquivo[1] que possui valores em volts por metro e milivolts por
metro (V/m e mV/m)
O objetivo é apresentar um script que calcule o total de milivolts
coletados nesse arquivo.
Exemplo do conteúdo do arquivo:
512mV/m
1.10V/m
1.81V/m
1.97V/m
1.51V/m
1.60V/m
1.53V/m
601mV/m
1.35V/m
601mV/m
1.30V/m
1.43V/m
998mV/m
Arquivo completo: [1]: http://susepaste.org/5861625
---
Lembrando:
* 1 volt por metro = 1V/m
* 1 milivolt por metro = 1mV/m, ou 1Vm / 1000
Dica: man bc
Boa sorte a todos!
Raul Libório
http://rauhmaru.blogspot.com/
openSUSE Member | Linux User #4444581
/etc/httpd/conf.d/ssl.conf:7
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
[Prev in Thread] Current Thread [Next in Thread]
- Desafio shellscript - Cálculo de milivolts por metro, Raul Libório, 2016/08/20
- Re: Desafio shellscript - Cálculo de milivolts por metro, Raul Libório, 2016/08/20
- Re: Desafio shellscript - Cálculo de milivolts por metro, itamarnet, 2016/08/20
- Re: [shell-script] Re: Desafio shellscript - Cálculo de milivolts por metro, Raul Libório, 2016/08/20
- Re: Desafio shellscript - Cálculo de milivolts por metr o, itamarnet, 2016/08/20
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Julio C. Neves <=
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Alexandre Mulatinho, 2016/08/21
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Ernander (Nander), 2016/08/22
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Alexandre Mulatinho, 2016/08/22
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Ernander (Nander), 2016/08/22
- Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro, Raul Libório, 2016/08/22
- Prev by Date: Re: Desafio shellscript - Cálculo de milivolts por metr o
- Next by Date: Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro
- Previous by thread: Re: Desafio shellscript - Cálculo de milivolts por metr o
- Next by thread: Re: [shell-script] Desafio shellscript - Cálculo de milivolts por metro
- Index(es):