Calculates energy density based on fat and protein content
calculate_energy_density(
fat_content,
protein_content,
total_weight,
fat_energy,
protein_energy
)Energy density (J/g wet weight)
Fat content (g)
Protein content (g)
Total weight (g)
Energy per gram of fat (J/g)
Energy per gram of protein (J/g)