0

# Calculos I in code

How to express the principal formula of derivate and the rules of integration in c++ or any other language

4 Respostas

+ 5

I'm...(feeling like I could give you more but I have less time spent in this area so...) sending you to this answer:
Derivative Calculator
https://stackoverflow.com/a/2905555
...which describes expression parsing and tree transformations, with examples made using parsed pieces. The other answers may also help too (S-Expressions, OCaml syntax, etc)
Note, Google returns open source code options immediately with "integral/derivative calculator source".

+ 4

Do you mean (e.g.) documenting the chain rule, or do you want library functions that can do it (Python: scipy, mpmath, ...)?

0

yes, can I reproduce it? with The basic library and math.h

0

thanks a lot