Skip to content

How to obtain the integral or derivative expression of a function expression #325

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1094387012 opened this issue Mar 1, 2025 · 5 comments
Labels

Comments

@1094387012
Copy link

for example
ArgumentPtr x = new_Argument("x");
string expStr = "der(sin(x),x)";
ExpressionPtr testExp = new_Expression(expStr);

How to obtain "cos(x) "expression
Are there any methods or APIs to obtain it

@mariuszgromada
Copy link
Owner

Hi,

Thanks for this question. Please refer to the following tutorial: https://mathparser.org/mxparser-tutorial/derivatives-integrals/

Important: mxparser is a numerical calculation library, so the result is numeric.

Best regards

@1094387012
Copy link
Author

Thank you for your answer. By the way, have you ever thought about developing a super numerical calculator for PC?

@mariuszgromada
Copy link
Owner

@1094387012 what di you mean by "super numerical"?

@1094387012
Copy link
Author

Redesign all the features of Scalar Pro on a computer

@mariuszgromada
Copy link
Owner

I have done it for java (Scalar Pro is based on that) and for .net, but still this is in the private repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants