Atatürk Üniversitesi Atatürk Üniversitesi
Ara
Yayınlara dön
Makale Tam Makale Uluslararası 2018

A Step-by-Step Solution Methodology for Mathematical Expressions

Sahereh Hosseınpour, Mır Mohammad Reza Alavı Mılanı, HÜSEYİN PEHLİVAN

SYMMETRY-BASEL Cilt 10 · Sayı 7 · 01.07.2018
DOI ile aç

Özet

In this paper, we propose a methodology for the step-by-step solution of problems, which can be incorporated into a computer algebra system. Our main aim is to show all the intermediate evaluation steps of mathematical expressions from the start to the end of the solution. The first stage of the methodology covers the development of a formal grammar that describes the syntax and semantics of mathematical expressions. Using a compiler generation tool, the second stage produces a parser from the grammar description. The parser is used to convert a particular mathematical expression into an Abstract Syntax Tree (AST), which is evaluated in the third stage by traversing al its nodes. After every evaluation of some nodes, which corresponds to an intermediate solution step of the related expression, the resulting AST is transformed into the corresponding mathematical expression and then displayed. Many other algebra-related issues such as simplification, factorization, distribution and substitution can be covered by the solution methodology. We currently focuses on the solutions of various problems associated with the subject of derivative, equations, single variable polynomials, and operations on functions. However, it can easily be extended to cover the other subjects of general mathematics.

Anahtar kelimeler

mathematical expression computer algebra system step-by-step solution simplification automatic solving compiler-compiler tools grammars AST ASSIGNMENT

Atıf için künye

Hosseınpour, S., Alavı Mılanı, M. M. R., & PEHLİVAN, H. (2018). A Step-by-Step Solution Methodology for Mathematical Expressions. SYMMETRY-BASEL, 10(7). https://doi.org/10.3390/sym10070285

BibTeX
@article{hosseinpour2018-172434,
  author = {Hosseınpour, Sahereh and Alavı Mılanı, Mır Mohammad Reza and PEHLİVAN, HÜSEYİN},
  title = {A Step-by-Step Solution Methodology for Mathematical Expressions},
  journal = {SYMMETRY-BASEL},
  year = {2018},
  volume = {10},
  number = {7},
  issn = {2073-8994},
  doi = {10.3390/sym10070285},
  url = {https://akademik.atauni.edu.tr/yayinlar/172434-a-step-by-step-solution-methodology-for-mathematical-expressions}
}