{"title":"运用数学知识解决 Python 和 C++ 语言中若干问题的方法","authors":"Mirzoeva Kabira Adil","doi":"10.37547/tajiir/volume05issue10-04","DOIUrl":null,"url":null,"abstract":"Python programming language and C++ language are studied comparatively. The method of using and teaching cyclic and conditional operators in Python and C++ languages is investigated. The rules of using both preconditioned and post-conditioned cycle operators in solving mathematical problems are explained in detail. The methodology of solving mathematical problems in Python and C++ programming languages is investigated, and the problems of finding the greatest common divisor and prime divisors of a given number n are solved in both Python and C++ languages, and the differences in the syntax of these programming languages are studied. The article teaches the rules for calculating expressions with the participation of logarithms. Emphasizes the importance of writing the math.h directive when using math functions.","PeriodicalId":22348,"journal":{"name":"The American Journal of Interdisciplinary Innovations and Research","volume":"38 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"METHODOLOGY FOR SOLVING A NUMBER OF PROBLEMS IN PYTHON AND C++ LANGUAGES WITH THE APPLICATION OF MATHEMATICAL KNOWLEDGE\",\"authors\":\"Mirzoeva Kabira Adil\",\"doi\":\"10.37547/tajiir/volume05issue10-04\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Python programming language and C++ language are studied comparatively. The method of using and teaching cyclic and conditional operators in Python and C++ languages is investigated. The rules of using both preconditioned and post-conditioned cycle operators in solving mathematical problems are explained in detail. The methodology of solving mathematical problems in Python and C++ programming languages is investigated, and the problems of finding the greatest common divisor and prime divisors of a given number n are solved in both Python and C++ languages, and the differences in the syntax of these programming languages are studied. The article teaches the rules for calculating expressions with the participation of logarithms. Emphasizes the importance of writing the math.h directive when using math functions.\",\"PeriodicalId\":22348,\"journal\":{\"name\":\"The American Journal of Interdisciplinary Innovations and Research\",\"volume\":\"38 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-10-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"The American Journal of Interdisciplinary Innovations and Research\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.37547/tajiir/volume05issue10-04\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"The American Journal of Interdisciplinary Innovations and Research","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.37547/tajiir/volume05issue10-04","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
对 Python 编程语言和 C++ 语言进行了比较研究。研究了 Python 和 C++ 语言中循环运算符和条件运算符的使用和教学方法。详细解释了在解决数学问题时使用前条件循环运算符和后条件循环运算符的规则。研究了用 Python 和 C++ 编程语言解决数学问题的方法,用 Python 和 C++ 语言解决了求给定数 n 的最大公约数和素除数的问题,并研究了这两种编程语言在语法上的差异。文章讲授了有对数参与的表达式的计算规则。强调使用数学函数时编写 math.h 指令的重要性。
METHODOLOGY FOR SOLVING A NUMBER OF PROBLEMS IN PYTHON AND C++ LANGUAGES WITH THE APPLICATION OF MATHEMATICAL KNOWLEDGE
Python programming language and C++ language are studied comparatively. The method of using and teaching cyclic and conditional operators in Python and C++ languages is investigated. The rules of using both preconditioned and post-conditioned cycle operators in solving mathematical problems are explained in detail. The methodology of solving mathematical problems in Python and C++ programming languages is investigated, and the problems of finding the greatest common divisor and prime divisors of a given number n are solved in both Python and C++ languages, and the differences in the syntax of these programming languages are studied. The article teaches the rules for calculating expressions with the participation of logarithms. Emphasizes the importance of writing the math.h directive when using math functions.