Calculos I in code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Calculos I in code

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

3rd Jan 2018, 4:49 AM
Marco Tulio
Marco Tulio - avatar
4 Answers
+ 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".
3rd Jan 2018, 5:42 PM
Kirk Schafer
Kirk Schafer - avatar
+ 4
Do you mean (e.g.) documenting the chain rule, or do you want library functions that can do it (Python: scipy, mpmath, ...)?
3rd Jan 2018, 5:57 AM
Kirk Schafer
Kirk Schafer - avatar
0
yes, can I reproduce it? with The basic library and math.h
3rd Jan 2018, 4:15 PM
Marco Tulio
Marco Tulio - avatar
0
thanks a lot
3rd Jan 2018, 9:38 PM
Marco Tulio
Marco Tulio - avatar