简体   繁体   中英

c# solve equations to unknown parameter

I have one physical-formular set in my application and want to calculate a parameter.

Theorie:

548.1 = 27 * π / x + 73 - 2622.0 (demonstration example)

now I want to become the x value with a solve like so;

Solve(expr,vars) -> https://reference.wolfram.com/language/ref/Solve.html

The Wolfram API needs an internet connection, so nothing for me.

Is there any simple functionality to adjust the formula to get out the parameter to one side like; https://quickmath.com/#c=solve_algstepsequationsolve&v239=25%253D%25281%2F5%2529%255E%25282-x%2529&v240=x

and calculated it afterwards?

C# is a programming language. Root finding is a specific operation. There is not a built-in method for finding roots in a given equation in C#. You should either implement yourself or use third party libraries.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM