版权声明:本文为博主原创文章,转载请注明来源。 https://blog.csdn.net/yfx000/article/details/88988298
基于父母身高,预测孩子身高,注意男孩和女孩是不同的
如下是js代码,直接在浏览器控制台执行就行
var fatherHeight = 170
var motherHeight = 162
var boyHeight = parseInt((59.699+0.419*parseFloat(fatherHeight)+parseFloat(motherHeight)*0.265));
var girlHeight = parseInt((43.089+0.306*parseFloat(fatherHeight)+parseFloat(motherHeight)*0.431));
alert("boyHeight="+boyHeight+" girlHeight="+girlHeight);
身高7分是遗传,3分靠后天
后天方法参见《中科院长高方案》:
https://max.book118.com/html/2018/0503/164547940.shtm
切勿盲目补钙,可能造成骨头提前闭合