Omar Iván Trejos Buriticá, Luis Eduardo Muñoz Guerrero
{"title":"使用三种编程范式用巴比伦方法计算平方根近似","authors":"Omar Iván Trejos Buriticá, Luis Eduardo Muñoz Guerrero","doi":"10.21017/rimci.2022.v9.n18.a117","DOIUrl":null,"url":null,"abstract":"In this article an algorithmic solution to approximate the square root of a given number, based on the method used by the Babylonians, and using modern computational resources it arises. To implement this algorithmic solution, it has come to functional programming through the Scheme language environment DrRacket version 6.1, to imperative programming in C ++ environment DevC++ version 4.9.9.2 and object-oriented programming in Eclipse Java EE IDE Java environment for Web Developers Version: Moon Service Release 2 (4.4.2). The methodology is part of the quantitative scientific research and technological instrumental order. The algorithm presented and the methodology have been shared with students of Systems and Computer Engineering of the Technological University of Pereira. The results have been significantly favorable quantitatively since it has been able to establish a link between theory and practice as well as in technology as it has helped promote programming among students the idea that when the logic is clear, the paradigm programming language and automatically become clear. With this research experience it is possible to implement solutions to old traditional math problems without losing its northern and efficiency and effectiveness and to find differences and similarities between different programming paradigms.","PeriodicalId":267527,"journal":{"name":"Revista Ingeniería, Matemáticas y Ciencias de la Información","volume":"9 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-07-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"CÁLCULO DE APROXIMACIÓN A LA RAÍZ CUADRADA CON EL MÉTODO BABILÓNICO USANDO TRES PARADIGMAS DE PROGRAMACIÓN\",\"authors\":\"Omar Iván Trejos Buriticá, Luis Eduardo Muñoz Guerrero\",\"doi\":\"10.21017/rimci.2022.v9.n18.a117\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this article an algorithmic solution to approximate the square root of a given number, based on the method used by the Babylonians, and using modern computational resources it arises. To implement this algorithmic solution, it has come to functional programming through the Scheme language environment DrRacket version 6.1, to imperative programming in C ++ environment DevC++ version 4.9.9.2 and object-oriented programming in Eclipse Java EE IDE Java environment for Web Developers Version: Moon Service Release 2 (4.4.2). The methodology is part of the quantitative scientific research and technological instrumental order. The algorithm presented and the methodology have been shared with students of Systems and Computer Engineering of the Technological University of Pereira. The results have been significantly favorable quantitatively since it has been able to establish a link between theory and practice as well as in technology as it has helped promote programming among students the idea that when the logic is clear, the paradigm programming language and automatically become clear. With this research experience it is possible to implement solutions to old traditional math problems without losing its northern and efficiency and effectiveness and to find differences and similarities between different programming paradigms.\",\"PeriodicalId\":267527,\"journal\":{\"name\":\"Revista Ingeniería, Matemáticas y Ciencias de la Información\",\"volume\":\"9 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-07-31\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Revista Ingeniería, Matemáticas y Ciencias de la Información\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.21017/rimci.2022.v9.n18.a117\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Revista Ingeniería, Matemáticas y Ciencias de la Información","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21017/rimci.2022.v9.n18.a117","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
摘要
在本文中,基于巴比伦人使用的方法,并利用现代计算资源,提出了一种近似给定数字的平方根的算法解决方案。为了实现这一算法解决方案,已经通过Scheme语言环境DrRacket version 6.1实现了函数式编程,通过c++环境devc++ version 4.9.9.2实现了命令式编程,通过Eclipse Java EE IDE实现了面向对象编程。方法论是定量科学研究和技术工具秩序的一部分。所提出的算法和方法已与佩雷拉理工大学系统与计算机工程专业的学生分享。结果在数量上是非常有利的,因为它能够在理论和实践以及技术之间建立联系,因为它有助于在学生中促进编程的想法,即当逻辑清晰时,范式编程语言就会自动变得清晰。有了这些研究经验,就有可能在不失去其北方、效率和有效性的情况下实现传统数学问题的解决方案,并发现不同编程范式之间的差异和相似之处。
CÁLCULO DE APROXIMACIÓN A LA RAÍZ CUADRADA CON EL MÉTODO BABILÓNICO USANDO TRES PARADIGMAS DE PROGRAMACIÓN
In this article an algorithmic solution to approximate the square root of a given number, based on the method used by the Babylonians, and using modern computational resources it arises. To implement this algorithmic solution, it has come to functional programming through the Scheme language environment DrRacket version 6.1, to imperative programming in C ++ environment DevC++ version 4.9.9.2 and object-oriented programming in Eclipse Java EE IDE Java environment for Web Developers Version: Moon Service Release 2 (4.4.2). The methodology is part of the quantitative scientific research and technological instrumental order. The algorithm presented and the methodology have been shared with students of Systems and Computer Engineering of the Technological University of Pereira. The results have been significantly favorable quantitatively since it has been able to establish a link between theory and practice as well as in technology as it has helped promote programming among students the idea that when the logic is clear, the paradigm programming language and automatically become clear. With this research experience it is possible to implement solutions to old traditional math problems without losing its northern and efficiency and effectiveness and to find differences and similarities between different programming paradigms.