summaryrefslogtreecommitdiff
path: root/2870/CH4/EX4.15/Ex4_15.sce
blob: d9975d0e4cd040713cce7ed5f8e0ac55ffa3570a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc;clear;
//Example 4.15

//given data
E=75;//in Cal/day

//calculation
Ereduced=E*365;
//The metabolizable energy content of 1 kg of body fat is 33,100 kJ
Ec=33100;
mfat=Ereduced/Ec*4.1868;
disp(mfat,'weight this person will lose in one year in kg')