-
我们将用程序来模拟传统的龟兔赛跑问题。我们将采用随机数生成的方法开发这一问题的仿真程序。 再比赛中共设了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
-
用罗盘模块3轴磁力计HMC5883L整合
Arduino的草图与罗盘模块三轴磁力计HMC5883L整合。它能做什么:测量地球磁场在三个轴,具有1-2度的精度为每个轴,其可单独或一起使用的三维计算个别读数附近的磁源的措施,原强度(高斯)在三个方向上的3轴罗盘模块测量磁场 - 或轴,标记为X,Y和Z在其最简单的形式中,模块可以作为一个基本的罗盘找到地球磁北极。罗盘模块还可以感测附近的磁源,例如那些引起磁铁或电场的相对强度。作为传感器检测在三维磁性,它可以决定向这些源的相对距离和方向。
- 2023-01-29 09:25:03下载
- 积分:1
-
IEEE 754 Floating point
IEEE 754 Floating point
- 2022-07-18 06:19:04下载
- 积分:1
-
This is my painstaking proceeds, it takes a lot of electronics and a large numbe...
这是我费尽苦心所得,它用了大量的电子学知识和大量文化,可以了吧-This is my painstaking proceeds, it takes a lot of electronics and a large number of cultural knowledge, it can
- 2022-03-20 02:59:57下载
- 积分:1
-
一些初级的基本磁盘操作系统的知识,但没用,计算机网络系统…
DOS的一些初级知识,别看没用了,计算机组网课装系统时可能会学一下,总之了解了解:)- Some of the primary BDOS knowledge, though useless, the computer system network loaded class may learn about, know know a word:)
- 2022-01-25 22:48:47下载
- 积分:1
-
EMD算法的程序,希望对大家有帮助
emd算法程序,希望对大家有所帮助-emd algorithm procedures, we hope to help
- 2022-02-01 14:32:15下载
- 积分:1
-
发个红外线遥控程序上来给大家
让大家一起来学习学习
发个红外线遥控程序上来给大家
让大家一起来学习学习
-Infrared remote control procedures issued up to the U.S. so that everyone will work together to learn
- 2022-07-27 16:48:53下载
- 积分:1
-
混沌现象演示的两个FLASH,在演示过程中可调整参数改变条件观察混沌现象,可以使初学者更好的理解混沌现象的产生!...
混沌现象演示的两个FLASH,在演示过程中可调整参数改变条件观察混沌现象,可以使初学者更好的理解混沌现象的产生!-chaos FLASH demonstration of the two, In the course of the demonstration adjustable parameters observed chaotic conditions change, Beginners can better understand the phenomenon have chaos!
- 2022-02-20 14:33:27下载
- 积分:1
-
网上找的 网上找的 网上找的 网上找的 网上找的
网上找的 网上找的 网上找的 网上找的 网上找的
- 2022-03-05 00:24:47下载
- 积分:1
-
本程序包含语音压缩和语音识别领域所需的LPCC,MFCC特征提取算法以及语音端点检测源码。...
本程序包含语音压缩和语音识别领域所需的LPCC,MFCC特征提取算法以及语音端点检测源码。
- 2022-08-13 07:30:23下载
- 积分:1