Code is powered by the pdf generator written by https://github.com/AndreRenaud/PDFGen. Program parses math expressions in standart notation from a file using recursive descent and builds a special binary tree. Tree is being differentiated and simplified recursively too. Than pdf gen is called and the answer is printed in output.pdf. Author: Molozhavenko Alexander MIPT 2021
git clone
make
After executing make the ELF named 'a' will be created. For getting usage information execute
./a -h
The output will be printed into terminal and into the file simultaneously. The parser can understand integers (like "-1" or "10000"), the differentiation parametr is "x", the expression "-x" is also considered correct. Program parses tan, log, sin and cos functions as well as multiplication " * ", division "/", power "^", plus "+", minus "-" and unary minus "-", which will be printed as "m".