Please wait a minute...
大学物理实验, 2023, 36(4): 88-93     https://doi.org/10.14139/j.cnki.cn22-1228.2023.04.018
  本期目录 | 过刊浏览 | 高级检索 |
基于 Python 的物理引擎研究圆柱骰子的下落概率
刘鹏飞 1 ,刘鹏宇 2 ,姜永健 3* ,江瑞雪 2
1.辽宁石油化工大学 机械工程学院,辽宁 抚顺 113001;2.沈阳工业大学 理学院,辽宁 沈阳 110870;3.辽宁石油化工大学 理学院,辽宁 抚顺 113001
A Python-Based Physics Engine Studies the Probability of a Cylinder Dice Falling
LIU Pengfei 1 ,LIU Pengyu 2 ,JIANG Yongjian 3* ,JIANG Ruixue 2

下载:  PDF (2727KB) 
输出:  BibTeX | EndNote (RIS)      
摘要 

在抛出圆柱形骰子后,其落下时能有相同概率立在上表面、下表面、侧面的其中之一,探究影响概率的因素以及得到相关的最优参数。首先,列出影响因素与概率关系的方程,利用 Python 的pybullet 物理引擎对圆柱形骰子仿真模拟出从抛出到落地的运动行径,并将仿真实验得到的几何参数、物理参数与概率的实时数据记录到 Excel 中,利用 Origin 对得到的仿真数据进行拟合,描绘出不同的几何和物理参数与概率的图像,发现骰子的几何量 α 1、α2 ,物理质量 m,恢复系数 e 会共同影响圆柱骰子的落地状态及落地面概率。

服务
把本文推荐给朋友
加入引用管理器
E-mail Alert
RSS
作者相关文章
刘鹏飞
刘鹏宇
姜永健
江瑞雪
关键词:  圆柱形骰子  统计学概率  物理与几何特征  Python  Origin     
Abstract: 

After throwing the cylindrical dice,it can have the same probability to stand on one of the upper surface,lower surface and side when it falls,explore the factors affecting the probability and obtain the relevant optimal parameters.Firstly,the equation of the relationship between influencing factors and probability is listed.The pybullet physics engine of Python is used to simulate the motion behavior of the cylindrical dice from throwing to landing.The real-time data of geometric parameters,physical parameters and probability obtained from the simulation experiment are recorded in Excel.The simulation data are fitted by Origin,and the images of different geometric and physical parameters and probabilities are depicted.It is found that the geometric amount of the dice α 1,α2 ,the physical mass m,and the recovery coefficient e will affect the landing state and

landing probability of the cylindrical dice.

Key words:  cylindrical dice    statistical probability    physical and geometrical characteristics    Python    Origin
                    发布日期:  2023-08-25     
ZTFLH:  O 313.4  
  O 211.1  
  O 212.1  
引用本文:    
刘鹏飞, 刘鹏宇, 姜永健, 江瑞雪 . 基于 Python 的物理引擎研究圆柱骰子的下落概率 [J]. 大学物理实验, 2023, 36(4): 88-93.
LIU Pengfei , LIU Pengyu, JIANG Yongjian, JIANG Ruixue. A Python-Based Physics Engine Studies the Probability of a Cylinder Dice Falling . Physical Experiment of College, 2023, 36(4): 88-93.
链接本文:  
http://dawushiyan.jlict.edu.cn/CN/10.14139/j.cnki.cn22-1228.2023.04.018  或          http://dawushiyan.jlict.edu.cn/CN/Y2023/V36/I4/88
[1] 谢鑫鑫 , 赖盛英, 王慧琴 , 闫 然 , 樊伟征 . 利用梯形液膜干涉法实现液体浓度的自动检测 [J]. 大学物理实验, 2023, 36(4): 10-16.
[2] 王兴福 , 毛巍威, 葛智勇. Origin 作图法研究灵敏电流计的特性 [J]. 大学物理实验, 2023, 36(4): 94-96.
[3] 李慧静, 刘万嘉, 龙亿洋, 高冲云, 王忆寒, 李 超. Python 在液体粘滞系数测量与分析中的应用[J]. 大学物理实验, 2023, 36(2): 112-117.
[4] 牛相宏 , 潘乘风, 陈 伟, 李兴鳌. Python 语言在大学物理实验数据分析中的应用 [J]. 大学物理实验, 2022, 35(6): 101-105.
[5] 赵文来, 杨俊秀, 陈秋妹. Python 在 RLC 串联谐振实验数据处理中的应用 [J]. 大学物理实验, 2022, 35(6): 85-90.
[6] 刘宁亮, 李沁瑶 , 丁驰竹. 利用牛顿环测量液体折射率仿真实验设计与开发 [J]. 大学物理实验, 2022, 35(2): 85-88.
[7] 陈洪叶, 陈 军, 刘智新, 吕 刚, 丛晓燕, 韩岳, 刘海涛. 磁力棒中心轴线上磁感应强度分布特点探讨 [J]. 大学物理实验, 2022, 35(2): 14-19.
[8] 马堃. 基于拉伸法测量金属丝杨氏模量的实验研究 [J]. 大学物理实验, 2020, 33(1): 17-20.
[9] 胡素梅, 陈海波, 祁玲敏. Origin软件在光电效应实验中的应用研究 [J]. 大学物理实验, 2020, 33(1): 100-102.
[10] 李春江, 李陆余, 杨靖垒, 李廷荣, 向文丽. 一种简便快速测量折射率的新方法研究 [J]. 大学物理实验, 2020, 33(1): 25-28.
[1] . [J]. Physical Experiment of College, 2020, 33(1): 0 .
[2] . [J]. Physical Experiment of College, 2020, 33(1): 0 .
[3] WU Ming, ZENG Hong, ZHANG Wenpeng, ZHANG Yuanwei, DAI Zhenbing. Theoretical and Experimental Research of A zimuthal-Radial Pendulum [J]. Physical Experiment of College, 2020, 33(1): 1 -6 .
[4] LIU Weiwei, SUN Qing, LIU Chenglin. Research on Selection of Critical Magnetization Current for Measuring Charge-Mass Ratio of Electron by Magnetron Controlling [J]. Physical Experiment of College, 2020, 33(1): 7 -9 .
[5] DENG Li, LIU Yang, ZHANG Hangzhong, ZHOU Kewei, ZHAO guoru, WEI luanyi. MATLAB simulation of Fourier transform of Gaussian beam and the spatial filtering effects basing on 4F optical imaging system [J]. Physical Experiment of College, 2020, 33(1): 10 -16 .
[6] MA Kun. Experiment Study on the Measuring Young' s Modulus by Stretching [J]. Physical Experiment of College, 2020, 33(1): 17 -20 .
[7] FEI Xianxiang, CHEN Chunlei, WANG Wenhua, SHI Wenqing, HUANG Cunyou. Design of Lens Group Focal Length Measurement System Based on Object-Image Parallax Comparison [J]. Physical Experiment of College, 2020, 33(1): 21 -24 .
[8] LI Chunjiang, LI Luyu, YANG Jinglei, LI Tingrong, XIANG Wenli. A New Method for Simple and Rapid Measurement of Refractive Index [J]. Physical Experiment of College, 2020, 33(1): 25 -28 .
[9] WANG Cuiping, YAO Mengyu, YE Liu, LI Aixia, ZHANG Ziyun, DAI Peng. Progress and Applications of Electron Spin Resonance in Biology [J]. Physical Experiment of College, 2020, 33(1): 29 -33 .
[10] CHEN Yingmo, SHEN Siyi, WANG Jie. Study on the Characteristics of Silicon Photocells [J]. Physical Experiment of College, 2020, 33(1): 34 -36 .
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed