Designing an Excel VBA function to recognize more important irrational numbers

Calculations typically performed on a calculator or computer show the result as a decimal fraction if it is not an integer. It would be easier to interpret the result if a value could be expressed with integers and operations, such as the root subtraction operation. This article shows how this can b...

Teljes leírás

Elmentve itt :
Bibliográfiai részletek
Szerző: Fabulya Zoltán
Dokumentumtípus: Cikk
Megjelent: University of Szeged, Faculty of Engineering Szeged 2022
Sorozat:Analecta technica Szegedinensia 16 No. 1
Kulcsszavak:Táblázatkezelés - számítógép - programozás, Program - táblázatkezelő - Excel, Programozási nyelv - Visual Basic
Tárgyszavak:
doi:10.14232/analecta.2022.1.62-70

Online Access:http://acta.bibl.u-szeged.hu/77872
Leíró adatok
Tartalmi kivonat:Calculations typically performed on a calculator or computer show the result as a decimal fraction if it is not an integer. It would be easier to interpret the result if a value could be expressed with integers and operations, such as the root subtraction operation. This article shows how this can be done with a developed algorithm in Microsoft Excel, which recognizes the most famous irrational numbers and displays them in text form together with the character of the operation sign. For example, “5√3/2” is given for 4.330127019. It is also useful to display irrational numbers with integers because only an infinite number of decimal places in a decimal fraction could show the exact value, and that is not possible. So, the developed algorithm can display a more interpretable and accurate form of the irrational number. In addition to the results that can be written as square roots, the algorithm is capable of displaying irrational numbers that can be expressed as the number Pi, using the π character. The Excel algorithm which was implemented in Visual Basic for Applications shows all rational numbers as the quotient of two integers that are relative primes.
Terjedelem/Fizikai jellemzők:62-70
ISSN:2064-7964