C#
C#

help

Root Question Message

mihail
mihail2/19/2023
❔ How to differentiate in C#?

How can I differentiate a function like: "f(x)=sqrt(ax^2+b+cx)+gx+p+...etc" and every time it loops I get f'(x),f"(x) ... etc.
Jayy
Jayy2/19/2023
Are you asking how to do calculus in c#?
thinker227
thinker2272/19/2023
It'd probably be easier to use some math library like AngouriMath than to do this manually.
thinker227
thinker2272/19/2023
Because assuming f(x) is a method there's not really a way to differentiate that
thinker227
thinker2272/19/2023
unless you wanna get like... a very close estimate
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy