Skip to content

Varnike/differentiator

Repository files navigation

Differntiator

This program reads a mathematical expression, differentiates it and outputs the result in the format of tex document.

Usage

Write in the file "diff_in.txt" the mathematical expression of one variable 'x', which you want to differentiate. After that run differentiator:

./tree

The program will differentiate the expression and record it, try to simplify it and display the response in the format of a tex file. You can find it in /dump folder.

Example of usage

Example of differentiation of the expression:

((1+x)/(x^2))

After you run the program it will output: Differentiator output

Expression representation

The differentiator represents the expression as an binary tree. Here's an example of the expression view above: Expression tree

About

differentiator based on binary tree

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published