A C/C++ application that parses mathematical expressions, generates abstract syntax trees, and calculates both the first and second derivatives of the given function. Built with a graphical user interface using the WinBGIm graphics library.
- Expression Parsing: Converts standard mathematical infix notation to postfix.
- Derivation: Computes the first and second derivatives of functions.
- Tree Visualization: Graphically renders the abstract syntax tree (AST) for the original function and its derivatives.
- Expression Simplification: Automatically simplifies the resulting derivative expressions (e.g., removing
* 1or+ 0). - Multi-language Support: The GUI supports English, Romanian, Spanish, and French.
To run or compile this project, you will need:
- Code::Blocks IDE (or a similar C++ compiler environment).
- WinBGIm Library (
<graphics.h>): This project relies on the BGI graphics library. You must have this configured in your compiler to build the project successfully.
- Clone this repository to your local machine.
- Open the
E3_Derivare_Grigorciuc Irina_Romaniuc Tudor.cbpfile in Code::Blocks. - Ensure your compiler is linked to the WinBGIm library.
- Click Build and Run.
- Ensure all
.txtlanguage files and.bmpflag images are located in the same directory as the generated executable.
- Grigorciuc Irina
- Romaniuc Tudor