水浒q传2手游官网:题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在
来源:百度文库 编辑:中科新闻网 时间:2024/10/04 06:25:56
public class freefall {
public static void main(String[] args) {
int n = 10;
double high = 100;
for (int i = 0; i < 10; i++) {
high /= 2;
}
System.out.println("下落" + n + "次的高度为" + high);
}
}
100/2/2/2/2/2/2/2/2/2//2/2/2//2/2/2/2/n个2=0
t100(1+1/2+1/4+1/8+1/n)=time
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);
}
题目都不全的
如果真这样,永远不会停
题目:一球从100米高度自由落下,每次落地后反跳回原高度的一半;再落下,求它在
一球从100米高度自由落下,每次落地后反跳原高度的一半,再落下。求它在第十次落地时共经过多少米
一球从100米高自由落下,每次落地反跳原高度的一半,再落下,求在第10次落地时,共经过多少米?第10次反弹多高
球从100米高自由落下,每次落地后反跳回原高度的一半。它在第10次落地时经过多少米?C语言编程
急:一球从100米高落下,落地后反跳回原高度的一半,再落下. 求第10次落地时共经过多少米?第10次反弹有多高?
matlab编程:一球从100米落下,反跳回原高度的一半,再落下. 求第10次落地时共经过多少米?第10次反弹有多高?
一弹性小球自4.9米高处自由落下,
a球从高为45米自由落下,同时b球从地面竖直上抛
一张纸,一个木球,同时从同样的高度落下来,是否同时着地?
一张纸,一个木球,同时从同样的高度落下来,是不是同时着地?