function fat_composition

Gain_factor = 12;
Height_in_inches = 72;
Weight_in_pounds = 210;

Height_in_cm = Height_in_inches * 2.54
Weight_in_kilograms = Weight_in_pounds * 0.453592

Magnitude = 15314
Impedance = Magnitude / Gain_factor

Fat_free_mass = 5.32 + 0.600 * ((Height_in_cm)^2 / Impedance) + 0.397* Weight_in_kilograms; 
Body_fat_composition = (Weight_in_kilograms - Fat_free_mass)/Weight_in_kilograms * 100 