krikyn / derivative

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Derivative v2.0

Full Clion project. You must compile the file "main.cpp".

An example of the work program:

deriv.in    |     deriv.out


8*x^2           (0*x**2+8*((2*(x)**(2-1))*1))
ln(x)*sin(x)    (((1/(x)*1)*sin(x)+ln(x)*(cos(x)*1))
51              0
x               1
x^10            ((10*(x)**(10-1))*1)
ln(x)           ((1/(x)*1)
sin(x)          (cos(x)*1)
cos(x)          (-sin(x)*1)
tg(x)           (1/(cos(x)**2)*1)
ctg(x)          (-1/(sin(x)**2)*1)
arcsin(x)       (1/sqrt(1-(x)**2)*1)
arctg(x)        (1/(1+(x)**2)*1)
x+ln(x)         (1+((1/(x)*1))
8*x^2           (0*x**2+8*((2*(x)**(2-1))*1))
(cos(x))/sin(x) (((-sin(x)*1)*sin(x)-cos(x)*(cos(x)*1))/(sin(x))**2)
x^(tg(x))       ((x)**(tg(x)))*((x)/(tg(x))*1+ln(x)*(1/(cos(x)**2)*1))
ln(cos(x))      ((1/(cos(x))*(-sin(x)*1))

About


Languages

Language:C++ 81.9%Language:Python 16.5%Language:CMake 1.6%