Body Mass Index

BodyMassIndex 방식의  표준체중 (StandardWeightCalculator) 및 일일 칼로리 섭취량 계산기

BMI

BMI (MVC)

(1) 사용자에게 키(Height), 몸무게(Weight), 성별(Male/Female), 나이(Age), 활동량(Low/Medium/High)를 입력 받는다. 입력받는 키의 단위는 cm이고, 몸무게의 단위는 kg이다.
(2) 성별(Gender)에 따라서 표준체중값(Standard Weight)을 화면에 출력한다.
Male: StandardWeight = Height * Height * 22 * 0.0001
Female: StandardWeight = Height * Height * 21 * 0.0001
(3) BMI지수를 다음 공식으로 계산하고 결과를 화면에 출력한다.
BMI = Weight / (Height * Height * 0.0001)
(4) 다음 기준에 따라 BMI를 판단해서 화면에 출력한다.
BMI >= 29 => Obesity
24 <= BMI < 29 => Overweight
20 <= BMI < 24 => Normal
BMI < 20 => Underweight
(5) 다음 공식으로 일일 칼로리 섭취량 (Daily Calory Intake)을 화면에 출력한다.
Low: ActivityCalory = 1.3
Medium: ActivityCalory = 1.5
High: ActivityCalory = 1.75

Male: DailyCaloryIntake = (66.47 + (13.75 * Weight) + (5.0 * Height) – (6.76 * Age)) * AcitivityCalory
Female: DailyCaloryIntake = (655.1 + (9.05 * Weight) + (1.85 * Height) – (4.86 * Age) * AcitivityCalory

AridityIndex

AridityIndex

AridityIndex (VC)

AridityIndexCalculator (MVC)

(1) 사용자에게 연강수량(Precipitation)과 연평균기온(Temperature)를 입력 받는다. 연강수량의 단위는 mm이고, 연평균기온의 단위는 C(섭씨)이다.
(2) 건조지수를 다음 공식으로 계산하고 결과를 화면에 출력한다.
건조지수 AI = Precipitation/ (Temperature + 10)
(3) 다음 기준에 따라 기후의 상태를 판단해서 화면에 출력한다.
AI >= 60 => Perhumid
30 <= AI < 60 => Humid
20 <= AI < 30 => SubHumid
15 <= AI < 20 => SemiArid
5 <= AI < 15 => Arid
AI < 5 => ExtremelyArid