diff options
-rwxr-xr-x | bmr | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,7 +1,7 @@ #!/bin/rc # # BMR following the Mifflin-St. Jeor equation -# P(kcal/day) = 10*weight(kg) + 6.25*height(cm) - (5*age(yr)) + s +# P(kcal/day) = 10*weight(kg) + 6.25*height(cm) - 5*age(yr) + s # where s is +5 for men and -161 for women # s=5 @@ -28,5 +28,5 @@ if(~ $flagw 1) bc <<EOF scale=4 -10*$w + 6.25*$h - (5*$a) + $s +10*$w + 6.25*$h - 5*$a + $s EOF |