摘要
推导物理量的单位是物理作业中不可缺少的重要环节。提出一种物理量单位的智能导出算法,即计算机根据物理量的运算式自动推导出待求物理量的单位。实验结果表明,物理量单位导出及换算算法的结果正确,对算术运算式中的物理量单位导出及换算的正确率为100%,且物理量数值的运算正确。
Derivation of units of physical quantities are important and indispensable part of the physics homework. An intelligent derivation algorithm for physical quantities units is proposed,that computer automatically derived units of unknown physical quantities from the arithmetic expression of known physical quantities. Convert division expressions to multiplication expressions by unit index symbol transform, uniform units of the same dimension through unit conversion, evaluate index algebraic sum for the same unit to get final derived units of unknown physical quantities. Performing unit conversion to the rest units toward the units with the largest number or SI units in the same dimension is automaritally finished by database call numbers and units show that the technology. Experimental results operation results of the algorithm on arithmetic expressions with are correct with correct rate of 100%.
出处
《大学物理实验》
2013年第3期63-65,共3页
Physical Experiment of College
基金
浙江工业大学之江学院教学建设项目(1281001210)
关键词
物理量
单位的智能导出
单位换算
国际标准单位
数据库调用技术
physical quantities
intelligent derivation for physical unit
unit conversion
SI units
database call technology