1
Hello, good day.
I am here asking for a light for a problem that I have, my teacher of programming asked us to make a code that calculates the derivative of a function in java, but I am without a north to start the code, someone could give a light?
I have already researched and even seen some codes, but do not meet the requirements that the teacher asked. I thank from now on all.
Start by looking for numerical derivation methods.
– Gustavo Fragoso
I get it, thank you.
– abraao carvalho
Do not misunderstand what I am going to say, but if you do not know how to start it is because it is not yet the right time to embark on this challenge. You have to go back and study the most initial parts of programming and then make sure you know how to derive math.
– Isac
What I would do is read the given function, type x 2, and then implement the function bit by bit. Start by making the simplest derivatives yourself, then group them together, and progressively make it harder.
– mutlei
Usually when we think of derivation comes to mind the symbolic (which is what we do on paper) and Java does not have native packages for this. Maybe he can’t use Apis so symbolically deriving gets difficult. If you can use this see: https://github.com/yuemingl/SymJava
– Gustavo Fragoso