中国焦虑症医院排名:一球从100米高自由落下,每次落地反跳原高度的一半,再落下,求在第10次落地时,共经过多少米?第10次反弹多高
来源:百度文库 编辑:高校问答 时间:2024/10/04 16:41:23
请用c 语言来编译这个程序,谢谢!急用!!
程序源代码:
#include "stdio.h"
#include "stdio.h"
main()
{
float sn=100.0,hn=sn/2;
int n;
for(n=2;n<=10;n++)
{
sn=sn+2*hn;/*第n次落地时共经过的米数*/
hn=hn/2; /*第n次反跳高度*/
}
printf("the total of road is %f\n",sn);
printf("the tenth is %f meter\n",hn);
getch();
}
最简单的东西了
呵呵
一球从100米高自由落下,每次落地反跳原高度的一半,再落下,求在第10次落地时,共经过多少米?第10次反弹多高
一球从100米高度自由落下,每次落地后反跳原高度的一半,再落下。求它在第十次落地时共经过多少米
题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在
球从100米高自由落下,每次落地后反跳回原高度的一半。它在第10次落地时经过多少米?C语言编程
急:一球从100米高落下,落地后反跳回原高度的一半,再落下. 求第10次落地时共经过多少米?第10次反弹有多高?
matlab编程:一球从100米落下,反跳回原高度的一半,再落下. 求第10次落地时共经过多少米?第10次反弹有多高?
a球从高为45米自由落下,同时b球从地面竖直上抛
如果4g从10m高的地方落下落地时速度是多少???
一弹性小球自4.9米高处自由落下,
从楼顶上自由落下一个小球,通过1米高的窗,用了0.1秒的时间,问楼顶比窗台高多少米?