Índice de Massa Corporal (IMC)
Descrição
Avalie o peso de uma pessoa por meio do IMC utilizando as categorias da Tabela 1.
Tabela 1 - Relação das categorias do IMC por sexo.
| Category | IMC |
|---|---|
| Underweight | < 18,5 |
| Normal weight | 18,5–24,9 |
| Overweight | 25–29,9 |
| Obesity | >= 30 |
Para calcular o IMC é necessário realizar a seguinte razão entre peso e altura:
BMI = weight/height²
Então, ao definir o peso e a altura como sendo respectivamente 200 e 1,5 o IMC será de 88,8888888889, logo, o status será Obesity. Para analisar mais exemplos veja a Tabela 2.
Tabela 2 - Conjunto de entradas e saídas para o cálculo do IMC.
| Entrada | Saída |
|---|---|
weight: 200height: 1,5 | Obesity |
weight: 150height: 2 | Obesity |
weight: 100height: 2 | Overweight |
weight: 70height: 2 | Underweight |