简体   繁体   English

c#求解方程到未知参数

[英]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;现在我想通过这样的解决方案成为 x 值;

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

The Wolfram API needs an internet connection, so nothing for me. Wolfram API 需要互联网连接,所以对我来说没什么。

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 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. C# 是一种编程语言。 Root finding is a specific operation.寻根是一个特定的操作。 There is not a built-in method for finding roots in a given equation in C#.在 C# 中没有用于在给定方程中查找根的内置方法。 You should either implement yourself or use third party libraries.您应该自己实现或使用第三方库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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