In the teaching and learning process of soil mechanics and the practical design calculations of geotechnical engineering,the conversion of soil three-phase ratio index is an essential fundamental skill.At the same time,the cal-culation of soil three-phase ratio index is tedious and error-prone,which can affect students' interest and hinder their mastery of the knowledge points.In order to improve the quality of both teaching and learning,a practical program for calculating soil three-phase index is developed with C++programming language.The program selects 8 commonly used soil three-phase ratio indexes,and by utilizing any three known indexes,it solves a system of nonlinear equations to obtain 3 basic indexes,and further calculates other conversion indexes.The program not only provides an auxiliary teaching tool for soil mechanics teaching,but also provides a simple calculation tool for students to apply soil mechan-ics knowledge to solve complex geotechnical engineering problems in the future.
关键词
土力学/三相比例指标/C++编程
Key words
soil mechanics/three-phase ratio index/C++programming