-
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了70个点,每个点代表比赛跑道可能的一个位置。乌龟和兔从第...
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了70个点,每个点代表比赛跑道可能的一个位置。乌龟和兔从第一个点出发,终点是在第70个点上。 时钟按秒来数计。随着时钟的转动,程序能够根据下述规则来调节乌龟和兔子的位置。动物 跑动类型 占用时间 跑动量乌龟 快走 50% 向右3个点 后滑 20% 向左6个点 慢走 30% 向右1个点兔子 睡觉 20% 不动 大后滑 20% 向右9 个点 快走 10% 向左12个点 小步跳 30% 向右1个点 慢后滑 20% 向左两个点 -procedures we will use to simulate the traditional hand problems. We will adopt the random number generator of the development of the simulation program. Another winner set up 70 points, each point represents the runway competition of a possible location. The turtle and a rabbit from the starting point and finish in the first 70 points. According to the clock to a few seconds of dollars. As the clock turned to procedures under the following rules to regulate turtle and the rabbit"s location. Running types of animals occupying volume running time 50% of turtles to leave three points right after sliding 20% six points left walking 30% a point right rabbits sleep 20% Fixed After a 20% slide right nine points to leave 10% left
- 2023-05-25 17:55:03下载
- 积分:1
-
关于多项式相加的小程序
关于多项式相加的小程序-polynomial together on the small program
- 2022-01-25 16:12:39下载
- 积分:1
-
用于分析2d介质柱阵列模型中电磁场分布 附TXT使用说明
用于分析2d介质柱阵列模型中电磁场分布 附TXT使用说明-Used to analyze the 2d array dielectric cylinder model of electromagnetic field distribution for use attached to TXT
- 2022-04-17 20:49:06下载
- 积分:1
-
设置窗体置顶源码
设置窗体置顶源码-Set Top source form
- 2022-07-08 04:43:30下载
- 积分:1
-
图书管理系统,vb制作,源代码
图书管理系统,vb制作,源代码-library management system, vb production, the source code
- 2022-05-29 20:29:32下载
- 积分:1
-
VB icom控件例程,比较详细,可以参考
VB icom控件例程,比较详细,可以参考-VB icom control routines, in more detail, you can refer to
- 2022-07-09 23:28:34下载
- 积分:1
-
显示地震剖面对地震专业的学生来说显示地震剖面特别重要本程序实现了地震剖面的绘制...
显示地震剖面对地震专业的学生来说显示地震剖面特别重要本程序实现了地震剖面的绘制-Seismic profiles show that the earthquake professional students who show the seismic profiles of particular importance to realize this process of mapping the seismic profiles
- 2023-03-20 23:15:04下载
- 积分:1
-
lcd1602显示遥控键值的计算器
应用背景基于LCD1602显示遥控键值的计算器,单片机C语言范畴,完整源程序及单片机开发板接线图。keil软件打开。关键技术
通过单片机开发板键盘输入,在LCD1602上显示的计算器(加法)。实验说明: 1.由于按键的个数有限只开通了加法运算 2.a键为“+”运算,b键为“=”
3.只开通了2位数的运算 *
4.按键规则先按下加数再按“+”再被加数再“=”
接线方法: Jp8连JP4
- 2022-11-29 01:00:03下载
- 积分:1
-
这个java和ajax开发的例子,可以直接运行
这个java和ajax开发的例子,可以直接运行-The development of java and ajax example, you can directly run
- 2022-01-26 01:51:48下载
- 积分:1
-
stl the 3.13 version of the source code for the use of learning stl
stl的源代码3.13版,供学习stl使用-stl the 3.13 version of the source code for the use of learning stl
- 2022-03-23 10:47:10下载
- 积分:1